RAID Setup WC OFF

Controller: ?3ware 9750i4 Level: RAID10 64K Disks: 4 x ?WD5003ABYX

Write Cache Setting: Disabled Read Cache Setting: Intelligent Drive Queuing Mode: Enabled StorSave Profile: Balanced

./tw_cli_amd64 /c7/u0 set storsave=balance
./tw_cli_amd64 /c7/u0 set wrcache=off
Setting Write Cache Policy on /c7/u0 to [off] ... Done.

RAID Performance WC OFF

blockdev --getra /dev/sda
256
cat /sys/block/sda/queue/scheduler
noop anticipatory deadline [cfq]
cat /sys/block/sda/device/queue_depth
254
echo 3 > /proc/sys/vm/drop_caches
dd if=/dev/sda of=/dev/null bs=1M count=16000
16777216000 bytes (17 GB) copied, 71.2356 s, 236 MB/s
dd if=/dev/zero of=/dev/sda bs=1M count=16000
16777216000 bytes (17 GB) copied, 92.3513 s, 182 MB/s

parted /dev/sda mklabel msdos
parted /dev/sda mkpart p 2048s 64g
blockdev --rereadpt /dev/sda
mkfs.ext3 /dev/sda1
mount -o noatime /dev/sda1 /mnt
echo 3 > /proc/sys/vm/drop_caches
bonnie++ -d /mnt -u root -n 0 -r 6000
Version  1.96       ------Sequential Output------ --Sequential Input- --Random-
Concurrency   1     -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
finnix          12G   668  98 167197 27 102749 12  2261  98 401659  19 595.4  15

cd /tmp; http_proxy=http://proxy.lan.gsd-software.net:8080 wget http://debian.gsd-software.net/benchmark/seeker_baryluk_x86; chmod +x seeker_baryluk_x86
for threads in 01 02 04 08 16 32; do echo -n "Threads: $threads "; ./seeker_baryluk_x86 /dev/sda $threads | grep Results; sleep 1; done
Threads: 01 Results: 81 seeks/second, 12.285 ms random access time (96267832 < offsets < 999460836505)
Threads: 02 Results: 162 seeks/second, 6.145 ms random access time (162160760 < offsets < 999972683747)
Threads: 04 Results: 251 seeks/second, 3.972 ms random access time (63241974 < offsets < 999734140331)
Threads: 08 Results: 323 seeks/second, 3.092 ms random access time (277208312 < offsets < 999974383841)
Threads: 16 Results: 396 seeks/second, 2.520 ms random access time (98075956 < offsets < 999929082482)
Threads: 32 Results: 465 seeks/second, 2.150 ms random access time (142343569 < offsets < 999968098944)

RAID Setup WC ON

Controller: ?3ware 9750i4 Level: RAID10 64K Disks: 4 x ?WD5003ABYX

Write Cache Setting: Enabled Read Cache Setting: Intelligent Drive Queuing Mode: Enabled StorSave Profile: Balanced

./tw_cli_amd64 /c7/u0 set storsave=balance
Setting Command Storsave Policy for unit /c7/u0 to [balance] ... Done.

RAID Performance WC ON

blockdev --getra /dev/sda
256
cat /sys/block/sda/queue/scheduler
noop anticipatory deadline [cfq]
cat /sys/block/sda/device/queue_depth
254
echo 3 > /proc/sys/vm/drop_caches
dd if=/dev/sda of=/dev/null bs=1M count=16000
16777216000 bytes (17 GB) copied, 72.4011 s, 232 MB/s
dd if=/dev/zero of=/dev/sda bs=1M count=16000
16777216000 bytes (17 GB) copied, 63.5036 s, 264 MB/s

parted /dev/sda mklabel msdos
parted /dev/sda mkpart p 2048s 64g
blockdev --rereadpt /dev/sda
mkfs.ext3 /dev/sda1
mount -o noatime /dev/sda1 /mnt
echo 3 > /proc/sys/vm/drop_caches
bonnie++ -d /mnt -u root -n 0 -r 6000
Version  1.96       ------Sequential Output------ --Sequential Input- --Random-
Concurrency   1     -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
finnix          12G   570 99 150370  24 112440 14  2146  91 268495  15 661.7  17

cd /tmp; http_proxy=http://proxy.lan.gsd-software.net:8080 wget http://debian.gsd-software.net/benchmark/seeker_baryluk_x86; chmod +x seeker_baryluk_x86
for threads in 01 02 04 08 16 32; do echo -n "Threads: $threads "; ./seeker_baryluk_x86 /dev/sda $threads | grep Results; sleep 1; done
Threads: 01 Results: 80 seeks/second, 12.438 ms random access time (87502411 < offsets < 999973651371)
Threads: 02 Results: 163 seeks/second, 6.117 ms random access time (45375397 < offsets < 999973567554)
Threads: 04 Results: 253 seeks/second, 3.938 ms random access time (47029391 < offsets < 999943823141)
Threads: 08 Results: 325 seeks/second, 3.075 ms random access time (29185630 < offsets < 999972683747)
Threads: 16 Results: 398 seeks/second, 2.509 ms random access time (89678399 < offsets < 999918848396)
Threads: 32 Results: 467 seeks/second, 2.140 ms random access time (106184809 < offsets < 999887201332)