Dear Peter.

Thank you for your bug report.

Peter Gervai - 16.08.17, 10:59:
> Package: fio
> Version: 2.16-1
> Severity: minor
> Tags: upstream
> 
> The manpage says:
>        int    SI integer: a whole number, possibly containing a suffix
> denoting the base unit of the value.  Accepted suffixes are `k', 'M', 'G',
> 'T', and 'P',  denoting  kilo (1024),  mega  (1024^2), giga (1024^3), tera
> (1024^4), and peta (1024^5) respectively. If prefixed with '0x', the value
> is assumed to be base 16 (hexadecimal). A suffix may include a trailing
> 'b', for instance 'kb' is identical to 'k'. You can specify a base 10 value
> by using 'KiB', 'MiB','GiB', etc. This  is  useful  for disk  drives  where
>  values are often given in base 10 values. Specifying '30GiB' will get you
> 30*1000^3 bytes.  When specifying times the default suffix meaning changes,
> still denoting the base unit of the value, but accepted suffixes are 'D'
> (days), 'H' (hours), 'M' (minutes), 'S' Seconds, 'ms' (or msec) milli 
> seconds, 'us' (or 'usec') micro seconds. Time values without a unit specify
> seconds.  The suffixes are not case sensitive.
> 
> This is just the opposite of what ISQ (ISO/IEC 80000 ; ISO 80000-1) states:
> 
> https://en.wikipedia.org/wiki/Binary_prefix#Adoption_by_IEC.2C_NIST_and_ISO
[…]
> It is possible that upstream doesn't dare to change and break all the
> scripts out there, I have ideas how to do it but I believe they prefer
> their own solutions. :-)

I agree with you. And the implementation matches the manpage. The following 
output shows how wierd this behavior is:

% fio --name=rand-read --bs=4k --size=1GiB --iodepth=64 --runtime=10 --
rw=randread
[…]
rand-read: Laying out IO file(s) (1 file(s) / 953MiB)
[…]

Nonetheless it is still an upstream issue. So please, despite assuming what 
upstream might do or not do about it, help me by reporting this issue 
upstream.

Please write to  [email protected]. Please also cc me and Jens Axboe. Please 
also Bcc the bug report, so that the initial mail of the thread is recorded 
there. By forwarding it upstream you help me to rather invest my time into 
updating the package. I want to take time for it soon enough.

I am subscribed to the fio mailing list… so I can followup. I do think it is 
good to fix this.

Thank you,

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to