- Joined
- Apr 27, 2004
The box is strictly a file server and my first NAS/File Server build ever. It consists of the following hardware.
AMD X2 3800+
3gb DDR2
AM3 mobo w/ 6 SATA II Ports (AHCI Mode)
PCI Gigabit Card
5x 2tb WD Green Drives in mdadm raid5
Running Ubuntu Server 10.04.3 x64
Each drive passes WD's tools. Each drive is running fine (individually tested) and performs correctly. I generally achieve 80 ~ 90mb/s write speed and 90 to 95mb/s read speed from across the network. Iperf shows that I'm getting around 840Mbits/sec, or 99.5MBytes/sec (there AND back). Jumbo frames are at 7k and my switch does support it. Here are some benchmarks to the raid it's self.
My problem is when writing, even reading from the array the CPU is maxed out on both cores pretty hard. This is causing some random slow down I believe, because every now and then when copying a file to the server it will get this random slow spike and gradually pick back up, but not to max speed - generally around 45 ~ 50mb/s.
Could my issue simply be that the older slower 3800+ cannot keep up with the parity calculations and is causing a choke up? I know that the CPU is a bit older...but if that is where my problems are centered around I'm considering upgrading the box to something more robust (and would serve a larger purpose than a file server).
AMD X2 3800+
3gb DDR2
AM3 mobo w/ 6 SATA II Ports (AHCI Mode)
PCI Gigabit Card
5x 2tb WD Green Drives in mdadm raid5
Running Ubuntu Server 10.04.3 x64
Each drive passes WD's tools. Each drive is running fine (individually tested) and performs correctly. I generally achieve 80 ~ 90mb/s write speed and 90 to 95mb/s read speed from across the network. Iperf shows that I'm getting around 840Mbits/sec, or 99.5MBytes/sec (there AND back). Jumbo frames are at 7k and my switch does support it. Here are some benchmarks to the raid it's self.
Code:
ziggo0@nas01:~$ sudo hdparm -tT /dev/md0
[sudo] password for ziggo0:
/dev/md0:
Timing cached reads: 2228 MB in 2.00 seconds = 1114.40 MB/sec
Timing buffered disk reads: 1170 MB in 3.00 seconds = 389.52 MB/sec
ziggo0@nas01:~$ cd /srv/storage
ziggo0@nas01:/srv/storage$ dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 10.7154 s, 100 MB/s
ziggo0@nas01:/srv/storage$ dd if=/dev/zero of=test bs=64k count=64k conv=fdatasync
65536+0 records in
65536+0 records out
4294967296 bytes (4.3 GB) copied, 39.1444 s, 110 MB/s
My problem is when writing, even reading from the array the CPU is maxed out on both cores pretty hard. This is causing some random slow down I believe, because every now and then when copying a file to the server it will get this random slow spike and gradually pick back up, but not to max speed - generally around 45 ~ 50mb/s.
Could my issue simply be that the older slower 3800+ cannot keep up with the parity calculations and is causing a choke up? I know that the CPU is a bit older...but if that is where my problems are centered around I'm considering upgrading the box to something more robust (and would serve a larger purpose than a file server).