[prev in list] [next in list] [prev in thread] [next in thread] 

List:       subversion-dev
Subject:    Re: Data Point: File handling on Windows
From:       Ivan Zhakov <ivan () visualsvn ! com>
Date:       2011-04-27 8:11:16
Message-ID: BANLkTi=jeC0yxN6Ti9xcq7EiXRdFkR-bfw () mail ! gmail ! com
[Download RAW message or body]

On Wed, Apr 27, 2011 at 02:30, Stefan Fuhrmann
<stefanfuhrmann@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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic