Re: Concurrent tasks are getting hung up
Re: Concurrent tasks are getting hung up
- Subject: Re: Concurrent tasks are getting hung up
- From: Kevin Meaney <email@hidden>
- Date: Fri, 10 Oct 2014 18:53:44 +0100
On 10 Oct 2014, at 17:40, Scott Ribe <email@hidden> wrote:
> On Oct 10, 2014, at 10:20 AM, Kevin Meaney <email@hidden> wrote:
>
>> Now I've been optimizing to maximize throughput for processing image files...
>
> Things depend VERY much on what exactly you're doing. I've optimized for throughput of processing image files, and found that number of worker threads equal to logical CPUs maximized throughput. (Except for 2 logical cores, where 3 threads were fastest, go figure...)
Just redid my speed tests, which made me realize I'd remembered wrong. The shape drawing tests got max results with 4 worker threads but that for processing image files I get an extra 40% throughput with 8. (Scaling 4 megapixel image files at high quality by 0.4 and exporting to jpeg, I get a throughput of 82 images a second compared to 55 with 4)
Faulty memory is faulty.
Kevin
_______________________________________________
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