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

Re: SVN server test

From: Kalin KOZHUHAROV <kalin_at_thinrope.net>
Date: 2005-08-26 18:50:48 CEST

Nicola.napi wrote:
> Hi,
> I have configured a server for Subversion, so I woluld like to test
> how many simultaneous connection it manages becouse many developers
> will use the system.
>
> Have you any idea how can I try a loading test for the subversion server?
> I would like to test if all developers are connected, and try to get the
> project,
> the system supports the connections without fails.
Not that difficult, if you just need to "test out" that it will work,
that is a qualitive (as opposed to quantitive) test.

Set up your server, import/create your repositories an if possible try
from a few different machines at about the same time (login via ssh,
type up to line 4 and just press Enter):

export NUM_CLIENTS=5
export CMD="svn co http://svn.example.com/repos/test-prj"
$($CMD)
for client in $(seq $NUM_CLIENTS); do bash -c "mkdir $client && cd
$client && $CMD" & done

** line 3 is needed to test you correctly got your $CMD and to cache any
credentials (user/passwd and certs) you might need
** line 4 spawns $NUM_CLIENTS to checkout your repo

After this you my try with CMD="svn up" and repeat line 4. Try
increasing NUM_CLIENTS, runnig a mixture of CMD (from different
terminals or machines), etc.

Be careful, as such tests can make your LAN crawl and your server
unavailable for other tasks temporarily.

Kalin.

-- 
|[ ~~~~~~~~~~~~~~~~~~~~~~ ]|
+-> http://ThinRope.net/ <-+
|[ ______________________ ]|
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 26 18:53:00 2005

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.