Code
17.Dec.2008/JH
Performance Differences Between A
QNAP TS-209II With DMA Enabled
1) linux-image-2.6.26-1-orion5x
2.6.26-11
default kernel debian lenny
a) hdparm -tT /dev/sda
Timing cached reads: 106 MB in 2.01 seconds = 52.61 MB/sec
Timing buffered disk reads: 76 MB in 3.03 seconds = 25.06 MB/sec
b) hdparm -tT /dev/sdb
Timing cached reads: 112 MB in 2.01 seconds = 55.75 MB/sec
Timing buffered disk reads: 84 MB in 3.04 seconds = 27.64 MB/sec
2) update system with DMA enable kernel
a) edit /etc/apt/sources.list
# correct this link and add link to original list thread
deb http://people.debian.org/~tmb/tmb lenny
b) sudo apt-get update
c) sudo apt-get upgrade
3) linux-image-2.6.26-1-orion5x
2.6.26-11dma1
a) hdparm -tT /dev/sda
Timing cached reads: 154 MB in 2.00 seconds = 76.83 MB/sec
Timing buffered disk reads: 104 MB in 3.04 seconds = 34.22 MB/sec
b) hdparm -tT /dev/sdb
Timing cached reads: 154 MB in 2.02 seconds = 76.24 MB/sec
Timing buffered disk reads: 106 MB in 3.02 seconds = 35.05 MB/sec
4) difference between 2.6.26-11dma1 and 2.6.26-11
a) /dev/sda
Timing cached reads: 76.83 / 52.61 = 1.460
Timing buffered disk reads: 34.22 / 25.06 = 1.365
b) /dev/sdb
Timing cached reads: 76.24 / 55.75 = 1.367
Timing buffered disk reads: 35.05 / 27.64 = 1.268
c) average performance increase
Timing cached reads: (1.460 + 1.367) / 2 = 1.4135
Timing buffered disk reads: (1.365 + 1.268) / 2 = 1.3165
d) described in percent
Timing cached reads: +41.35%
Timing buffered disk reads: +31.65%
13.May.2009/JH
5) linux-image-2.6.30-rc5-orion5x_2.6.30~rc5-1
2.6.30-rc5-orion5x
http://people.debian.org/~tbm/armel/kernel/r13609/
linux-image-2.6.30-rc5-orion5x_2.6.30~rc5-1~experimental.1_armel.deb
a) hdparm -tT /dev/sda
Timing cached reads: 200 MB in 2.00 seconds = 99.85 MB/sec
Timing buffered disk reads: 128 MB in 3.03 seconds = 42.21 MB/sec
b) hdparm -tT /dev/sdb
Timing cached reads: 200 MB in 2.01 seconds = 99.50 MB/sec
Timing buffered disk reads: 128 MB in 3.05 seconds = 41.99 MB/sec
6) difference between 2.6.30-rc5-orion5x and 2.6.26-11
a) /dev/sda
Timing cached reads: 99.85 / 52.61 = 1.898
Timing buffered disk reads: 42.21 / 25.06 = 1.684
b) /dev/sdb
Timing cached reads: 99.50 / 55.75 = 1.785
Timing buffered disk reads: 41.99 / 27.64 = 1.519
c) average performance increase
Timing cached reads: (1.898 + 1.785) / 2 = 1.8415
Timing buffered disk reads: (1.684 + 1.519) / 2 = 1.6015
d) described in percent
Timing cached reads: +84.15%
Timing buffered disk reads: +60.15%
7) real disk i/o on raid devices
a) raid 0 read
dd if=test.file of=/dev/null bs=$((1024*1024*128)) count=10
1342177280 bytes (1.3 GB) copied, 26.0302 s, 51.6 MB/s
b) raid 0 write
dd if=/dev/zero of=test.file bs=$((1024*1024*128)) count=10
1342177280 bytes (1.3 GB) copied, 68.1559 s, 19.7 MB/s
c) raid 1 read
dd if=test.file of=/dev/null bs=$((1024*1024*128)) count=10
1342177280 bytes (1.3 GB) copied, 27.99 s, 48.0 MB/s
d) raid 1 write
dd if=/dev/zero of=test.file bs=$((1024*1024*128)) count=10
1342177280 bytes (1.3 GB) copied, 75.421 s, 17.8 MB/s
8) real nfs i/o on raid devices & 1000Mb/s
ga:/media/movie /media/nfs nfs rw,vers=3,rsize=32768,wsize=32768,hard,nointr,proto=tcp
a) raid 0 read
dd if=test.file of=/dev/null bs=$((1024*1024*128)) count=10
1342177280 bytes (1.3 GB) copied, 115.212 s, 11.6 MB/s
b) raid 0 write
dd if=/dev/zero of=test.file bs=$((1024*1024*128)) count=10
1342177280 bytes (1.3 GB) copied, 187.804 s, 7.1 MB/s
Alles anzeigen