Skip to content

Instantly share code, notes, and snippets.

@rigomate
Created October 12, 2022 11:21
Show Gist options
  • Save rigomate/808694d2297ec8b0126dc49b6008e402 to your computer and use it in GitHub Desktop.
Save rigomate/808694d2297ec8b0126dc49b6008e402 to your computer and use it in GitHub Desktop.
diskspd test
diskspd.exe -c10M -d360 -r -w40 -t8 -o32 -b4k -Sh -L testfile.dat
@rigomate
Copy link
Author

Linux native:
Command Line: diskspd -c10M -d360 -r -w40 -t8 -o32 -Sh -L testfile.dat

System info:
processor count: 8
caching options: fua=0

Input parameters:

job:   1
________
duration: 360s
warm up time: 5s
measuring latency
random seed: 0
total threads: 8
path: 'testfile.dat'
	size: 10485760B
	using O_DIRECT
	using O_SYNC
	performing mix test (read/write ratio: 60/40)
	block size: 65536
	using random I/O (alignment: 65536)
	number of outstanding I/O operations: 32)
	thread stride size: 0
	threads per file: 8
	block device: sda
	device scheduler: mq-deadline

Results for job 1:
test time: 360s


CPU | Usage | User | Kernel | IO Wait | Idle

0 |   4.18% |   1.30% |   2.88% |   1.11% |  94.71% 
1 |   3.50% |   1.05% |   2.45% |   0.64% |  95.86% 
2 |   6.45% |   3.70% |   2.75% |   0.43% |  93.13% 
3 |   5.34% |   2.03% |   3.31% |  16.57% |  78.09% 
4 |   3.92% |   1.16% |   2.76% |   0.91% |  95.17% 
5 |   3.53% |   1.05% |   2.48% |   0.65% |  95.82% 
6 |   6.66% |   3.83% |   2.83% |   0.59% |  92.75% 
7 |   4.18% |   1.79% |   2.39% |   0.52% |  95.31% 

avg: 4.72% | 1.99% | 2.73% | 2.68% | 92.60%

Total IO
thread | bytes | I/Os | MB/s | I/O per s | AvgLat(ms) | LatStdDev | file

 0 |      3161260032 |        48237 |       8.37 |     133.99 |     238.831 |      31.059 | testfile.dat (10485760B)
 1 |      3095855104 |        47239 |       8.20 |     131.22 |     243.865 |      31.413 | testfile.dat (10485760B)
 2 |      3162898432 |        48262 |       8.38 |     134.06 |     238.702 |      35.834 | testfile.dat (10485760B)
 3 |      3868983296 |        59036 |      10.25 |     163.99 |     195.129 |      27.738 | testfile.dat (10485760B)
 4 |      3152936960 |        48110 |       8.35 |     133.64 |     239.442 |      31.097 | testfile.dat (10485760B)
 5 |      3112370176 |        47491 |       8.24 |     131.92 |     242.569 |      31.389 | testfile.dat (10485760B)
 6 |      3159687168 |        48213 |       8.37 |     133.93 |     238.943 |      34.865 | testfile.dat (10485760B)
 7 |      3951493120 |        60295 |      10.47 |     167.49 |     191.058 |      27.458 | testfile.dat (10485760B)

total: 26665484288 | 406883 | 70.64 | 1130.23 | 226.502 | 38.025

Read IO
thread | bytes | I/Os | MB/s | I/O per s | AvgLat(ms) | LatStdDev | file

 0 |      1887240192 |        28797 |       5.00 |      79.99 |     238.005 |      30.928 | testfile.dat (10485760B)
 1 |      1852309504 |        28264 |       4.91 |      78.51 |     242.949 |      31.468 | testfile.dat (10485760B)
 2 |      1882718208 |        28728 |       4.99 |      79.80 |     237.560 |      35.777 | testfile.dat (10485760B)
 3 |      2325348352 |        35482 |       6.16 |      98.56 |     194.326 |      27.593 | testfile.dat (10485760B)
 4 |      1888026624 |        28809 |       5.00 |      80.03 |     238.542 |      31.187 | testfile.dat (10485760B)
 5 |      1870790656 |        28546 |       4.96 |      79.29 |     241.649 |      31.396 | testfile.dat (10485760B)
 6 |      1892941824 |        28884 |       5.01 |      80.23 |     238.122 |      34.675 | testfile.dat (10485760B)
 7 |      2361851904 |        36039 |       6.26 |     100.11 |     190.309 |      27.381 | testfile.dat (10485760B)

total: 15961227264 | 243549 | 42.28 | 676.52 | 225.610 | 37.940

