Difference between revisions of "Benchmarks"

From Useful Things
Jump to: navigation, search
(Created page with "== RAID 6 + LUKS == <pre> eclipse shared # dd if=/dev/zero of=file bs=64M count=100 conv=fdatasync 100+0 records in 100+0 records out 6710886400 bytes (6.7 GB) copied, 19.457...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== RAID 6 + LUKS ==
 
== RAID 6 + LUKS ==
  
 +
=== Environment ===
 
<pre>
 
<pre>
 +
eclipse shared # cat /proc/cpuinfo | grep name | uniq
 +
model name      : Intel(R) Xeon(R) CPU E31240 @ 3.30GHz
 +
 +
eclipse shared # findmnt /media/raid
 +
TARGET      SOURCE          FSTYPE OPTIONS
 +
/media/raid /dev/mapper/raid ext4  rw,relatime,stripe=384,data=ordered
 +
 +
eclipse shared # cat /sys/block/md0/md/stripe_cache_size
 +
32768
 +
 +
eclipse shared # lshw -short -C disk
 +
H/W path            Device    Class      Description
 +
=======================================================
 +
/0/100/1/0/0.0.0    /dev/sdc  disk        4TB ST4000VN000-1H41
 +
/0/100/1/0/0.1.0    /dev/sdd  disk        4TB ST4000VN000-1H41
 +
/0/100/1/0/0.2.0    /dev/sde  disk        4TB ST4000DM000-1F21
 +
/0/100/1/0/0.3.0    /dev/sdf  disk        4TB ST4000VN000-1H41
 +
/0/100/1/0/0.4.0    /dev/sdg  disk        4TB ST4000VN000-1H41
 +
/0/100/1/0/0.5.0    /dev/sdh  disk        4TB ST4000VN000-1H41
 +
/0/1/0.0.0          /dev/sda  disk        128GB Samsung SSD 840
 +
/0/2/0.0.0          /dev/sdb  disk        60GB OCZ-VERTEX3
 +
 +
eclipse shared # lsblk
 +
NAME    MAJ:MIN RM  SIZE RO TYPE  MOUNTPOINT
 +
sda        8:0    0 119.2G  0 disk
 +
├─sda1    8:1    0    32M  0 part
 +
├─sda2    8:2    0  512M  0 part  [SWAP]
 +
└─sda3    8:3    0 118.7G  0 part  /
 +
sdb        8:16  0  55.9G  0 disk
 +
├─sdb1    8:17  0  243M  0 part
 +
├─sdb2    8:18  0  488M  0 part
 +
└─sdb3    8:19  0  55.2G  0 part
 +
sdc        8:32  0  3.7T  0 disk
 +
└─md0      9:0    0  14.6T  0 raid6
 +
  └─raid 251:0    0  14.6T  0 crypt /media/raid
 +
sdd        8:48  0  3.7T  0 disk
 +
└─md0      9:0    0  14.6T  0 raid6
 +
  └─raid 251:0    0  14.6T  0 crypt /media/raid
 +
sde        8:64  0  3.7T  0 disk
 +
└─md0      9:0    0  14.6T  0 raid6
 +
  └─raid 251:0    0  14.6T  0 crypt /media/raid
 +
sdf        8:80  0  3.7T  0 disk
 +
└─md0      9:0    0  14.6T  0 raid6
 +
  └─raid 251:0    0  14.6T  0 crypt /media/raid
 +
sdg        8:96  0  3.7T  0 disk
 +
└─md0      9:0    0  14.6T  0 raid6
 +
  └─raid 251:0    0  14.6T  0 crypt /media/raid
 +
sdh        8:112  0  3.7T  0 disk
 +
└─md0      9:0    0  14.6T  0 raid6
 +
  └─raid 251:0    0  14.6T  0 crypt /media/raid
 +
</pre>
 +
 +
=== Results ===
 +
<pre>
 +
eclipse shared # pwd
 +
/media/raid/shared
 +
 
eclipse shared # dd if=/dev/zero of=file bs=64M count=100 conv=fdatasync
 
eclipse shared # dd if=/dev/zero of=file bs=64M count=100 conv=fdatasync
 
100+0 records in
 
100+0 records in
 
100+0 records out
 
100+0 records out
 
6710886400 bytes (6.7 GB) copied, 19.4577 s, 345 MB/s
 
6710886400 bytes (6.7 GB) copied, 19.4577 s, 345 MB/s
eclipse shared # sync
 
 
eclipse shared # dd if=/dev/zero of=file bs=64M count=100 conv=fdatasync
 
eclipse shared # dd if=/dev/zero of=file bs=64M count=100 conv=fdatasync
 
100+0 records in
 
100+0 records in
Line 20: Line 77:
 
6710886400 bytes (6.7 GB) copied, 19.4337 s, 345 MB/s
 
6710886400 bytes (6.7 GB) copied, 19.4337 s, 345 MB/s
  
 +
eclipse shared # echo 3 > /proc/sys/vm/drop_caches
 
eclipse shared # dd if=file of=/dev/null bs=64M
 
eclipse shared # dd if=file of=/dev/null bs=64M
 
100+0 records in
 
100+0 records in

Latest revision as of 11:14, 21 March 2015

RAID 6 + LUKS

Environment

eclipse shared # cat /proc/cpuinfo | grep name | uniq
model name      : Intel(R) Xeon(R) CPU E31240 @ 3.30GHz

eclipse shared # findmnt /media/raid
TARGET      SOURCE           FSTYPE OPTIONS
/media/raid /dev/mapper/raid ext4   rw,relatime,stripe=384,data=ordered

eclipse shared # cat /sys/block/md0/md/stripe_cache_size
32768

eclipse shared # lshw -short -C disk
H/W path             Device     Class       Description
=======================================================
/0/100/1/0/0.0.0     /dev/sdc   disk        4TB ST4000VN000-1H41
/0/100/1/0/0.1.0     /dev/sdd   disk        4TB ST4000VN000-1H41
/0/100/1/0/0.2.0     /dev/sde   disk        4TB ST4000DM000-1F21
/0/100/1/0/0.3.0     /dev/sdf   disk        4TB ST4000VN000-1H41
/0/100/1/0/0.4.0     /dev/sdg   disk        4TB ST4000VN000-1H41
/0/100/1/0/0.5.0     /dev/sdh   disk        4TB ST4000VN000-1H41
/0/1/0.0.0           /dev/sda   disk        128GB Samsung SSD 840
/0/2/0.0.0           /dev/sdb   disk        60GB OCZ-VERTEX3

eclipse shared # lsblk
NAME     MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
sda        8:0    0 119.2G  0 disk
├─sda1     8:1    0    32M  0 part
├─sda2     8:2    0   512M  0 part  [SWAP]
└─sda3     8:3    0 118.7G  0 part  /
sdb        8:16   0  55.9G  0 disk
├─sdb1     8:17   0   243M  0 part
├─sdb2     8:18   0   488M  0 part
└─sdb3     8:19   0  55.2G  0 part
sdc        8:32   0   3.7T  0 disk
└─md0      9:0    0  14.6T  0 raid6
  └─raid 251:0    0  14.6T  0 crypt /media/raid
sdd        8:48   0   3.7T  0 disk
└─md0      9:0    0  14.6T  0 raid6
  └─raid 251:0    0  14.6T  0 crypt /media/raid
sde        8:64   0   3.7T  0 disk
└─md0      9:0    0  14.6T  0 raid6
  └─raid 251:0    0  14.6T  0 crypt /media/raid
sdf        8:80   0   3.7T  0 disk
└─md0      9:0    0  14.6T  0 raid6
  └─raid 251:0    0  14.6T  0 crypt /media/raid
sdg        8:96   0   3.7T  0 disk
└─md0      9:0    0  14.6T  0 raid6
  └─raid 251:0    0  14.6T  0 crypt /media/raid
sdh        8:112  0   3.7T  0 disk
└─md0      9:0    0  14.6T  0 raid6
  └─raid 251:0    0  14.6T  0 crypt /media/raid

Results

eclipse shared # pwd
/media/raid/shared

eclipse shared # dd if=/dev/zero of=file bs=64M count=100 conv=fdatasync
100+0 records in
100+0 records out
6710886400 bytes (6.7 GB) copied, 19.4577 s, 345 MB/s
eclipse shared # dd if=/dev/zero of=file bs=64M count=100 conv=fdatasync
100+0 records in
100+0 records out
6710886400 bytes (6.7 GB) copied, 19.4899 s, 344 MB/s
eclipse shared # dd if=/dev/zero of=file bs=64M count=100 conv=fdatasync
100+0 records in
100+0 records out
6710886400 bytes (6.7 GB) copied, 19.7158 s, 340 MB/s
eclipse shared # dd if=/dev/zero of=file bs=64M count=100 conv=fdatasync
100+0 records in
100+0 records out
6710886400 bytes (6.7 GB) copied, 19.4337 s, 345 MB/s

eclipse shared # echo 3 > /proc/sys/vm/drop_caches
eclipse shared # dd if=file of=/dev/null bs=64M
100+0 records in
100+0 records out
6710886400 bytes (6.7 GB) copied, 11.4224 s, 588 MB/s
eclipse shared # echo 3 > /proc/sys/vm/drop_caches
eclipse shared # dd if=file of=/dev/null bs=64M
100+0 records in
100+0 records out
6710886400 bytes (6.7 GB) copied, 11.3578 s, 591 MB/s
eclipse shared # echo 3 > /proc/sys/vm/drop_caches
eclipse shared # dd if=file of=/dev/null bs=64M
100+0 records in
100+0 records out
6710886400 bytes (6.7 GB) copied, 11.1645 s, 601 MB/s
eclipse shared # echo 3 > /proc/sys/vm/drop_caches
eclipse shared # dd if=file of=/dev/null bs=64M
100+0 records in
100+0 records out
6710886400 bytes (6.7 GB) copied, 11.1897 s, 600 MB/s