Re: Optimal read buffer size?
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