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

svn very slow (was Re: svn log -v very slow)

From: Esben Nielsen <esn_at_terma.com>
Date: Thu, 04 Sep 2008 14:01:30 +0200

On Mon, 2008-09-01 at 16:04 +0200, Esben Nielsen wrote:
> We have set up subversion and CruiseControl. Whenever CruiseControl
> checks for changes on the subversion with "svn log -v -r{timestamps}"
> the operation itself takes a very long time AND every other concurrent
> operation, like browsing the reporsitory from Eclipse, takes a very long
> time.
>
> When CruiseControl is not doing "svn log" everything is fairly
> responsive.
>
> But top shows no CPU nor much IO usage. What makes subversion so slow?
>
> CruiseControl is running on the same host as subversion but using svn://
> Subversion version is 1.5.1 and OS is Fedora 8 x86_64.
>
> Esben
>
I have tried to kill off CruiseControl and there are therefore rarely
any access to the repository; but when I run

while true; do time svn update <somefile (not dir)>; done

I get outputs in the order of 30-40 seconds!!

So I started to use strace to figure out what was happening. It turned
out it is blocking on
 /dev/random

So because we don't have enough entropy on our server Subversion is
slow!

What should I change in my config solve this?

Esben

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-05 19:31:30 CEST

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.