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

Re: Timeouts and such

From: Daniel Patterson <danpat_at_adaptiveinternational.com>
Date: 2003-05-08 08:32:00 CEST

On Thu, 2003-05-08 at 14:51, kfogel@collab.net wrote:
> Patrick Mayweg <mayweg@qint.de> writes:
> > I would think so. At least with ra_dav. The checkout of the trunk of our
> > main repository (1700 files, 170 directory, 25 MB net data) takes using
> > ra_dav on the same machine 40 min. ra_local and ra_svn both take around 2
> > min. This must be I/O bound, because the max cpu usage is 15%. CVS was
> > between ra_dav and ra_local/ra_svn..

Sure something isn't doing DNS lookups for each HTTP request or
something silly like that?

> Would be nice to measure it by counting bits over the network, instead
> of time, hmm.

Ok, here's some stats (linux <-> linux over 100mbit switched network)
from the repository I use to keep track of all the sysadmin stuff here
(text files (html, php, txt), OOO docs, images, debian packages,
tarballs, etc). Note that these are for ra_dav *only*, I don't have
ra_svn up and running. Most measurements made on the client.

The performance detailed here is pretty typical of what most users here
experience, regardless of platform and has not changed noticably as
we've upgraded Subversion starting from 0.14.

  Command used: svn co http://server/repos/its
  Note: server required Basic authentication hooked into an LDAP
        server (see below for entry cache config).

  WC Directory count: 145
  WC File count: 783
  WC Biggest file size: 2,862,450 bytes
  WC Smallest file size: 0 bytes
  WC Average file size: 29,542 bytes
  WC Total file byte count: 23,131,997 bytes

  Total wc size (including text-base): 67,416kb
  Total repository size: 540Mb (includes other projects)
  Repository revisions: 784

  Time for a complete checkout (from client perspective)
    real 4m37.328s
    user 0m7.600s
    sys 0m2.790s

  Average file rate (files/time): 3.4 files/sec
  Average data rate in (wire bytes/time): 112 kbyte/sec
  Averate data rate out (wire bytes/time) 3 kbyte/sec

  Bytes recieved over the wire: 26182711 (approx 13% more than
                                            data desired)
  Bytes sent over the wire: 819067
  (give/take a few 10kb on these for ssh terminal to server to observe

  Load at server at end of checkout: 1.00 (A single apache2 process
                                            sat at Apache2 sat at 60%
                                            according to "top"
  Load at client at end of checkout: 0.30 (svn sat on around 15% CPU)

  Machine specs:

    Server: Subversion 0.21.0, on Debian Woody, 2.2.19pre17 kernel,
            Apache 2.0.45. PII-400 with 512M SDRAM. Max disk-speed
            according to hdparm -t:
 Timing buffered disk reads: 64 MB in 16.23 seconds = 3.94 MB/sec

            Notes: server uses mod_auth_ldap on the repository with
                   caching set to the following:
                     LDAPSharedCacheSize 200000
                     LDAPCacheEntries 1024
                     LDAPCacheTTL 600
                     LDAPOpCacheEntries 1024
                     LDAPOpCacheTTL 600

    Client: Subversion 0.21.0 on Debian Unstable, 2.4.19 kernel.
            PIII-640 with 280M SDRAM. Max disk speed according to
            hdparm -t:

 Timing buffered disk reads: 64 MB in 17.88 seconds = 3.58 MB/sec

    Max network between machines (measured by fetching 200M file
    from ramdisk on server to /dev/null on client, incurring no
    disk IO, via ftp):
                53,142.8kbit/sec (6,642 kbyte/sec)


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 8 08:32:59 2003

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.