Re: Task dispatching
Re: Task dispatching
- Subject: Re: Task dispatching
- From: Scott Ribe <email@hidden>
- Date: Tue, 13 Sep 2011 12:21:10 -0600
On Sep 13, 2011, at 11:46 AM, Jon Sigman wrote:
> The shared memory approach might work (I assume you mean with shm_open(), mmap(), shmget(), shmat(), etc.?) But isn't there a problem with the shm mechanism on multiprocessor hardware, or was that from years past? Also, won't I need to increase shmmax in the kernel, especially if I have numerous "flavors" of the 1GB matrix to load?
- I think the shm problems are ancient history. You'd have to increase shmmax in order to use it, which is a pain.
- Personally, I'd try mmap; avoid the problems with the ancient shm stuff.
Still wondering though, how you burn up a couple of minutes loading 1GB?
--
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