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

Re: Why such performance gap between checkout and export?

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2007-08-10 18:24:39 CEST

>
> >
> >>> Is there really anything that would justify a factor of 3?
> >>
> >> An on-access virus scanner, for example.
> >
> > Well duplicating these files on this server using xcopy takes 2s, so to me it
> > does not explain the difference from 28s to 91s.
> > I am still surprised.
> >
>
> Apart from the duplicate data for each file, svn writes quite a lot of files
> that contain structural information, such as checksums, revision numbers for
> each file, status information etc. These are all small individual files, if
> you do some more extensive test you'll note that the number of files is a
> large factor in checkout speed, instead of the total size.

Also, a lot of disk io is spent on keeping the working copy in a
recoverable state. Subversion writes log files containing the commands
that need to be executed. Then, it flushes them to disk and reads them
back in. After executing them, they are deleted again...

bye,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 10 18:23:05 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.