root@tty:~# ./mhbs.sh --destroy-my-data --tune-kernel --verbose sdb
DO_WRITE=1
TUNE_KERNEL=1
HDD=sdb
HDD_DEV=/dev/sdb
HDD_P1=/dev/sdb1
IS_DRBD=0
IS_SSD=0
IS_RAID=0
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Device Model:     WDC WD3001FFSX-68JNUN0
Firmware Version: 81.00A81
User Capacity:    3,000,592,982,016 bytes [3.00 TB]
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
model name  : Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz
6
6
Linux finnix 3.13.0-1-amd64-finnix #1 SMP Sat Mar 29 09:20:50 UTC 2014 x86_64 GNU/Linux
[    0.000000] Memory: 1019448K/1048144K available (4790K kernel code, 693K rwdata, 1600K rodata, 1000K init, 952K bss, 28696K reserved)
1000+0 records in
1000+0 records out
33554432000 bytes (34 GB) copied, 3.62177 s, 9.3 GB/s
00:11.4 SATA controller: Intel Corporation C610/X99 series chipset sSATA Controller [AHCI mode] (rev 05)
00:1f.2 RAID bus controller: Intel Corporation C600/X79 series chipset SATA RAID Controller (rev 05)
egrep: /var/log/kern.log: No such file or directory
[    2.338370] ata6: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    2.339933] ata6.00: ATA-8: WDC WD3001FFSX-68JNUN0, 81.00A81, max UDMA/133
[    2.339938] ata6.00: 5860533168 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
[    2.340502] ata6.00: configured for UDMA/133
[    2.342328] ata5: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    2.342350] ata8: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    2.343235] ata5.00: ATA-8: WDC WD6401AALS-00L3B2, 01.03B01, max UDMA/133
[    2.343240] ata5.00: 1250263728 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
[    2.343268] ata8.00: ATA-8: WDC WD6401AALS-00L3B2, 01.03B01, max UDMA/133
[    2.343271] ata8.00: 1250263728 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
[    2.344202] ata5.00: configured for UDMA/133
[    2.344236] ata8.00: configured for UDMA/133
256
noop deadline [cfq] 
31
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
file1: (g=0): rw=write, bs=4K-4K/4K-4K/4K-4K, ioengine=sync, iodepth=1
fio-2.1.11
Starting 1 process
Jobs: 1 (f=1): [W(1)] [100.0% done] [0KB/135.1MB/0KB /s] [0/34.8K/0 iops] [eta 00m:00s]
file1: (groupid=0, jobs=1): err= 0: pid=12300: Mon Nov 16 15:39:48 2015
  write: io=3967.1MB, bw=137623KB/s, iops=34405, runt= 60001msec
    clat (usec): min=22, max=279760, avg=28.57, stdev=201.88
     lat (usec): min=22, max=279761, avg=28.65, stdev=201.88
    clat percentiles (usec):
     |  1.00th=[   23],  5.00th=[   23], 10.00th=[   24], 20.00th=[   24],
     | 30.00th=[   24], 40.00th=[   25], 50.00th=[   25], 60.00th=[   27],
     | 70.00th=[   28], 80.00th=[   29], 90.00th=[   31], 95.00th=[   31],
     | 99.00th=[   33], 99.50th=[   39], 99.90th=[  740], 99.95th=[ 1080],
     | 99.99th=[ 1112]
    bw (KB  /s): min=17576, max=140024, per=100.00%, avg=137624.40, stdev=11586.93
    lat (usec) : 50=99.60%, 100=0.14%, 250=0.01%, 500=0.07%, 750=0.11%
    lat (usec) : 1000=0.01%
    lat (msec) : 2=0.07%, 4=0.01%, 10=0.01%, 20=0.01%, 50=0.01%
    lat (msec) : 500=0.01%
  cpu          : usr=2.61%, sys=11.16%, ctx=2064426, majf=0, minf=29
  IO depths    : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     issued    : total=r=0/w=2064376/d=0, short=r=0/w=0/d=0
     latency   : target=0, window=0, percentile=100.00%, depth=1

Run status group 0 (all jobs):
  WRITE: io=8063.1MB, aggrb=137622KB/s, minb=137622KB/s, maxb=137622KB/s, mint=60001msec, maxt=60001msec

Disk stats (read/write):
  sdb: ios=44/2061555, merge=231/0, ticks=648/46216, in_queue=46672, util=76.91%
