[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: RFC: svn_io_file_flush_to_disk

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2004-05-01 21:56:38 CEST

On Sat, 2004-05-01 at 15:40, Branko ╚ibej wrote:
> >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.

It doesn't make any sense to me. If I block on every write, I'm wasting
time I could be spending figuring out what to write next.

---------------------------------------------------------------------
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:56:59 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.