root@grml ~ # ./mhbs.sh --destroy-my-data --tune-kernel --install-debs --verbose sdb
Reading package lists... Done
Building dependency tree
Reading state information... Done
libc6-dev is already the newest version.
fio is already the newest version.
gcc is already the newest version.
hdparm is already the newest version.
ncurses-bin is already the newest version.
parted is already the newest version.
smartmontools is already the newest version.
util-linux is already the newest version.
wget is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
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
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Model Family:     Western Digital Red (AF)
Device Model:     WDC WD30EFRX-68AX9N0
Firmware Version: 80.00A80
User Capacity:    3,000,592,982,016 bytes [3.00 TB]
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
model name      : AMD A8-5500 APU with Radeon(tm) HD Graphics
model name      : AMD A8-5500 APU with Radeon(tm) HD Graphics
4
4
Linux grml 3.10-1-grml-amd64 #1 SMP Debian 3.10.10-1+grml.1 (2013-08-30) x86_64 GNU/Linux
[    0.000000] Memory: 1009400k/1048576k available (3801k kernel code, 396k absent, 38780k reserved, 2973k data, 932k init)
1000+0 records in
1000+0 records out
33554432000 bytes (34 GB) copied, 7.31764 s, 4.6 GB/s
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 40)
egrep: /var/log/kern.log: No such file or directory
[    3.929066] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    3.929089] ata3: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[    3.929355] ata1.00: ATA-8: OCZ-VERTEX450, 1.0, max UDMA/133
[    3.929359] ata1.00: 250069680 sectors, multi 1: LBA48 NCQ (depth 31/32), AA
[    3.929659] ata3.00: ATA-9: WDC WD30EFRX-68AX9N0, 80.00A80, max UDMA/133
[    3.929663] ata3.00: 5860533168 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
[    3.930383] ata3.00: configured for UDMA/133
[    3.931469] ata1.00: configured for UDMA/133
[ 1943.833493] ata3: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 1943.835830] ata3.00: configured for UDMA/133
[ 1948.505982] ata4: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 1948.650895] ata4.00: ATA-9: WDC WD20EFRX-68AX9N0, 80.00A80, max UDMA/133
[ 1948.650904] ata4.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 31/32), AA
[ 1948.651735] ata4.00: configured for UDMA/133
[10214.019323] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[10214.021307] ata1.00: configured for UDMA/133
[10250.731259] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[10250.733821] ata1.00: configured for UDMA/133
[10446.243918] ata4: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[10446.245624] ata4.00: configured for UDMA/133
[10448.528158] ata3: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[10448.673849] ata3.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.1
Starting 1 process
Jobs: 1 (f=1): [W] [100.0% done] [0KB/42840KB/0KB /s] [0/10.8K/0 iops] [eta 00m:00s]
file1: (groupid=0, jobs=1): err= 0: pid=8989: Sat Nov  2 18:54:53 2013
  write: io=2428.8MB, bw=41449KB/s, iops=10362, runt= 60001msec
    clat (usec): min=49, max=49350, avg=94.25, stdev=79.82
     lat (usec): min=49, max=49350, avg=94.64, stdev=79.82
    clat percentiles (usec):
     |  1.00th=[   68],  5.00th=[   75], 10.00th=[   78], 20.00th=[   81],
     | 30.00th=[   83], 40.00th=[   85], 50.00th=[   87], 60.00th=[   89],
     | 70.00th=[   91], 80.00th=[   94], 90.00th=[  139], 95.00th=[  147],
     | 99.00th=[  155], 99.50th=[  179], 99.90th=[ 1032], 99.95th=[ 1320],
     | 99.99th=[ 1400]
    bw (KB  /s): min=37792, max=46360, per=100.00%, avg=41447.26, stdev=1848.31
    lat (usec) : 50=0.01%, 100=87.66%, 250=12.10%, 500=0.02%, 750=0.06%
    lat (usec) : 1000=0.03%
    lat (msec) : 2=0.13%, 10=0.01%, 50=0.01%
  cpu          : usr=4.29%, sys=26.51%, ctx=623492, 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=0/w=621744/d=0, short=r=0/w=0/d=0

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