file1: (g=0): rw=randwrite, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=32
fio-2.1.11
Starting 1 process
Jobs: 1 (f=1): [w(1)] [100.0% done] [0KB/815KB/0KB /s] [0/203/0 iops] [eta 00m:00s]
file1: (groupid=0, jobs=1): err= 0: pid=12363: Mon Nov 16 15:40:59 2015
  write: io=48952KB, bw=833364B/s, iops=203, runt= 60150msec
    slat (usec): min=3, max=57, avg=20.35, stdev= 5.32
    clat (usec): min=161, max=1297.3K, avg=157196.00, stdev=120084.41
     lat (usec): min=166, max=1297.3K, avg=157216.88, stdev=120085.11
    clat percentiles (usec):
     |  1.00th=[  892],  5.00th=[ 2384], 10.00th=[123392], 20.00th=[136192],
     | 30.00th=[142336], 40.00th=[146432], 50.00th=[150528], 60.00th=[154624],
     | 70.00th=[158720], 80.00th=[166912], 90.00th=[179200], 95.00th=[197632],
     | 99.00th=[1003520], 99.50th=[1089536], 99.90th=[1187840], 99.95th=[1187840],
     | 99.99th=[1187840]
    bw (KB  /s): min=  113, max= 2011, per=100.00%, avg=845.69, stdev=237.13
    lat (usec) : 250=0.04%, 500=0.20%, 750=0.50%, 1000=0.38%
    lat (msec) : 2=3.55%, 4=0.56%, 10=0.83%, 20=0.15%, 50=0.58%
    lat (msec) : 100=1.01%, 250=90.48%, 500=0.16%, 1000=0.51%, 2000=1.06%
  cpu          : usr=0.44%, sys=0.60%, ctx=12234, majf=0, minf=26
  IO depths    : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=0.1%, 32=99.7%, >=64=0.0%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.1%, 64=0.0%, >=64=0.0%
     issued    : total=r=0/w=12238/d=0, short=r=0/w=0/d=0
     latency   : target=0, window=0, percentile=100.00%, depth=32

Run status group 0 (all jobs):
  WRITE: io=48952KB, aggrb=813KB/s, minb=813KB/s, maxb=813KB/s, mint=60150msec, maxt=60150msec

Disk stats (read/write):
  sdb: ios=70/12227, merge=462/0, ticks=17796/1918916, in_queue=1938096, util=99.70%
file1: (g=0): rw=read, bs=4K-4K/4K-4K/4K-4K, ioengine=sync, iodepth=1
fio-2.1.11
Starting 1 process
Jobs: 1 (f=1): [R(1)] [100.0% done] [132.3MB/0KB/0KB /s] [33.9K/0/0 iops] [eta 00m:00s]
file1: (groupid=0, jobs=1): err= 0: pid=12423: Mon Nov 16 15:42:09 2015
  read : io=3815.9MB, bw=135027KB/s, iops=33756, runt= 60001msec
    clat (usec): min=26, max=11295, avg=29.19, stdev=15.80
     lat (usec): min=26, max=11295, avg=29.25, stdev=15.80
    clat percentiles (usec):
     |  1.00th=[   26],  5.00th=[   26], 10.00th=[   27], 20.00th=[   27],
     | 30.00th=[   27], 40.00th=[   28], 50.00th=[   29], 60.00th=[   29],
     | 70.00th=[   29], 80.00th=[   30], 90.00th=[   30], 95.00th=[   30],
     | 99.00th=[   35], 99.50th=[   36], 99.90th=[  290], 99.95th=[  294],
     | 99.99th=[  298]
    bw (KB  /s): min=105520, max=136160, per=100.00%, avg=135032.00, stdev=3459.97
    lat (usec) : 50=99.75%, 100=0.01%, 250=0.01%, 500=0.25%
    lat (msec) : 10=0.01%, 20=0.01%
  cpu          : usr=2.16%, sys=8.45%, ctx=2025473, majf=0, minf=28
  IO depths    : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 32=0.0%, >=64=0.0%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     issued    : total=r=2025434/w=0/d=0, short=r=0/w=0/d=0
     latency   : target=0, window=0, percentile=100.00%, depth=1

Run status group 0 (all jobs):
   READ: io=7911.9MB, aggrb=135026KB/s, minb=135026KB/s, maxb=135026KB/s, mint=60001msec, maxt=60001msec

Disk stats (read/write):
  sdb: ios=2023540/0, merge=0/0, ticks=48516/0, in_queue=48352, util=80.59%
