Re: Concurrent tasks are getting hung up
Re: Concurrent tasks are getting hung up
- Subject: Re: Concurrent tasks are getting hung up
- From: Scott Ribe <email@hidden>
- Date: Fri, 10 Oct 2014 10:40:10 -0600
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...)
So my processing is probably more CPU-bound, where yours is more cache-bound. But anyway, point is, OP needs to experiment--most likely range is between (number of physical CPUs)/2 and (number of logical CPUs)x2.
--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice
_______________________________________________
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