Write IO
thread | bytes | I/Os | MB/s | I/O per s | AvgLat(ms) | LatStdDev | file

 0 |      1274019840 |        19440 |       3.38 |      54.00 |     240.053 |      31.212 | testfile.dat (10485760B)
 1 |      1243545600 |        18975 |       3.29 |      52.71 |     245.229 |      31.281 | testfile.dat (10485760B)
 2 |      1280180224 |        19534 |       3.39 |      54.26 |     240.382 |      35.850 | testfile.dat (10485760B)
 3 |      1543634944 |        23554 |       4.09 |      65.43 |     196.338 |      27.913 | testfile.dat (10485760B)
 4 |      1264910336 |        19301 |       3.35 |      53.61 |     240.786 |      30.915 | testfile.dat (10485760B)
 5 |      1241579520 |        18945 |       3.29 |      52.62 |     243.955 |      31.327 | testfile.dat (10485760B)
 6 |      1266745344 |        19329 |       3.36 |      53.69 |     240.169 |      35.112 | testfile.dat (10485760B)
 7 |      1589641216 |        24256 |       4.21 |      67.38 |     192.171 |      27.534 | testfile.dat (10485760B)

total: 10704257024 | 163334 | 28.36 | 453.71 | 227.832 | 38.113

%-ile | Read (ms) | Write (ms) | Total (ms)

min |     11.211 |     26.190 |     11.211

25th | 198.246 | 200.348 | 206.659
50th | 228.164 | 230.390 | 234.240
75th | 253.582 | 255.887 | 257.417
90th | 272.819 | 275.365 | 275.974
95th | 283.977 | 286.488 | 286.923
99th | 304.294 | 307.460 | 307.342
3-nines | 330.779 | 334.443 | 334.745
4-nines | 382.292 | 383.576 | 383.576
5-nines | 431.984 | 431.771 | 427.381
6-nines | 439.463 | 434.642 | 439.463
7-nines | 439.463 | 434.642 | 439.463
8-nines | 439.463 | 434.642 | 439.463
9-nines | 439.463 | 434.642 | 439.463
max | 439.463 | 434.642 | 439.463

@rigomate
Copy link
Author

win10 guest

Command Line: diskspd -c10M -d360 -r -w40 -t8 -o32 -Sh -L testfile.dat

Input parameters:

    timespan:   1
    -------------
    duration: 360s
    warm up time: 5s
    cool down time: 0s
    measuring latency
    random seed: 0
    path: 'testfile.dat'
            think time: 0ms
            burst size: 0
            software cache disabled
            hardware write cache disabled, writethrough on
            performing mix test (read/write ratio: 60/40)
            block size: 64KiB
            using random I/O (alignment: 64KiB)
            number of outstanding I/O operations per thread: 32
            threads per file: 8
            using I/O Completion Ports
            IO priority: normal

System information:

    computer name: DESKTOP-H70KVOT
    start time: 2022/10/12 16:58:31 UTC

Results for timespan 1:


actual test time: 360.26s
thread count: 8
proc count: 8

CPU | Usage | User | Kernel | Idle

0| 98.91%| 5.13%| 93.78%| 1.09%
1| 20.38%| 1.24%| 19.14%| 79.62%
2| 29.05%| 3.26%| 25.79%| 70.95%
3| 27.07%| 4.84%| 22.23%| 72.93%
4| 28.74%| 4.34%| 24.40%| 71.26%
5| 20.49%| 2.79%| 17.71%| 79.51%
6| 27.90%| 1.66%| 26.24%| 72.10%
7| 22.96%| 2.54%| 20.41%| 77.04%

avg.| 34.44%| 3.23%| 31.21%| 65.56%

Total IO
thread | bytes | I/Os | MiB/s | I/O per s | AvgLat | LatStdDev | file

 0 |      1830354944 |        27929 |       4.85 |      77.53 |  414.405 |  1121.272 | testfile.dat (10MiB)
 1 |     97730756608 |      1491253 |     258.71 |    4139.44 |    7.728 |     4.785 | testfile.dat (10MiB)
 2 |     95684263936 |      1460026 |     253.30 |    4052.76 |    7.894 |    10.916 | testfile.dat (10MiB)
 3 |     97972060160 |      1494935 |     259.35 |    4149.66 |    7.709 |     4.343 | testfile.dat (10MiB)
 4 |     96921059328 |      1478898 |     256.57 |    4105.14 |    7.793 |     7.100 | testfile.dat (10MiB)
 5 |     97175994368 |      1482788 |     257.25 |    4115.94 |    7.773 |     6.746 | testfile.dat (10MiB)
 6 |     97038893056 |      1480696 |     256.88 |    4110.13 |    7.783 |     4.594 | testfile.dat (10MiB)
 7 |     96777994240 |      1476715 |     256.19 |    4099.08 |    7.804 |     6.180 | testfile.dat (10MiB)

total: 681131376640 | 10393240 | 1803.10 | 28849.67 | 8.876 | 62.181

