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

Re: svnadmin load using fsfs is agonizingly slow

From: Troy Curtis Jr <troycurtisjr_at_gmail.com>
Date: 2006-10-05 05:50:32 CEST

On 10/4/06, Ryan Schmidt <subversion-2006d@ryandesign.com> wrote:
>
> On Oct 4, 2006, at 17:24, Keith Bottner wrote:
>
> >> Perhaps related to http://svn.haxx.se/dev/archive-2003-04/0820.shtml
> >
> > This is VERY interesting. Does anybody know how I can check for
> > this while running the load?
>
> You could try reading from /dev/random and see if it takes a long
> time. For example, to read 2 512-byte blocks:
>
> time dd if=/dev/random count=2 > /dev/null 2>&1
>
> On my Mac:
>
> real 0m0.023s
> user 0m0.002s
> sys 0m0.010s
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

With the 'svnadmin load' command you need to already have the
repository and since the UUID is only generated when you create the
repository, it cannot delay the load. His issue must be something
else (as I do not think there is a need for /dev/random for diffs,
etc).

You say it is dumping, are you getting continually updates on the
status (does it appear to be doing something?). If you have a lot of
revisions it is just going to take a while, especially if it has to
traverse all sorts of different revs to reconstruct a full-text copy
of each changed file.

Try using the --deltas option and see if it speeds things up.

-- 
"Beware of spyware. If you can, use the Firefox browser." - USA Today
Download now at http://getfirefox.com
Registered Linux User #354814 ( http://counter.li.org/)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 5 05:51:09 2006

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.