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

Re: svn server hardware requirements

From: Thomas Harold <tgh_at_tgharold.com>
Date: 2007-06-12 22:07:03 CEST

marc gonzalez-carnicer wrote:
> 2007/5/31, Thomas Harold <tgh@tgharold.com>:
>> disk. But the other issue you'll have with an older system is bus
>> bandwidth (PCI and chipset). When you run hdparm -tT /dev/sdX, you'll
>
> these are my figures. btw, how can i know the NIC specs? :
>
> * srv-peat-svn : (old machine)
>
> root@srv-peat-svn:~# hdparm -tT /dev/hda4
> /dev/hda4: (ext3)
> Timing cached reads: 424 MB in 2.00 seconds = 212.03 MB/sec
> Timing buffered disk reads: 68 MB in 3.02 seconds = 22.55 MB/sec
>
> root@srv-peat-svn:~# hdparm -tT /dev/hda2
> /dev/hda2: (ext2)
> Timing cached reads: 492 MB in 2.01 seconds = 245.35 MB/sec
> Timing buffered disk reads: 66 MB in 3.00 seconds = 21.99 MB/sec
>
> * bub : (new machine)
>
> bub:~# hdparm -tT /dev/sda5
> /dev/sda5: (ext3)
> Timing cached reads: 1710 MB in 2.00 seconds = 855.07 MB/sec
> Timing buffered disk reads: 114 MB in 3.04 seconds = 37.47 MB/sec
>
> bub:~# hdparm -tT /dev/sda7
> /dev/sda7: (ext2)
> Timing cached reads: 1740 MB in 2.00 seconds = 869.64 MB/sec
> Timing buffered disk reads: 194 MB in 3.01 seconds = 64.54 MB/sec

So the new machine is roughly 3x faster for memory intensive and disk
intensive operations. If it was Intel architecture, I'd guess the new
system has a 400MHz (give or take) FSB and that the disks are newer
320-500GB SATAs.

That's generally fast enough to keep a gigabit NIC busy. You could get
away with an old 10/100 NIC, but better to use gigabit. As to how to
tell... usually the switch lights in the network closet will tell you
whether it's a 10/100/1000 NIC. Or you could figure it out in Linux -
but I'm forgetting how to do that currently.

>> Our current SVN server is a Xen DomU running on top of a dual-core AM2
>> ...
>
> impressive. however, i can't figure out why would anyone use
> virtualization to run a server. i am not saying it is not correct, it's
> just i'd never consider it.

The box serves multiple needs (the SVN DomU is just one of about half a
dozen running on that box). At the time I had limited budget (an
ongoing issue) and needed to add multiple Linux servers. It's also
easier to move DomUs between Xen hosts if the server goes down or as we
outgrow a box.

>> revision files (assuming you use FS and not BDB). If you use ext3, that
>> means you really need to turn on directory indexing (because all
>> revision files end up in a single directory). So a 4-disk RAID10 would
>
> yes, i do i plan to use ext3 so that data may be safer in case of
> power / system failure. how to turn on indexing?

http://forums.gentoo.org/viewtopic-t-305871.html
- Probably the main link

http://www.tgharold.com/techblog/labels/ext3.shtml
- I also have half a dozen other links on ext3 tuning

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jun 12 22:07:39 2007

This is an archived mail posted to the Subversion Users mailing list.