Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1315718
| From | James Bottomley <James.Bottomley@HansenPartnership.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v3 3/4] x86/efi: print size in binary units in efi_print_memmap |
| Date | 2016-01-23 19:20 +0100 |
| Message-ID | <qUaX0-6Bi-9@gated-at.bofh.it> (permalink) |
| References | <qU7Ps-48H-15@gated-at.bofh.it> <qU7Ps-48H-13@gated-at.bofh.it> <qU9xV-5sr-23@gated-at.bofh.it> <qUa0V-5TU-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sat, 2016-01-23 at 19:18 +0200, Andy Shevchenko wrote: > On Sat, Jan 23, 2016 at 6:44 PM, James Bottomley > <James.Bottomley@hansenpartnership.com> wrote: > > Not an attack on you patch per-se, but I really hate the IEC > > convention > > that was essentially a ploy by disk manufacturers to inflate their > > disk > > sizes by 10% simply by relabelling them. > > > Everyone was happy when a GB was 2^30, > > No, not everyone. It was a misspelling done by some first storage > producer. No, it was the adopted convention in computer science to use units in 2^10 since all sizes were usually binary. It actually began with memory sizes. So a GB never meant 10^9 bytes before 2007 because the classical unit users had no idea what a byte was. The first bytes were counted in powers of 2. > Try to look at the problem from physics point of view. Units > are essential part of a value. There is an agreement how to use > multipliers and their code names. 1000 x Unit means kiloUnit. As per > agreement. It's not about physics (and certainly astronomers, who often take pi to be 1 would be happy with 2^10 = 10^3) it's about politics: disk manufacturers wanted a way to report bigger sizes, so they made a huge fuss about the "inconsistency" of computer science using units in increments of 2^10 and forced through this IEC standard. > > now everyone's simply confused whenever they see GB. We had > > to pander to this in block devices because people got annoyed when > > we reported a size that was different from the label but are you > > sure we have to extend the madness to memory? > > I actually don't know who is from us is being more conservative. I > could call a madness to mess things from ancient (classical > mathematics and physics) with something which has less than hundred > years in development. In engineering terms, counting in powers of 2 makes a lot of sense for quantites using binary address busses and the IEC even recognised that by inventing a new unit for it. Having GB mean 2^30 up to 2007 and 10^9 after it is confusing for everyone born before about 1990. James
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v3 3/4] x86/efi: print size in binary units in efi_print_memmap Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2016-01-23 16:00 +0100
Re: [PATCH v3 3/4] x86/efi: print size in binary units in efi_print_memmap James Bottomley <James.Bottomley@HansenPartnership.com> - 2016-01-23 17:50 +0100
Re: [PATCH v3 3/4] x86/efi: print size in binary units in efi_print_memmap Andy Shevchenko <andy.shevchenko@gmail.com> - 2016-01-23 18:20 +0100
Re: [PATCH v3 3/4] x86/efi: print size in binary units in efi_print_memmap James Bottomley <James.Bottomley@HansenPartnership.com> - 2016-01-23 19:10 +0100
Re: [PATCH v3 3/4] x86/efi: print size in binary units in efi_print_memmap Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2016-01-25 09:40 +0100
Re: [PATCH v3 3/4] x86/efi: print size in binary units in efi_print_memmap James Bottomley <James.Bottomley@HansenPartnership.com> - 2016-01-25 16:30 +0100
Re: [PATCH v3 3/4] x86/efi: print size in binary units in efi_print_memmap James Bottomley <James.Bottomley@HansenPartnership.com> - 2016-01-23 19:20 +0100
Re: [PATCH v3 3/4] x86/efi: print size in binary units in efi_print_memmap One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk> - 2016-01-23 21:40 +0100
Re: [PATCH v3 3/4] x86/efi: print size in binary units in efi_print_memmap "H. Peter Anvin" <hpa@zytor.com> - 2016-01-23 21:50 +0100
RE: [PATCH v3 3/4] x86/efi: print size in binary units in efi_print_memmap "Elliott, Robert (Persistent Memory)" <elliott@hpe.com> - 2016-01-25 19:10 +0100
Re: [PATCH v3 3/4] x86/efi: print size in binary units in efi_print_memmap James Bottomley <James.Bottomley@HansenPartnership.com> - 2016-01-25 20:00 +0100
Re: [PATCH v3 3/4] x86/efi: print size in binary units in efi_print_memmap Andy Shevchenko <andy.shevchenko@gmail.com> - 2016-01-25 20:30 +0100
Re: [PATCH v3 3/4] x86/efi: print size in binary units in efi_print_memmap James Bottomley <James.Bottomley@HansenPartnership.com> - 2016-01-25 20:50 +0100
Re: [PATCH v3 3/4] x86/efi: print size in binary units in efi_print_memmap Andy Shevchenko <andy.shevchenko@gmail.com> - 2016-01-25 21:10 +0100
Re: [PATCH v3 3/4] x86/efi: print size in binary units in efi_print_memmap James Bottomley <James.Bottomley@HansenPartnership.com> - 2016-01-25 21:20 +0100
RE: [PATCH v3 3/4] x86/efi: print size in binary units in efi_print_memmap "Elliott, Robert (Persistent Memory)" <elliott@hpe.com> - 2016-01-25 21:40 +0100
Re: [PATCH v3 3/4] x86/efi: print size in binary units in efi_print_memmap Matt Fleming <matt@codeblueprint.co.uk> - 2016-01-26 13:00 +0100
Re: [PATCH v3 3/4] x86/efi: print size in binary units in efi_print_memmap Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2016-01-26 13:00 +0100
Re: [PATCH v3 3/4] x86/efi: print size in binary units in efi_print_memmap James Bottomley <James.Bottomley@HansenPartnership.com> - 2016-01-25 21:50 +0100
csiph-web