Read IO
thread | bytes | I/Os | MiB/s | I/O per s | AvgLat | LatStdDev | file

 0 |      1096744960 |        16735 |       2.90 |      46.45 |  403.307 |  1101.357 | testfile.dat (10MiB)
 1 |     58724712448 |       896068 |     155.46 |    2487.32 |    7.709 |     4.842 | testfile.dat (10MiB)
 2 |     57411371008 |       876028 |     151.98 |    2431.69 |    7.877 |    10.658 | testfile.dat (10MiB)
 3 |     58710949888 |       895858 |     155.42 |    2486.73 |    7.694 |     5.179 | testfile.dat (10MiB)
 4 |     58154090496 |       887361 |     153.95 |    2463.15 |    7.781 |     7.481 | testfile.dat (10MiB)
 5 |     58298925056 |       889571 |     154.33 |    2469.28 |    7.752 |     6.613 | testfile.dat (10MiB)
 6 |     58224672768 |       888438 |     154.13 |    2466.14 |    7.768 |     4.388 | testfile.dat (10MiB)
 7 |     57968427008 |       884528 |     153.46 |    2455.28 |    7.790 |     6.299 | testfile.dat (10MiB)

total: 408589893632 | 6234587 | 1081.63 | 17306.03 | 8.829 | 60.996

Write IO
thread | bytes | I/Os | MiB/s | I/O per s | AvgLat | LatStdDev | file

 0 |       733609984 |        11194 |       1.94 |      31.07 |  430.998 |  1150.202 | testfile.dat (10MiB)
 1 |     39006044160 |       595185 |     103.26 |    1652.12 |    7.758 |     4.697 | testfile.dat (10MiB)
 2 |     38272892928 |       583998 |     101.32 |    1621.07 |    7.920 |    11.292 | testfile.dat (10MiB)
 3 |     39261110272 |       599077 |     103.93 |    1662.92 |    7.732 |     2.639 | testfile.dat (10MiB)
 4 |     38766968832 |       591537 |     102.62 |    1641.99 |    7.811 |     6.485 | testfile.dat (10MiB)
 5 |     38877069312 |       593217 |     102.92 |    1646.66 |    7.804 |     6.940 | testfile.dat (10MiB)
 6 |     38814220288 |       592258 |     102.75 |    1644.00 |    7.807 |     4.886 | testfile.dat (10MiB)
 7 |     38809567232 |       592187 |     102.74 |    1643.80 |    7.825 |     5.997 | testfile.dat (10MiB)

total: 272541483008 | 4158653 | 721.48 | 11543.63 | 8.947 | 63.916

total:
%-ile | Read (ms) | Write (ms) | Total (ms)

min |      1.208 |      1.287 |      1.208

25th | 6.791 | 6.808 | 6.797
50th | 7.128 | 7.148 | 7.136
75th | 7.701 | 7.733 | 7.714
90th | 9.207 | 9.291 | 9.240
95th | 11.045 | 11.215 | 11.116
99th | 18.952 | 19.343 | 19.109
3-nines | 136.597 | 139.897 | 137.977
4-nines | 2846.175 | 3456.576 | 3202.752
5-nines | 7293.754 | 7803.747 | 7380.859
6-nines | 14619.930 | 14620.060 | 14619.979
7-nines | 14624.444 | 14624.428 | 14624.428
8-nines | 14624.444 | 14624.428 | 14624.444
9-nines | 14624.444 | 14624.428 | 14624.444
max | 14624.444 | 14624.428 | 14624.444

@rigomate
Copy link
Author

win10
Command Line: diskspd -c10M -d360 -r -w40 -t8 -o32 -Sh -L -b8K testfile.dat

Input parameters:

    timespan:   1
    -------------
    duration: 360s
    warm up time: 5s
    cool down time: 0s
    measuring latency
    random seed: 0
    path: 'testfile.dat'
            think time: 0ms
            burst size: 0
            software cache disabled
            hardware write cache disabled, writethrough on
            performing mix test (read/write ratio: 60/40)
            block size: 8KiB
            using random I/O (alignment: 8KiB)
            number of outstanding I/O operations per thread: 32
            threads per file: 8
            using I/O Completion Ports
            IO priority: normal

System information:

    computer name: DESKTOP-H70KVOT
    start time: 2022/10/15 09:03:45 UTC

Total IO
thread | bytes | I/Os | MiB/s | I/O per s | AvgLat | LatStdDev | file

 0 |       208363520 |        25435 |       0.55 |      70.10 |  456.530 |  1467.938 | testfile.dat (10MiB)
 1 |     21024186368 |      2566429 |      55.26 |    7072.79 |    4.523 |    15.969 | testfile.dat (10MiB)
 2 |     20318134272 |      2480241 |      53.40 |    6835.26 |    4.680 |    18.088 | testfile.dat (10MiB)
 3 |     20968890368 |      2559679 |      55.11 |    7054.18 |    4.535 |     8.711 | testfile.dat (10MiB)
 4 |     20520574976 |      2504953 |      53.93 |    6903.37 |    4.634 |    14.359 | testfile.dat (10MiB)
 5 |     21015429120 |      2565360 |      55.23 |    7069.84 |    4.525 |    10.266 | testfile.dat (10MiB)
 6 |     20785037312 |      2537236 |      54.63 |    6992.33 |    4.575 |    10.098 | testfile.dat (10MiB)
 7 |     21213446144 |      2589532 |      55.75 |    7136.46 |    4.482 |     4.209 | testfile.dat (10MiB)

total: 146054062080 | 17828865 | 383.86 | 49134.32 | 5.209 | 59.325

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment