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

Re: apr_file_copy performance on Win32

From: Will Dean <svn_at_indcomp.co.uk>
Date: 2004-11-02 23:33:36 CET

"Peter N. Lundblad" <peter@famlundblad.se> wrote in message
> According to the spec:
> blksize_t st_blksize A file-system specific preferred I/O block size for
> this object. ...

I would think that it's quite hard for the OS to express a useful general
'preference' here. It might be assuming that you were going to be doing
lots of fgetc-type access, and think that something like 4096 bytes would be

Of course, overwhelmingly the simplest way to get an OS's input on the
subject of file copying is just to call its file copying API and let it deal
with the details. (Though I think that on Win32 there are specific
situations where there are techniques which are faster than CopyFile.)


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Nov 2 23:34:00 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.