Open nobuto-m opened 9 months ago
Thanks for your report!
You specify a device but also a size, I'm interested why you would do that, not to implicitly criticize but for me to learn.
The size parameter works, but is mostly intended for file targets, but maybe I have to find a more elegant solution to runtime=0, which at least should be documented by me for now.
You may also be interested in the --entire-device parameter, depending on your needs.
The size parameter works, but is mostly intended for file targets, but maybe I have to find a more elegant solution to runtime=0, which at least should be documented by me for now.
You may also be interested in the --entire-device parameter, depending on your needs.
Yes, --entire-device
worked for me as I used it in #136.
You specify a device but also a size, I'm interested why you would do that, not to implicitly criticize but for me to learn.
After knowing the characteristics of a peaky SSD behavior by running it with --entire-device
, I wanted to run multiple bencmarks with different scenarios. --entire-device
took two hours to complete for this specific SSD even with a sequential write scenario. To try multiple different parameters before applying it to the entire device, size bound testing was helpful for me to have quick iterations of trials.
[entire device]
[size bound 128GB out of 256GB]
One advantage of size bound over time bound is that the graph can be clear on which device completed the same amount of write earlier.
In the following example, the chart can show different characters of two SSDs, but it can be clear that the orange one was way faster than the blue one in completing the same 128GB of sequential write.
If
--size 128G
is specified, it's supposed to take some time to complete the test. However,bench-fio
ends after 60 seconds due to the implicit--runtime=60
(default).A workaround is to pass
--runtime 0
explicitly.