Weblog entry #3 for sneex
#3
My expedition into AMD64: Note
Posted by sneex on Tue 26 Jun 2007 at 14:27
BTW - I did spend a couple days trying out the i386 686 BigMem with 32-bit user land as well as the x86_64 install (which is very similar to the overall CentOS 5 64-bit install.)
With disk based activity the x86_64 and pure AMD64 systems faired about the same in overall speed; however with regard to memory and especially network speeds - the pure AMD64 install was about 25 to 33 percent faster. Plus the x86_64 installation 'seemed' to be stuck/glued to a single CPU -- like it didn't want to distribute the load among all the CPUs.
Moving Tar'GZipped files between the systems, packing and unpacking and re-packing them, and sending them back between the systems was a lot better (maybe I'm biased) when using the pure AMD64 installation.
Speaking of speed; the following are what performance parameters I decided upon after a lot of testing (up to terabyte file sizes, etc.)
# 3ware SATA II 9550SX Controller Settings -
# echo cfq > /sys/block/sda/queue/scheduler \
# Set via Kernel option "elevator=xxx" (in /boot/grub/menu.lst)
# These 3 below are set inside /etc/init.d/rc.local
echo 128 > /sys/block/sda/queue/max_sectors_kb
echo 512 > /sys/block/sda/queue/nr_requests
blockdev --setra 16384 /dev/sda
Executing sync; hdparm -t -T /dev/sda1 ; a couple of times yields these results:
/dev/sda1:
Timing cached reads: 1814 MB in 2.00 seconds = 907.13 MB/sec
Timing buffered disk reads: 442 MB in 3.01 seconds = 146.94 MB/sec
/dev/sda1:
Timing cached reads: 1814 MB in 2.00 seconds = 907.08 MB/sec
Timing buffered disk reads: 434 MB in 3.01 seconds = 144.17 MB/sec
... which is about 50% faster that using the Debian defaults, and about 15% faster than 3Ware's recommended 'deadline' scheduler...
Also please see Section 1.
With disk based activity the x86_64 and pure AMD64 systems faired about the same in overall speed; however with regard to memory and especially network speeds - the pure AMD64 install was about 25 to 33 percent faster. Plus the x86_64 installation 'seemed' to be stuck/glued to a single CPU -- like it didn't want to distribute the load among all the CPUs.
Moving Tar'GZipped files between the systems, packing and unpacking and re-packing them, and sending them back between the systems was a lot better (maybe I'm biased) when using the pure AMD64 installation.
Speaking of speed; the following are what performance parameters I decided upon after a lot of testing (up to terabyte file sizes, etc.)
# 3ware SATA II 9550SX Controller Settings -
# echo cfq > /sys/block/sda/queue/scheduler \
# Set via Kernel option "elevator=xxx" (in /boot/grub/menu.lst)
# These 3 below are set inside /etc/init.d/rc.local
echo 128 > /sys/block/sda/queue/max_sectors_kb
echo 512 > /sys/block/sda/queue/nr_requests
blockdev --setra 16384 /dev/sda
Executing sync; hdparm -t -T /dev/sda1 ; a couple of times yields these results:
/dev/sda1:
Timing cached reads: 1814 MB in 2.00 seconds = 907.13 MB/sec
Timing buffered disk reads: 442 MB in 3.01 seconds = 146.94 MB/sec
/dev/sda1:
Timing cached reads: 1814 MB in 2.00 seconds = 907.08 MB/sec
Timing buffered disk reads: 434 MB in 3.01 seconds = 144.17 MB/sec
... which is about 50% faster that using the Debian defaults, and about 15% faster than 3Ware's recommended 'deadline' scheduler...
Also please see Section 1.
Comments on this Entry
Posted by Anonymous (202.7.xx.xx) on Thu 15 Nov 2007 at 04:33
Hi Sneex.
Nice work, i'm setting up a very similar opteron server with 3ware SATA RAID at present.
I was just curious about what (if any) RAID type you are using with that hdparm -tT speed test?
On my DC Opteron 175, 4gb RAM I got the following:
3ware Inc 7xxx/8xxx-series PATA/SATA-RAID (rev 01) -- with 2x 250GB SATA drives in RAID1
# hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 1482 MB in 2.00 seconds = 740.80 MB/sec
Timing buffered disk reads: 154 MB in 3.04 seconds = 50.64 MB/sec
This is with your settings applied.
Thanks
-Derek
Nice work, i'm setting up a very similar opteron server with 3ware SATA RAID at present.
I was just curious about what (if any) RAID type you are using with that hdparm -tT speed test?
On my DC Opteron 175, 4gb RAM I got the following:
3ware Inc 7xxx/8xxx-series PATA/SATA-RAID (rev 01) -- with 2x 250GB SATA drives in RAID1
# hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 1482 MB in 2.00 seconds = 740.80 MB/sec
Timing buffered disk reads: 154 MB in 3.04 seconds = 50.64 MB/sec
This is with your settings applied.
Thanks
-Derek
[ Parent | Reply to this comment ]
Hi Derek
I have the 3ware 9xxx-series SATA II RAID card -- it's actually a 9550SX-4LP.
I am using four drives (500GB Seagate SATA II 3GBit) with 3 of the disks as RAID 5 with the 4th as a Hot-spare. Instead of 2TB disk space I end up with about 1TB and a live fail-over drive (supposed to be completely hardware controlled in the 3ware RAID card bios...)
I have three servers, more or less identical, each has 8GB ram with 2 280s; here is a general breakdown of the specs:
Debian 4; 2.6.18-5-amd64 (SMP)
Processors 4
Model Dual Core AMD Opteron(tm) Processor 280
CPU Speed 2.39 GHz
Cache Size 1024 KB
System Bogomips 19137.72
PCI Devices 00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-8111 IDE
00:07.2 SMBus: Advanced Micro Devices [AMD] AMD-8111 SMBus 2.0
00:0a.1 PIC: Advanced Micro Devices [AMD] AMD-8131 PCI-X IOAPIC
00:0b.1 PIC: Advanced Micro Devices [AMD] AMD-8131 PCI-X IOAPIC
01:03.0 RAID bus controller: 3ware Inc 9550SX SATA-RAID
02:09.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet
02:09.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet
03:05.0 Mass storage controller: Silicon Image, Inc. SiI 3114 [SATALink/SATARaid] Serial ATA Controller
03:06.0 VGA compatible controller: ATI Technologies Inc Rage XL
03:08.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100]
IDE Devices hda: Slimtype DVDRW SSW-8015S
SCSI Devices AMCC 9550SX-4LP DISK (Direct-Access)
USB Devices Linux 2.6.18-5-amd64 ohci_hcd OHCI Host Controller
Linux 2.6.18-5-amd64 ohci_hcd OHCI Host Controller
The actual drive performance has been very similar among the systems and except for a weird BIOS issue I have been very happy overall.
-Sx-
http://youve-reached-the.endoftheinternet.org/
I have the 3ware 9xxx-series SATA II RAID card -- it's actually a 9550SX-4LP.
I am using four drives (500GB Seagate SATA II 3GBit) with 3 of the disks as RAID 5 with the 4th as a Hot-spare. Instead of 2TB disk space I end up with about 1TB and a live fail-over drive (supposed to be completely hardware controlled in the 3ware RAID card bios...)
I have three servers, more or less identical, each has 8GB ram with 2 280s; here is a general breakdown of the specs:
Debian 4; 2.6.18-5-amd64 (SMP)
Processors 4
Model Dual Core AMD Opteron(tm) Processor 280
CPU Speed 2.39 GHz
Cache Size 1024 KB
System Bogomips 19137.72
PCI Devices 00:07.1 IDE interface: Advanced Micro Devices [AMD] AMD-8111 IDE
00:07.2 SMBus: Advanced Micro Devices [AMD] AMD-8111 SMBus 2.0
00:0a.1 PIC: Advanced Micro Devices [AMD] AMD-8131 PCI-X IOAPIC
00:0b.1 PIC: Advanced Micro Devices [AMD] AMD-8131 PCI-X IOAPIC
01:03.0 RAID bus controller: 3ware Inc 9550SX SATA-RAID
02:09.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet
02:09.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet
03:05.0 Mass storage controller: Silicon Image, Inc. SiI 3114 [SATALink/SATARaid] Serial ATA Controller
03:06.0 VGA compatible controller: ATI Technologies Inc Rage XL
03:08.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100]
IDE Devices hda: Slimtype DVDRW SSW-8015S
SCSI Devices AMCC 9550SX-4LP DISK (Direct-Access)
USB Devices Linux 2.6.18-5-amd64 ohci_hcd OHCI Host Controller
Linux 2.6.18-5-amd64 ohci_hcd OHCI Host Controller
The actual drive performance has been very similar among the systems and except for a weird BIOS issue I have been very happy overall.
-Sx-
http://youve-reached-the.endoftheinternet.org/
[ Parent | Reply to this comment ]