Disk stats (read/write):
  sdb: ios=86/621075, merge=0/0, ticks=152/48524, in_queue=48216, util=80.25%
file1: (g=0): rw=randwrite, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=32
fio-2.1.1
Starting 1 process
Jobs: 1 (f=1): [w] [100.0% done] [0KB/431KB/0KB /s] [0/107/0 iops] [eta 00m:00s]
file1: (groupid=0, jobs=1): err= 0: pid=9066: Sat Nov  2 18:56:04 2013
  write: io=26712KB, bw=453541B/s, iops=110, runt= 60310msec
    slat (usec): min=4, max=170, avg=50.06, stdev=10.03
    clat (usec): min=271, max=571406, avg=288820.12, stdev=56148.64
     lat (usec): min=283, max=571460, avg=288870.83, stdev=56153.09
    clat percentiles (usec):
     |  1.00th=[ 1640],  5.00th=[228352], 10.00th=[246784], 20.00th=[264192],
     | 30.00th=[272384], 40.00th=[280576], 50.00th=[292864], 60.00th=[301056],
     | 70.00th=[313344], 80.00th=[325632], 90.00th=[342016], 95.00th=[358400],
     | 99.00th=[391168], 99.50th=[407552], 99.90th=[522240], 99.95th=[544768],
     | 99.99th=[569344]
    bw (KB  /s): min=  281, max= 1533, per=99.88%, avg=441.49, stdev=111.31
    lat (usec) : 500=0.13%, 750=0.09%, 1000=0.09%
    lat (msec) : 2=1.39%, 10=0.01%, 20=0.03%, 50=0.16%, 100=0.19%
    lat (msec) : 250=9.40%, 500=88.35%, 750=0.13%
  cpu          : usr=0.45%, sys=1.05%, ctx=6792, majf=0, minf=24
  IO depths    : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=0.2%, 32=99.5%, >=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=6678/d=0, short=r=0/w=0/d=0

Run status group 0 (all jobs):
  WRITE: io=26712KB, aggrb=442KB/s, minb=442KB/s, maxb=442KB/s, mint=60310msec, maxt=60310msec

Disk stats (read/write):
  sdb: ios=83/6658, merge=0/0, ticks=8/1917812, in_queue=1922044, util=99.78%
file1: (g=0): rw=read, bs=4K-4K/4K-4K/4K-4K, ioengine=sync, iodepth=1
fio-2.1.1
Starting 1 process
Jobs: 1 (f=1): [R] [100.0% done] [57108KB/0KB/0KB /s] [14.3K/0/0 iops] [eta 00m:00s]
file1: (groupid=0, jobs=1): err= 0: pid=9135: Sat Nov  2 18:57:14 2013
  read : io=3340.6MB, bw=57011KB/s, iops=14252, runt= 60001msec
    clat (usec): min=41, max=13044, avg=68.22, stdev=22.46
     lat (usec): min=41, max=13045, avg=68.47, stdev=22.46
    clat percentiles (usec):
     |  1.00th=[   56],  5.00th=[   61], 10.00th=[   62], 20.00th=[   64],
     | 30.00th=[   66], 40.00th=[   67], 50.00th=[   68], 60.00th=[   69],
     | 70.00th=[   69], 80.00th=[   71], 90.00th=[   72], 95.00th=[   73],
     | 99.00th=[   82], 99.50th=[   93], 99.90th=[  374], 99.95th=[  458],
     | 99.99th=[  494]
    bw (KB  /s): min=50112, max=65680, per=100.00%, avg=57017.68, stdev=1342.57
    lat (usec) : 50=0.22%, 100=99.37%, 250=0.20%, 500=0.21%, 750=0.01%
    lat (msec) : 2=0.01%, 4=0.01%, 10=0.01%, 20=0.01%
  cpu          : usr=5.29%, sys=29.86%, ctx=856903, majf=0, minf=30
  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=855184/w=0/d=0, short=r=0/w=0/d=0

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

