Greg Hudson wrote:
>On Sat, 2004-05-01 at 09:56, Branko Èibej wrote:
>
>
>>Of course, on Windows it would be much better if APR knew how to open
>>the file with FILE_FLAG_WRITETHROUGH...perhaps another flag to
>>apr_file_open that would cause apr_file_close to call fsync on Unix, but
>>open the file in writethrough mode on Windows?
>>
>>
>
>Is that really best? That sounds like the analog of calling fsync()
>after every buffer flush on Unix; given that we're writing a potentially
>large file, that seems much less efficient than syncing once at the end.
>
The docs insist that if you're writing large amounts of data
sequentially, it's faster to disable caching entirely...which makes sense.
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat May 1 21:42:25 2004