2 root@grml ~ # ./mhbs.sh --destroy-my-data --tune-kernel --install-debs --verbose sda
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=sda
HDD_DEV=/dev/sda
HDD_P1=/dev/sda1
IS_DRBD=0
IS_SSD=0
IS_RAID=0
Model Family: Western Digital Caviar Green (AF, SATA 6Gb/s) Device Model: WDC WD10EARX-00N0YB0 Firmware Version: 51.0AB51
User Capacity: 1,000,204,886,016 bytes [1.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.29019 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
[31683.015908] ata3.00: disabled
[31683.015933] ata3.00: detaching (SCSI 2:0:0:0)
[39071.584689] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[39071.584739] ata1.00: failed to IDENTIFY (I/O error, err_mask=0x100)
[39071.584743] ata1.00: revalidation failed (errno=-5)
[39077.253292] ata1.00: disabled
[39077.253335] ata1.00: detaching (SCSI 0:0:0:0)
[39093.482983] ata4: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[39093.484717] ata4.00: configured for UDMA/133
[39100.983777] ata3: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[39101.007494] ata3.00: ATA-8: WDC WD10EARX-00N0YB0, 51.0AB51, max UDMA/133
[39101.007502] ata3.00: 1953525168 sectors, multi 0: LBA48 NCQ (depth 31/32), AA
[39101.009360] 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/38192KB/0KB /s] [0/9548/0 iops] [eta 00m:00s] file1: (groupid=0, jobs=1): err= 0: pid=17240: Sun Nov 3 02:56:42 2013 write: io=2262.8MB, bw=38616KB/s, iops=9654, runt= 60001msec clat (usec): min=56, max=432020, avg=101.27, stdev=571.69 lat (usec): min=57, max=432021, avg=101.67, stdev=571.69 clat percentiles (usec): | 1.00th=[ 76], 5.00th=[ 80], 10.00th=[ 81], 20.00th=[ 83], | 30.00th=[ 85], 40.00th=[ 87], 50.00th=[ 89], 60.00th=[ 91], | 70.00th=[ 93], 80.00th=[ 103], 90.00th=[ 147], 95.00th=[ 149], | 99.00th=[ 167], 99.50th=[ 179], 99.90th=[ 1288], 99.95th=[ 1544], | 99.99th=[ 1640] bw (KB /s): min= 4253, max=43928, per=100.00%, avg=38626.30, stdev=3549.42 lat (usec) : 100=77.87%, 250=21.87%, 500=0.01%, 750=0.01%, 1000=0.05% lat (msec) : 2=0.20%, 4=0.01%, 10=0.01%, 20=0.01%, 500=0.01% cpu : usr=3.77%, sys=21.93%, ctx=580761, 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=579255/d=0, short=r=0/w=0/d=0
Run status group 0 (all jobs): WRITE: io=2262.8MB, aggrb=38616KB/s, minb=38616KB/s, maxb=38616KB/s, mint=60001msec, maxt=60001msec
Disk stats (read/write): sda: ios=83/578841, merge=0/0, ticks=4/50300, in_queue=49764, util=82.94% 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/435KB/0KB /s] [0/108/0 iops] [eta 00m:00s] file1: (groupid=0, jobs=1): err= 0: pid=17310: Sun Nov 3 02:57:52 2013 write: io=27520KB, bw=467121B/s, iops=114, runt= 60328msec slat (usec): min=4, max=163, avg=46.00, stdev= 8.90 clat (usec): min=216, max=782519, avg=280464.51, stdev=56802.32 lat (usec): min=225, max=782524, avg=280511.25, stdev=56805.60 clat percentiles (msec): | 1.00th=[ 3], 5.00th=[ 233], 10.00th=[ 241], 20.00th=[ 255], | 30.00th=[ 265], 40.00th=[ 277], 50.00th=[ 285], 60.00th=[ 293], | 70.00th=[ 302], 80.00th=[ 310], 90.00th=[ 326], 95.00th=[ 338], | 99.00th=[ 371], 99.50th=[ 502], 99.90th=[ 717], 99.95th=[ 742], | 99.99th=[ 783] bw (KB /s): min= 267, max= 1207, per=99.78%, avg=455.00, stdev=81.71 lat (usec) : 250=0.04%, 500=0.04%, 750=0.06%, 1000=0.06% lat (msec) : 2=0.22%, 4=1.69%, 250=13.46%, 500=83.92%, 750=0.47% lat (msec) : 1000=0.04% cpu : usr=0.30%, sys=0.83%, ctx=6982, 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=6880/d=0, short=r=0/w=0/d=0
Run status group 0 (all jobs): clat (usec): min=46, max=10078, avg=79.70, stdev=28.36 lat (usec): min=46, max=10078, avg=79.95, stdev=28.37 clat percentiles (usec): | 1.00th=[ 64], 5.00th=[ 68], 10.00th=[ 71], 20.00th=[ 73], | 30.00th=[ 75], 40.00th=[ 77], 50.00th=[ 78], 60.00th=[ 79], | 70.00th=[ 81], 80.00th=[ 82], 90.00th=[ 86], 95.00th=[ 90], | 99.00th=[ 119], 99.50th=[ 143], 99.90th=[ 524], 99.95th=[ 548], | 99.99th=[ 572] bw (KB /s): min=45240, max=56624, per=100.00%, avg=48934.80, stdev=1093.79 lat (usec) : 50=0.01%, 100=98.36%, 250=1.38%, 500=0.10%, 750=0.15% lat (msec) : 2=0.01%, 10=0.01%, 20=0.01% cpu : usr=4.59%, sys=26.19%, ctx=735612, 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=734019/w=0/d=0, short=r=0/w=0/d=0
Run status group 0 (all jobs): READ: io=2867.3MB, aggrb=48933KB/s, minb=48933KB/s, maxb=48933KB/s, mint=60001msec, maxt=60001msec
Disk stats (read/write): sda: ios=733445/0, merge=0/0, ticks=48460/0, in_queue=47512, util=79.19% 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] [527KB/0KB/0KB /s] [131/0/0 iops] [eta 00m:00s] file1: (groupid=0, jobs=1): err= 0: pid=17396: Sun Nov 3 03:00:04 2013 read : io=29956KB, bw=508646B/s, iops=124, runt= 60307msec slat (usec): min=5, max=151, avg=47.44, stdev= 9.53 clat (msec): min=8, max=2050, avg=257.57, stdev=264.88 lat (msec): min=8, max=2050, avg=257.61, stdev=264.88 clat percentiles (msec): | 1.00th=[ 20], 5.00th=[ 29], 10.00th=[ 36], 20.00th=[ 60], | 30.00th=[ 89], 40.00th=[ 126], 50.00th=[ 172], 60.00th=[ 225], | 70.00th=[ 297], 80.00th=[ 404], 90.00th=[ 603], 95.00th=[ 791], | 99.00th=[ 1270], 99.50th=[ 1450], 99.90th=[ 1909], 99.95th=[ 2024], | 99.99th=[ 2057] bw (KB /s): min= 307, max= 569, per=99.88%, avg=495.43, stdev=63.22 lat (msec) : 10=0.01%, 20=1.09%, 50=15.32%, 100=17.00%, 250=30.52% lat (msec) : 500=21.66%, 750=8.61%, 1000=3.32%, 2000=2.40%, >=2000=0.05% cpu : usr=0.27%, sys=1.21%, ctx=7635, majf=0, minf=57 IO depths : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.1%, 16=0.2%, 32=99.6%, >=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=7489/w=0/d=0, short=r=0/w=0/d=0
Run status group 0 (all jobs): READ: io=29956KB, aggrb=496KB/s, minb=496KB/s, maxb=496KB/s, mint=60307msec, maxt=60307msec
Disk stats (read/write): READ: io=29956KB, aggrb=496KB/s, minb=496KB/s, maxb=496KB/s, mint=60307msec, maxt=60307msec
Disk stats (read/write): sda: ios=7478/0, merge=0/0, ticks=1918420/0, in_queue=1922960, util=99.89% --2013-11-03 03:00:04-- http://debian.gsd-software.net/benchmark/seeker_baryluk.c Resolving debian.gsd-software.net (debian.gsd-software.net)... 176.9.178.133 Connecting to debian.gsd-software.net (debian.gsd-software.net)|176.9.178.133|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 4789 (4.7K) [text/x-csrc] Saving to: ‘seeker_baryluk.c.1’
100%[===========================================================================================================================================>] 4,789 11.5KB/s in 0.4s
2013-11-03 03:00:05 (11.5 KB/s) - ‘seeker_baryluk.c.1’ saved [4789/4789]
Threads: 01 Results: 66 seeks/second, 14.978 ms random access time (213199661 < offsets < 999000069858) Threads: 02 Results: 70 seeks/second, 14.091 ms random access time (36010910 < offsets < 1000154183742) Threads: 04 Results: 83 seeks/second, 12.019 ms random access time (1424873154 < offsets < 999459915634) Threads: 08 Results: 97 seeks/second, 10.299 ms random access time (112632078 < offsets < 999787126480) Threads: 16 Results: 112 seeks/second, 8.923 ms random access time (391237486 < offsets < 1000106703107) Threads: 32 Results: 124 seeks/second, 8.009 ms random access time (232509468 < offsets < 999668488003) 16000+0 records in 16000+0 records out 16777216000 bytes (17 GB) copied, 133.2 s, 126 MB/s 16000+0 records in 16000+0 records out 16777216000 bytes (17 GB) copied, 133.742 s, 125 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 83022 26 47538 16 121785 20 135.5 8 Latency 816ms 746ms 21637us 304ms 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 13836 34 209 1 19549 29 20290 48 243 1 13662 23 Latency 847ms 106ms 653ms 151ms 239ms 791ms
1.97,1.97,grml,1,1383463817,47G,,,,83022,26,47538,16,,,121785,20,135.5,8,128,4096,4096,,,13836,34,209,1,19549,29,20290,48,243,1,13662,23,,816ms,746ms,,21637us,304ms,847ms,106ms,653ms,151ms,239ms,791ms
./mhbs.sh --destroy-my-data --tune-kernel --install-debs --verbose sda 28.54s user 527.66s system 13% cpu 1:07:47.90 total root@grml ~ #