Disk stats (read/write):
  sdb: ios=854448/0, merge=0/0, ticks=47184/0, in_queue=46336, util=77.23%
file1: (g=0): rw=randread, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio, iodepth=32
fio-2.1.1
Starting 1 process
Jobs: 1 (f=1): [r] [100.0% done] [395KB/0KB/0KB /s] [98/0/0 iops] [eta 00m:00s]
file1: (groupid=0, jobs=1): err= 0: pid=9144: Sat Nov  2 18:58:15 2013
  read : io=22724KB, bw=385446B/s, iops=94, runt= 60370msec
    slat (usec): min=5, max=131, avg=49.00, stdev= 7.19
    clat (msec): min=11, max=2063, avg=339.85, stdev=287.25
     lat (msec): min=11, max=2063, avg=339.90, stdev=287.25
    clat percentiles (msec):
     |  1.00th=[   28],  5.00th=[   38], 10.00th=[   53], 20.00th=[   94],
     | 30.00th=[  143], 40.00th=[  200], 50.00th=[  265], 60.00th=[  338],
     | 70.00th=[  433], 80.00th=[  553], 90.00th=[  717], 95.00th=[  898],
     | 99.00th=[ 1303], 99.50th=[ 1434], 99.90th=[ 1958], 99.95th=[ 2040],
     | 99.99th=[ 2057]
    bw (KB  /s): min=  211, max=  431, per=99.75%, avg=375.07, stdev=25.45
    lat (msec) : 20=0.09%, 50=9.21%, 100=12.23%, 250=26.46%, 500=28.08%
    lat (msec) : 750=15.19%, 1000=5.60%, 2000=3.06%, >=2000=0.09%
  cpu          : usr=0.38%, sys=0.87%, ctx=5781, majf=0, minf=57
  IO depths    : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=0.3%, 32=99.5%, >=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=5681/w=0/d=0, short=r=0/w=0/d=0

Run status group 0 (all jobs):
   READ: io=22724KB, aggrb=376KB/s, minb=376KB/s, maxb=376KB/s, mint=60370msec, maxt=60370msec

Disk stats (read/write):
  sdb: ios=5680/0, merge=0/0, ticks=1924372/0, in_queue=1925060, util=99.77%
Threads: 01 Results: 47 seeks/second, 21.097 ms random access time (4669116121 < offsets < 3000128974329)
Threads: 02 Results: 51 seeks/second, 19.342 ms random access time (4574662743 < offsets < 3000452779551)
Threads: 04 Results: 61 seeks/second, 16.251 ms random access time (1891822958 < offsets < 2999041546960)
Threads: 08 Results: 73 seeks/second, 13.699 ms random access time (1184893239 < offsets < 3000442548813)
Threads: 16 Results: 82 seeks/second, 12.097 ms random access time (263158549 < offsets < 2999271721790)
Threads: 32 Results: 89 seeks/second, 11.148 ms random access time (1291768258 < offsets < 2999673506695)
16000+0 records in
16000+0 records out
16777216000 bytes (17 GB) copied, 108.049 s, 155 MB/s
16000+0 records in
16000+0 records out
16777216000 bytes (17 GB) copied, 108.271 s, 155 MB/s
mke2fs 1.42.8 (20-Jun-2013)
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=4294967296
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
grml            47G           96831  31 56314  18           150935  25 135.9   8
Latency                         678ms     425ms             24693us    1258ms
Version  1.97       ------Sequential Create------ --------Random Create--------
grml                -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files:max:min        /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
      128:4096:4096 18521  42   189   1 20121  29 24784  53   239   1 14741  23
Latency               646ms     304ms     643ms     212ms     198ms     752ms
1.97,1.97,grml,1,1383426120,47G,,,,96831,31,56314,18,,,150935,25,135.9,8,128,4096,4096,,,18521,42,189,1,20121,29,24784,53,239,1,14741,23,,678ms,425ms,,24693us,1258ms,646ms,304ms,643ms,212ms,198ms,752ms
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------