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

Re: windows vs linux

From: Nathan Kidd <nathan-svn_at_spicycrypto.ca>
Date: 2007-09-11 17:38:13 CEST

Peter Kirk wrote:
> We currently run subversion on linux but would like to
> change to windows "well the managers would" as with
> windows you can use windows domain authentication to
> sign into subversion through ldap.

I'm pretty sure you can do this via Apache on any platform. SSPI maybe
not, but LDAP (i.e. Active Directory) should work fine.

> I am a bit worried about subversion on windows though,

We run svnserve on Windows, not through choice, but we only have one
decent source server and it has to do other Windows-only stuff too.

> like what about antivirus "does this not take forever
> to scan the repositories"

We don't run any AV on our svn repos, since the threat is really on end
user machines and that's where AV runs. Nothing from the repo gets
executed server-side. Furthermore, after svn's deltafication, there's a
good chance the AV signature's/heuristics wouldn't catch anything anyway.

> is there a big difference in the performance,

This is the material point. If you use FSFS (which is the default, and
is easiest to use), there is a very very large performance difference
between NTFS and your-choice-of-linux-fs. NTFS has *horrible*
performance characteristics when dealing with many small files (as you
do with FSFS). Tasks that touch many files, like 'ls -R' or 'log' will
take several times longer on NTFS, in my experience (and if we're
talking the difference between 3 seconds and 10, it is very
user-noticiable). Further, if you use svn locks very heavily you'll
really feel the difference again. E.g. In one Tech Writer repository we
have, TortoiseSVN's Repo Browser takes ~10 seconds to view the root tree
because the back end has to walk thousands of locks first. The same
operation is near-instantaneous on Linux.

The upcoming 1.5 release has "sharding" for FSFS, but this does not
really enhance server performance (NTFS is still slow), it just makes it
possible to browse the db directories with Windows Explorer without it
hanging (useful).

HTH,

-Nathan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 11 17:33:09 2007

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.