• 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: System resources and number of operations on an NSOperationQueue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: System resources and number of operations on an NSOperationQueue


  • Subject: Re: System resources and number of operations on an NSOperationQueue
  • From: James Bucanek <email@hidden>
  • Date: Sun, 14 Nov 2010 13:42:34 -0700

Antonio Nunes <mailto:email@hidden> wrote (Sunday, November 14, 2010 11:18 AM -0000):

The sweet spot may of course differ on different machines and systems, so that
is where setMaxConcurrentOperationCount comes in handy.

Not only will it vary from machine to machine, but it's going to very from minute to minute depending on what other I/O activity the user is doing, how much unused RAM is available (for disk caching), and other factors.


If you need the absolute maximum performance, then it's going to have to be tweaked individual for every system. Otherwise, just profile the performance on a variety of systems and pick a concurrency count that looks like the best compromise.

--
James Bucanek

_______________________________________________

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


References: 
 >Re: System resources and number of operations on an NSOperationQueue (From: Antonio Nunes <email@hidden>)

  • Prev by Date: Re: System resources and number of operations on an NSOperationQueue
  • Next by Date: unit test exit's abnormally with code 5
  • Previous by thread: Re: System resources and number of operations on an NSOperationQueue
  • Next by thread: Re: System resources and number of operations on an NSOperationQueue
  • Index(es):
    • Date
    • Thread