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

Re: FSFS Issue...

From: John Szakmeister <john_at_szakmeister.net>
Date: 2005-12-04 02:19:15 CET

On Saturday 03 December 2005 11:15, Greg Hudson wrote:
> On Sat, 2005-12-03 at 03:58 -0500, John Szakmeister wrote:
> > I'm wondering if we even need buffering when writing the rev file? It
> > appeared that everything was being processed sequentially, so there's no
> > real benefit to the buffering.
>
> The question is not whether we skip around, but whether we write in
> small chunks. The point of buffering is to convert many small writes as
> seen by the application code into a few large writes as seen by the OS,
> because (at least on Unix) system calls are expensive enough to drag
> down your performance.

Ah. I saw "buffered" and immediately thought of buffering to support better
random access (which I realize is generally done by the OS). But APR is
implementing something similar to fread/fwrite in stdio. Thanks for the
explanation Greg.

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Dec 4 02:22:07 2005

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.