You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are stuck between a rock and a hard place here. We could make the default conform to how the rest of the world interprets these units. However, this change would break scripts that have accommodated this fio quirk.
If you want fio to follow your expected interpretation use kb_base=1000 option. Make sure this option is set before any options with suffixes. See:
I understand the value of backward compatibility, of course :) And the whole KB/KiB situation is just a big mess.
I've read the "Units" section prior to submitting the report. It was my understanding that the main issue was with KB units, since people commonly use them to mean both 1000 and 1024. However, I thought that KiB was unambiguous and always meant 1024. Are there scripts that were explicitly written with KiB=1000 in mind?
Please acknowledge the following before creating a ticket
Description of the bug:
Passing in
--filesize
value withGiB
suffix seems to result in incorrect file size being used:If using
Gi
suffix then file size is correct:Environment: Arch Linux
fio version: fio-3.36
The text was updated successfully, but these errors were encountered: