Re: maximum theoretical speedup with dual quad processors
Re: maximum theoretical speedup with dual quad processors
- Subject: Re: maximum theoretical speedup with dual quad processors
- From: Michael Ash <email@hidden>
- Date: Sun, 1 Feb 2009 23:37:22 -0500
On Sun, Feb 1, 2009 at 8:04 PM, Peter N Lewis <email@hidden> wrote:
> At 16:27 -0500 1/2/09, Michael Ash wrote:
>>
>> It crashes reliably on my Mac Pro. Note that it uses only one queue.
>> Note that it only enqueues operations from the main thread. Note that
>> it uses a very simple custom NSOperation subclass, and doesn't use
>> NSInvocationOperation at all. Note that it does nothing really
>> interesting or unusual in any way.
>>
>> And yet it still crashes reliably on my computer, often before it can
>> even reach the 50,000 operation mark and print the first log line.
>
> This test crashed for me as well, after 3150000.
>
> Seems pretty clear cut.
Thanks to both you and Rob for repeating the experiment. Interesting
that it's so variable. On my computer it would occasionally require
several million to crash, but most of the time it explodes within the
first few hundred thousand. No doubt due to the different hardware
involved, and maybe even what else is running/active on the system.
Threading bugs do tend to be that way.
Mike
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden