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