file1: (g=0): rw=randread, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=32
fio-2.1.11
Starting 1 process
Jobs: 1 (f=1): [r(1)] [100.0% done] [751KB/0KB/0KB /s] [187/0/0 iops] [eta 00m:00s]
file1: (groupid=0, jobs=1): err= 0: pid=12440: Mon Nov 16 15:43:10 2015
  read : io=42956KB, bw=730291B/s, iops=178, runt= 60232msec
    slat (usec): min=3, max=65, avg=17.70, stdev= 2.48
    clat (msec): min=6, max=1808, avg=179.39, stdev=176.15
     lat (msec): min=6, max=1808, avg=179.41, stdev=176.15
    clat percentiles (msec):
     |  1.00th=[   15],  5.00th=[   20], 10.00th=[   26], 20.00th=[   44],
     | 30.00th=[   67], 40.00th=[   93], 50.00th=[  126], 60.00th=[  165],
     | 70.00th=[  212], 80.00th=[  281], 90.00th=[  404], 95.00th=[  529],
     | 99.00th=[  832], 99.50th=[  979], 99.90th=[ 1254], 99.95th=[ 1336],
     | 99.99th=[ 1680]
    bw (KB  /s): min=  571, max=  822, per=100.00%, avg=714.19, stdev=41.38
    lat (msec) : 10=0.02%, 20=5.17%, 50=18.11%, 100=19.02%, 250=33.54%
    lat (msec) : 500=18.20%, 750=4.46%, 1000=1.06%, 2000=0.42%
  cpu          : usr=0.31%, sys=0.58%, ctx=10777, majf=0, minf=58
  IO depths    : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=0.1%, 32=99.7%, >=64=0.0%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.1%, 64=0.0%, >=64=0.0%
     issued    : total=r=10739/w=0/d=0, short=r=0/w=0/d=0
     latency   : target=0, window=0, percentile=100.00%, depth=32

Run status group 0 (all jobs):
   READ: io=42956KB, aggrb=713KB/s, minb=713KB/s, maxb=713KB/s, mint=60232msec, maxt=60232msec

Disk stats (read/write):
  sdb: ios=10730/0, merge=0/0, ticks=1918588/0, in_queue=1921216, util=99.78%
--2015-11-16 15:43:10--  http://www.meebey.net/research/seeker_baryluk.c
Resolving www.meebey.net (www.meebey.net)... 2a01:4f8:a0:7041::2, 213.239.220.50
Connecting to www.meebey.net (www.meebey.net)|2a01:4f8:a0:7041::2|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4789 (4.7K) [text/x-csrc]
Saving to: 'seeker_baryluk.c'

seeker_baryluk.c                                   100%[==================================================================================================================>]   4.68K  --.-KB/s   in 0.06s  

2015-11-16 15:43:10 (77.4 KB/s) - 'seeker_baryluk.c' saved [4789/4789]

Threads: 01 Results: 82 seeks/second, 12.180 ms random access time (1244965638 < offsets < 2999926301767)
Threads: 02 Results: 94 seeks/second, 10.575 ms random access time (1028475572 < offsets < 3000421782735)
Threads: 04 Results: 109 seeks/second, 9.138 ms random access time (2448995750 < offsets < 3000268647232)
Threads: 08 Results: 127 seeks/second, 7.829 ms random access time (62507822 < offsets < 2999627679362)
Threads: 16 Results: 149 seeks/second, 6.707 ms random access time (817348190 < offsets < 3000085852091)
Threads: 32 Results: 171 seeks/second, 5.829 ms random access time (252477894 < offsets < 2998903689098)
16000+0 records in
16000+0 records out
16777216000 bytes (17 GB) copied, 91.4872 s, 183 MB/s
16000+0 records in
16000+0 records out
16777216000 bytes (17 GB) copied, 91.4575 s, 183 MB/s
mke2fs 1.42.9 (4-Feb-2014)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
3907584 inodes, 15624704 blocks
781235 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
477 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks: 
    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
    4096000, 7962624, 11239424

Allocating group tables: done                            
Writing inode tables: done                            
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done   

Using uid:0, gid:0.
Writing intelligently...done
Rewriting...done
Reading intelligently...done
start 'em...done...done...done...done...done...
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Create files in random order...done.
Stat files in random order...done.
Delete files in random order...done.
Version  1.97       ------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          47G           167855  26 75897  10           177523  12 212.9   3
Latency                         264ms     530ms             34984us     496ms
Version  1.97       ------Sequential Create------ --------Random Create--------
finnix              -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files:max:min        /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
      128:4096:4096 23721  39   159   1 27466  34 28517  45   162   1 20541  25
Latency               408ms     103ms     443ms     997ms   64678us     563ms
1.97,1.97,finnix,1,1447676553,47G,,,,167855,26,75897,10,,,177523,12,212.9,3,128,4096,4096,,,23721,39,159,1,27466,34,28517,45,162,1,20541,25,,264ms,530ms,,34984us,496ms,408ms,103ms,443ms,997ms,64678us,563ms
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------