• 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: Optimal read buffer size?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Optimal read buffer size?


  • Subject: Re: Optimal read buffer size?
  • From: Scott Ribe <email@hidden>
  • Date: Fri, 20 May 2005 09:30:37 -0600

> For streaming large chunks of data, non-caching I/O gives better
> performance than memory memory mapped I/O.  They both spend the same
> amount of time copying data (the kernel's copy from the mbuf to your
> data buffer), but non-caching I/O has less CPU overhead on the write
> and puts less memory pressure on the system.

Would I be right to assume that this advice does not apply when you're going
to read the file immediately after writing it? (When dealing with API's that
require a file handle.)


--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 665-7007 voice


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Optimal read buffer size?
      • From: Quinn <email@hidden>
References: 
 >Re: Optimal read buffer size? (From: Quinn <email@hidden>)

  • Prev by Date: Re: CFFTPCreateParsedResourceListing bug
  • Next by Date: Re: Optimal read buffer size?
  • Previous by thread: Re: Optimal read buffer size?
  • Next by thread: Re: Optimal read buffer size?
  • Index(es):
    • Date
    • Thread