Re: Task dispatching
Re: Task dispatching
- Subject: Re: Task dispatching
- From: Jon Sigman <email@hidden>
- Date: Tue, 13 Sep 2011 13:10:03 -0700 (PDT)
I quickly wrote up a little program to test out mmap()'ing one of the 1GB files. It works, no kernel changes needed, and it only takes 0.871 secs! (51.209 secs if Time Machine is running ;) So, I'm stunned that this would be so much faster than using individual fread() calls for each element. (The 0.871 timing doesn't include the individual matrix element assignments into the memory map and other initialization processing, but that should only take a second or two.) If this really is doing what I think its doing, I will definitely go this way and just fire off a new process for each request.
Thanks to all who replied, lots of great ideas!
_______________________________________________
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