• 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: Asynchronous I/O using NSFileHandle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Asynchronous I/O using NSFileHandle


  • Subject: Re: Asynchronous I/O using NSFileHandle
  • From: Shawn Erickson <email@hidden>
  • Date: Sat, 27 Jul 2002 07:38:53 -0700

On Saturday, July 27, 2002, at 04:53 AM, Robert Goldsmith wrote:

After all, although you want to get on with other things
you would have no need of trying two i/o's on the same device at
the same time.

FYI... Many modern storage devices (all recent SCSI devices) can handle several IO requests (read or writes) at the same time. Usually in the range of 8-32 being the max (with the limit higher for high-end RAIDs, 64-256+).

If you are an IO bound application it is best to try allowing for multiple IOs in flight at the same time (a reasonable number of IOs for what you are doing).

Granted this doesn't work for all devices but the kernel drivers should queue as needed.

-Shawn
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Asynchronous I/O using NSFileHandle
      • From: Robert Goldsmith <email@hidden>
References: 
 >Re: Asynchronous I/O using NSFileHandle (From: Robert Goldsmith <email@hidden>)

  • Prev by Date: NSBrowser won't obey on firstResponder and arrowKeys
  • Next by Date: Hiding class and method symbols in the compiled program?
  • Previous by thread: Re: Asynchronous I/O using NSFileHandle
  • Next by thread: Re: Asynchronous I/O using NSFileHandle
  • Index(es):
    • Date
    • Thread