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

Re: Data Point: File handling on Windows

From: Ivan Zhakov <ivan_at_visualsvn.com>
Date: Wed, 27 Apr 2011 12:11:16 +0400

On Wed, Apr 27, 2011 at 02:30, Stefan Fuhrmann
<stefanfuhrmann_at_alice-dsl.de> wrote:
> Hi there,
>
> Last week on IRC I had a short discussion with Bert about
> the file handling overhead on Windows. That prompted me
> to run some tests on my notebook and this is what I found.
>
> Opening or creating files and folders is not too expensive
> even on NTFS. Creating and deleting folders is about as
> expensive as creating or deleting empty files. Gains from
> using multiple worker threads are measurable but scalability
> is limited - at least as long as we operate on the same volume.
> And even on Windows, c/o speeds >2000 files / sec are
> technically feasible.
>

Btw, performance of creating files can be improved more using
FILE_ATTRIBUTE_TEMPORARY [1] flag in CreateFile function call.
Unfortunately APR doesn't provide such option.

[1] http://msdn.microsoft.com/en-us/library/aa363858%28v=vs.85%29.aspx

-- 
Ivan Zhakov
Received on 2011-04-27 10:12:14 CEST

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