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

Re: Sharded FSFS repositories

From: Ph. Marek <philipp.marek_at_bmlv.gv.at>
Date: 2007-03-22 08:51:21 CET

Hello Kevon,

On Wednesday 21 March 2007 18:42, Kevin Greiner wrote:
> I wrote a VBScript script this morning that basically, I think, duplicates
> what you did except on NTFS on Windows XP Pro on a laptop with a 7200rpm
> IDE hard disk. It creates 2^20 files and measure the performance of opening
> the file for reading every 1,000 files. (Rename attachment to have .vbs
> extension to run on Windows.)
> Most of the time, the duration was so small it didn't register with the
> VBScript Timer function. I did get several opens that output 0.0078125 sec
> or similar very small value.
I don't really know VBscript, but there are some things I notice:
- You open the file that you just created *and still have opened*.
  Maybe the lookups should be done in a second loop and/or another script.
- IIRC Win32 still uses timers (with HZ=150?), so you'll get time readings
  only with 7ms granularity.
  So it might be better to do 1000 lookups and measure their cumulative time,
  with different numbers of entries in the directories.

> Does that change the conclusion at all?
Could you please create the files, and try to access some (in *random* order)
in another script?



To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 22 08:51:45 2007

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.