ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] SI vs. IEC prefixes

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Mon, 2 Dec 2013 11:01:17 +0100
On Mon, Dec 02, 2013 at 03:34:33AM +0000, Christopher Maynard wrote:
> For example, if a user wants to set a maximum file size, then I think it's
> more intuitive to the user to specify and expect SI, powers of 10, units to
> apply rather than the IEC, powers of 2, units.  This might end up being a
> bit strange on some OS's (Windows, for example) to see a 977KB file size for
> file that's actually 1MB in size, but apparently at least one OS, Mac OS X
> version 10.6 will now use MB for all file and disk sizes so that same 1MB
> file will actually be correctly reported as such.  This to me makes the most
> sense, and so I'm in favor of changing the code to (and prefixes back to) SI
> units.
> 
> This could also be said of the capture buffer size, which is currently
> incorrectly reported as MB (when it's really MiB).
> 
> What do others think before I make any changes to SI units?

Please change to SI in these cases.

Thanks
   Jörg


-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.