After tallking with others and just realizing how shitty my numbers were when it came to disk/array perfomance testing I decided to get back into bonnie++ testing. I feel much better with these numbers though because I know the power of bonnie along with the simplicity…well this wasnt so simple but it is a bit more automated. Also while running this I saw some very interesting numbers when looking at zpool iostat 1K+ write operations which was nice. These numbers are more realistic and can be used in a conversation to describe performance since it uses a fairly well known tool. It will become my standard along with the usually test of dd’ing zeros…I still like to see those big numbers. :)
Source: http://www.krazyworks.com/testing-filesystem-performance-with-bonnie/
8x146GB 15k with LVM on top using ext4 via Hardware RAID6
bonnie++ -n 0 -u 0 -r `free -m | grep ‘Mem:’ | awk ‘{print $2}’` -s $(echo “scale=0;`free -m | grep ‘Mem:’ | awk ‘{print $2}’`*2″ | bc -l) -f -b -d /var/lib/vz/r6-15k-146-array/
Using uid:0, gid:0.
Writing intelligently…done
Rewriting…done
Reading intelligently…done
start ‘em…done…done…done…done…done…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
h1 32052M 467993 60 177575 23 415967 25 970.4 42 Latency 326ms 543ms 119ms 408ms
Seq Write: 457MB/s
Seq Re-Write: 173MB/s
Seq Read: 406MB/s
8x1TB 7.2k using ZFS RZ2 (RAID6) with lzjb compression enabled
First run on new array
bonnie++ -n 0 -u 0 -r `free -m | grep ‘Mem:’ | awk ‘{print $2}’` -s $(echo “scale=0;`free -m | grep ‘Mem:’ | awk ‘{print $2}’`*2″ | bc -l) -f -b -d /mnt/datapool2/
Using uid:0, gid:0.
Writing intelligently…done
Rewriting…done
Reading intelligently…done
start ‘em…done…done…done…done…done…
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 %CPh1 32052M 92609 16 81752 14 568497 31 310.7 3 Latency 610ms 694ms 57049us 388ms
Seq Write: 90MB/s
Seq Re-Write: 79.8MB/s
Seq Read: 555MB/s
Second run on new array
Using uid:0, gid:0.
Writing intelligently…done
Rewriting…done
Reading intelligently…done
start ‘em…done…done…done…done…done…
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
h1 32052M 94759 15 81940 14 557672 31 313.9 3
Latency 613ms 524ms 83193us 339ms
Seq Write: 92.5MB/s
Seq Re-Write: 80MB/s
Seq Read: 544MB/s
During Writing intelligently
zpool iostat datapool2 1
capacity operations bandwidth
pool alloc free read write read write
———- —– —– —– —– —– —–
datapool2 1.99T 5.26T 0 0 0 0
datapool2 1.99T 5.26T 0 0 0 0
datapool2 1.99T 5.26T 0 0 0 0
datapool2 1.99T 5.26T 0 0 0 0
datapool2 1.99T 5.26T 0 0 0 4.00K
datapool2 1.99T 5.26T 0 684 0 2.60M
datapool2 1.99T 5.26T 0 1.15K 0 4.77M
datapool2 1.99T 5.26T 5 633 5.00K 2.46M
datapool2 1.99T 5.26T 0 602 0 2.41M
datapool2 1.99T 5.26T 0 1.15K 0 4.79M
datapool2 1.99T 5.26T 0 654 0 2.48M
datapool2 1.99T 5.26T 0 955 0 3.92M
datapool2 1.99T 5.26T 0 858 0 3.30M
During Rewriting
zpool iostat datapool2 1
capacity operations bandwidth
pool alloc free read write read write
———- —– —– —– —– —– —–
datapool2 1.99T 5.26T 521 1.18K 2.28M 4.84M
datapool2 1.99T 5.26T 778 604 3.41M 2.42M
datapool2 1.99T 5.26T 783 604 3.42M 2.42M
datapool2 1.99T 5.26T 520 1.18K 2.27M 4.85M
datapool2 1.99T 5.26T 640 604 2.80M 2.43M
datapool2 1.99T 5.26T 658 604 2.88M 2.43M
datapool2 1.99T 5.26T 774 633 3.41M 2.55M
datapool2 1.99T 5.26T 524 1.16K 2.28M 4.75M
datapool2 1.99T 5.26T 778 604 3.41M 2.42M
datapool2 1.99T 5.26T 776 604 3.41M 2.43M
datapool2 1.99T 5.26T 525 1.18K 2.28M 4.85M
During Reading intelligently
zpool iostat datapool2 1
capacity operations bandwidth
pool alloc free read write read write
———- —– —– —– —– —– —–
datapool2 1.99T 5.26T 4.06K 0 18.3M 0
datapool2 1.99T 5.26T 4.03K 0 18.2M 0
datapool2 1.99T 5.26T 4.03K 0 18.2M 0
datapool2 1.99T 5.26T 4.10K 0 18.5M 0
datapool2 1.99T 5.26T 4.10K 0 18.5M 0
datapool2 1.99T 5.26T 4.14K 0 18.7M 0
datapool2 1.99T 5.26T 4.03K 0 18.2M 0
datapool2 1.99T 5.26T 4.03K 0 18.2M 0
datapool2 1.99T 5.26T 4.24K 0 19.1M 0
datapool2 1.99T 5.26T 4.07K 0 18.3M 0
datapool2 1.99T 5.26T 4.03K 0 18.2M 0
During start ‘em
zpool iostat datapool2 1
capacity operations bandwidth
pool alloc free read write read write
———- —– —– —– —– —– —–
datapool2 1.99T 5.26T 311 31 1.48M 384K
datapool2 1.99T 5.26T 318 27 1.50M 336K
datapool2 1.99T 5.26T 305 29 1.43M 360K
datapool2 1.99T 5.26T 321 35 1.51M 432K
datapool2 1.99T 5.26T 301 41 1.43M 504K
datapool2 1.99T 5.26T 329 31 1.55M 384K
datapool2 1.99T 5.26T 308 20 1.46M 252K
datapool2 1.99T 5.26T 316 36 1.49M 444K
datapool2 1.99T 5.26T 326 28 1.55M 348K
Transferring ISO between arrays using rsync
FROM 8x1TB 7.2k (ZFS RZ2)
TO 8x146GB 15k (Hardware RAID6 w/ LVM on top)
rsync -a –progress /mnt/datapool2/vm/template/iso /var/lib/vz/r6-15k-146-array/test/
sending incremental file list
created directory /var/lib/vz/r6-15k-146-array/test
iso/
iso/FreePBX-1.1007.210.58-x86_64-Full-1344904533.iso
827643904 100% 131.17MB/s 0:00:06 (xfer#1, to-check=14/16)
iso/FreePBX-1.815.210.58-x86_64-Full-1344903580.iso
827457536 100% 135.75MB/s 0:00:05 (xfer#2, to-check=13/16)
iso/Windows-7-Home-Premium-x64.iso
3731709952 100% 130.39MB/s 0:00:27 (xfer#3, to-check=12/16)
iso/Windows-XP-SP3-Automated.iso
648937472 100% 130.04MB/s 0:00:04 (xfer#4, to-check=11/16)
iso/clearos-community-6.3.0-x86_64.iso
663922688 100% 117.69MB/s 0:00:05 (xfer#5, to-check=10/16)
iso/oi-dev-151a-text-x86.iso…..
sent 12959018903 bytes received 301 bytes 141628625.18 bytes/sec
total size is 12957435904 speedup is 1.00
TO 8x1TB 7.2k (ZFS RZ2)
FROM 8x146GB 15k (Hardware RAID6 w/ LVM on top)
rsync -a –progress /var/lib/vz/r6-15k-146-array/test/ /mnt/datapool2/
sending incremental file list
./
iso/
iso/FreePBX-1.1007.210.58-x86_64-Full-1344904533.iso
827643904 100% 78.86MB/s 0:00:10 (xfer#1, to-check=14/17)
iso/FreePBX-1.815.210.58-x86_64-Full-1344903580.iso
827457536 100% 78.87MB/s 0:00:10 (xfer#2, to-check=13/17)
iso/Windows-7-Home-Premium-x64.iso
3731709952 100% 80.21MB/s 0:00:44 (xfer#3, to-check=12/17)
iso/Windows-XP-SP3-Automated.iso
648937472 100% 68.44MB/s 0:00:09 (xfer#4, to-check=11/17)
iso/clearos-community-6.3.0-x86_64.iso
663922688 100% 77.94MB/s 0:00:08 (xfer#5, to-check=10/17)
iso/oi-dev-151a-text-x86.iso
514420736 100% 75.98MB/s 0:00:06 (xfer#6, to-check=9/17)
















