Skip to content

Instantly share code, notes, and snippets.

@trenb
trenb / screensaverdisable.reg
Created April 19, 2018 16:51 — forked from agazso/screensaverdisable.reg
Disable screen saver registry script
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Control Panel\Desktop]
"ScreenSaverIsSecure"="0"
"ScreenSaveActive"="0"
"ScreenSaveTimeOut"="999999999"
@trenb
trenb / gist:b8fe272abc0254974e89da892ff438f9
Created July 6, 2017 16:59
fio - zfs-0.7.0-rc4-94-g9c3dcab with PR6316
# FIRST RUN
write: io=30867MB, bw=105359KB/s, iops=26339, runt=300002msec
slat (usec): min=1, max=41072, avg=36.61, stdev=568.43
clat (usec): min=7, max=41373, avg=1139.44, stdev=2992.57
lat (usec): min=132, max=41381, avg=1176.17, stdev=3037.27
clat percentiles (usec):
| 1.00th=[ 143], 5.00th=[ 147], 10.00th=[ 155], 20.00th=[ 163],
| 30.00th=[ 169], 40.00th=[ 175], 50.00th=[ 181], 60.00th=[ 189],
| 70.00th=[ 199], 80.00th=[ 225], 90.00th=[ 5792], 95.00th=[ 8768],
| 99.00th=[12608], 99.50th=[14272], 99.90th=[19328], 99.95th=[38144],
@trenb
trenb / gist:2e7134a3ddc74e16b86c575f180cd41d
Created July 6, 2017 02:04
Strange disk utilization...iostat and zpool iostat -v 1
avg-cpu: %user %nice %system %iowait %steal %idle
0.18 0.00 40.61 9.30 0.00 49.91
Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await r_await w_await svctm %util
sdg 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
sdb 0.00 0.00 0.00 1467.00 0.00 38248.00 52.14 8.53 5.78 0.00 5.78 0.66 96.10
sda 0.00 0.00 0.00 1574.00 0.00 38920.00 49.45 8.32 5.32 0.00 5.32 0.59 93.60
sdc 0.00 0.00 0.00 1554.00 0.00 41892.00 53.92 7.88 5.07 0.00 5.07 0.58 90.40
sde 0.00 0.00 0.00 1612.00 0.00 40428.00 50.16 8.11 5.04 0.00 5.04 0.58 92.90
sdd 0.00 0.00 0.00 1678.00 0.00 41624.00 49.61 8.74 5.20 0.00 5.20 0.58 96.90
@trenb
trenb / gist:40f45ed609b923377fc859835c4f8c7f
Created July 5, 2017 22:55
fio - zfs-0.7.0-rc4-92-g688c94c WITHOUT PR6294 - 4kb zvol WITH zvol_request_sync=1
# FIRST RUN
write: io=26263MB, bw=89640KB/s, iops=22410, runt=300009msec
slat (usec): min=1, max=41231, avg=43.39, stdev=703.67
clat (usec): min=10, max=41422, avg=1339.12, stdev=3696.49
lat (usec): min=127, max=41426, avg=1382.61, stdev=3751.64
clat percentiles (usec):
| 1.00th=[ 141], 5.00th=[ 145], 10.00th=[ 149], 20.00th=[ 157],
| 30.00th=[ 163], 40.00th=[ 169], 50.00th=[ 175], 60.00th=[ 181],
| 70.00th=[ 191], 80.00th=[ 213], 90.00th=[ 6880], 95.00th=[ 9536],
| 99.00th=[15680], 99.50th=[17536], 99.90th=[39168], 99.95th=[39680],
@trenb
trenb / gist:c0f908ab1a86be2c8d5a8229a9d47bbf
Last active July 5, 2017 21:51
fio - zfs-0.7.0-rc4-92-g688c94c WITH PR6294 WITH 4kb zvol WITH zvol_request_sync=1
# FIRST RUN
write: io=26766MB, bw=91361KB/s, iops=22840, runt=300001msec
slat (usec): min=1, max=40482, avg=42.52, stdev=731.22
clat (usec): min=4, max=40674, avg=1313.93, stdev=3860.72
lat (usec): min=128, max=40679, avg=1356.56, stdev=3919.08
clat percentiles (usec):
| 1.00th=[ 141], 5.00th=[ 145], 10.00th=[ 149], 20.00th=[ 157],
| 30.00th=[ 163], 40.00th=[ 169], 50.00th=[ 175], 60.00th=[ 181],
| 70.00th=[ 191], 80.00th=[ 213], 90.00th=[ 6688], 95.00th=[ 8896],
| 99.00th=[14784], 99.50th=[27008], 99.90th=[39168], 99.95th=[39680],
@trenb
trenb / gist:d5825d84a816caab94426a01ea0fc139
Created July 5, 2017 20:46
fio - zfs-0.7.0-rc4-92-g688c94c WITH PR6294 - 4kb zvol
# FIRST RUN
write: io=26115MB, bw=89136KB/s, iops=22284, runt=300004msec
slat (usec): min=1, max=135411, avg=43.59, stdev=640.68
clat (usec): min=5, max=135713, avg=1346.72, stdev=3333.34
lat (usec): min=128, max=135720, avg=1390.41, stdev=3381.78
clat percentiles (usec):
| 1.00th=[ 141], 5.00th=[ 147], 10.00th=[ 149], 20.00th=[ 157],
| 30.00th=[ 163], 40.00th=[ 169], 50.00th=[ 175], 60.00th=[ 181],
| 70.00th=[ 191], 80.00th=[ 215], 90.00th=[ 7008], 95.00th=[ 9792],
| 99.00th=[14656], 99.50th=[16512], 99.90th=[21120], 99.95th=[24448],
@trenb
trenb / gist:e3080954570d998b6270ab46d2dd68c9
Last active July 5, 2017 19:45
fio - zfs-0.7.0-rc4-92-g688c94c WITHOUT PR6294 - 4kb zvol
# FIRST RUN
write: io=14749MB, bw=50341KB/s, iops=12585, runt=300006msec
slat (usec): min=1, max=199828, avg=78.09, stdev=1354.98
clat (usec): min=6, max=399926, avg=2384.22, stdev=7453.66
lat (usec): min=133, max=399932, avg=2462.43, stdev=7609.39
clat percentiles (usec):
| 1.00th=[ 141], 5.00th=[ 147], 10.00th=[ 149], 20.00th=[ 159],
| 30.00th=[ 167], 40.00th=[ 175], 50.00th=[ 183], 60.00th=[ 191],
| 70.00th=[ 205], 80.00th=[ 294], 90.00th=[10048], 95.00th=[11840],
| 99.00th=[21376], 99.50th=[31872], 99.90th=[82432], 99.95th=[122368],
@trenb
trenb / gist:87429658968fabe7b1c3aa560b75d39e
Created June 27, 2017 21:39
fio - ZFS 0.6.4.2 - zfs file system
# FIRST RUN
write: io=74507MB, bw=254319KB/s, iops=63579, runt=300000msec
slat (usec): min=11, max=6063, avg=14.14, stdev= 7.56
clat (usec): min=1, max=13242, avg=472.25, stdev=166.23
lat (usec): min=15, max=13319, avg=486.54, stdev=171.60
clat percentiles (usec):
| 1.00th=[ 442], 5.00th=[ 446], 10.00th=[ 446], 20.00th=[ 450],
| 30.00th=[ 454], 40.00th=[ 454], 50.00th=[ 458], 60.00th=[ 458],
| 70.00th=[ 462], 80.00th=[ 462], 90.00th=[ 466], 95.00th=[ 474],
| 99.00th=[ 940], 99.50th=[ 1448], 99.90th=[ 2608], 99.95th=[ 4512],
@trenb
trenb / gist:c772e68498fbaa1369d680b3f12898dd
Created June 27, 2017 21:38
fio - ZFS 0.6.4.2 - 4kb zvol
# FIRST RUN
write: io=49474MB, bw=168858KB/s, iops=42214, runt=300021msec
slat (usec): min=2, max=100676, avg=22.43, stdev=504.87
clat (usec): min=15, max=100974, avg=711.14, stdev=3180.29
lat (usec): min=139, max=100980, avg=733.67, stdev=3248.00
clat percentiles (usec):
| 1.00th=[ 147], 5.00th=[ 155], 10.00th=[ 165], 20.00th=[ 175],
| 30.00th=[ 183], 40.00th=[ 191], 50.00th=[ 199], 60.00th=[ 207],
| 70.00th=[ 215], 80.00th=[ 225], 90.00th=[ 253], 95.00th=[ 5536],
| 99.00th=[10048], 99.50th=[12096], 99.90th=[51968], 99.95th=[68096],
@trenb
trenb / gist:1a4c1e2ffcf12351db890cfcbf64410e
Created June 27, 2017 21:37
fio - ZFS 0.7.0rc4 - zfs file system
# FIRST RUN
write: io=66674MB, bw=227580KB/s, iops=56894, runt=300000msec
slat (usec): min=8, max=110578, avg=15.98, stdev=128.26
clat (usec): min=1, max=111181, avg=527.73, stdev=934.56
lat (usec): min=12, max=111194, avg=543.86, stdev=955.93
clat percentiles (usec):
| 1.00th=[ 370], 5.00th=[ 378], 10.00th=[ 382], 20.00th=[ 390],
| 30.00th=[ 398], 40.00th=[ 406], 50.00th=[ 410], 60.00th=[ 418],
| 70.00th=[ 426], 80.00th=[ 442], 90.00th=[ 628], 95.00th=[ 1112],
| 99.00th=[ 2416], 99.50th=[ 2736], 99.90th=[ 7392], 99.95th=[13248],