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