• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Task dispatching
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Task dispatching
      • From: Scott Ribe <email@hidden>
References: 
 >Re: Task dispatching (From: Greg Guerin <email@hidden>)

  • Prev by Date: Re: Task dispatching
  • Next by Date: Re: Task dispatching
  • Previous by thread: Re: Task dispatching
  • Next by thread: Re: Task dispatching
  • Index(es):
    • Date
    • Thread