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

AW: svn having wc via samba *awfully* slow...

From: Hunkel, Manfred <M.Hunkel_at_t-systems.com>
Date: 2004-04-13 11:36:32 CEST

Hi Roland,

Been seeing weird slow-downs in Samba communications with some Win workstations
here, which caused simple 2MB file copies to take several minutes! This was
due to a "misconfiguration" of the workstations' network cards: They were set
to either "full-duplex", or to "automatic" (both of which sound reasonable, I know).
Nevertheless, playing around with these settings made the problem go away.

I suppose it's worth a try in your plea for "any help"...

;-) -Manfred

-----Ursprüngliche Nachricht-----
Von: Roland Schwingel [mailto:Roland.Schwingel@onevision.de]
Gesendet am: Samstag, 3. April 2004 19:41
An: users@subversion.tigris.org
Betreff: svn having wc via samba *awfully* slow...

Hi...

Here I am suffering quite a long time with a phaenomenon I was putting on
the age of my fileserver...
But this weekend I replaced the machine with a blazingly fast one with
concerning cpu power and
harddisk speed...

My scenario:
1. A dedicated server just hosting the svn repos via apache on linux with
svn 1.0.1. 3 months old. fast
2. A brand new fileserver hosting the developers homeaccounts also running
on linux. very very fast
    It exports the filesystems via nfs and samba 3.0.2
3. Workstation clients either running linux or win2000 and svn 1.0.1

Checkout times for a my repos (wc size: ~200MB in ~52000 files including
.svn stuff)
on 2 hardware identical workstations using the same network connection.

Linux to local disk: 5 minutes (cpu svn-server: ~50% - cpu client: ~70%)
Windows (Cygwin) to local disk: 9 minutes (cpu svn-server: ~30% - cpu
client: ~100%)
Linux to nfs share on fileserver: 13 minutes (cpu svn-server: ~17% - cpu
client: ~50%)
Windows (Cygwin) to fileserver using samba: *2.5 hours(!!)* (cpu
svn-server: ~1% - cpu client: ~5% - cpu fileserver: ~8%)

The tests were made with a completly idle network. Other operations svn
up/cleanup/ci are similar fast/slow.

Has anyone else encountered these *huge* slowdown in a similar
configuration?
The same repos (in an older state but using CVS) "just" takes a third ot
the time in the last test.

I first thought it was the old fileserver/slow harddrives in it, but now
this is no longer
the case. A while ago I searched samba mailingslists and the whole internet
for
tweaking options on samba (for the old machine in this times), but couldn't
really
find anything. I assume this has something to do with the network
communication.
My samba is pretty much configured with default values at present. Nothing
special.

Are there some optimizations I can do for my samba to make this faster when
talking
to with subversion. Has anyone made some special settings in her/his
environment?

Any help appreciated.... Thanks,

Roland

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Apr 13 11:38:40 2004

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.