• 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: Quinn <email@hidden>
  • Date: Fri, 20 May 2005 16:46:55 +0100

At 9:30 -0600 20/5/05, Scott Ribe wrote:
Would I be right to assume that this advice does not apply when you're going
to read the file immediately after writing it?

In general, yes. However, it really depends on the size of the file. If the file is way bigger than physical memory, the disk cache will probably do completely the wrong thing (LRU), so non-cached writes are better. If the file is way smaller than physical memory, caching it is a fine idea.


S+E
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Technical Support * Networking, Communications, Hardware
_______________________________________________
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


References: 
 >Re: Optimal read buffer size? (From: Scott Ribe <email@hidden>)

  • Prev by Date: Re: Optimal read buffer size?
  • Next by Date: Re: "Hosts" file in Tiger??? [Solved]
  • Previous by thread: Re: Optimal read buffer size?
  • Next by thread: Re: Optimal read buffer size?
  • Index(es):
    • Date
    • Thread