Re: formatting bytes and object counts in ceph status ouput

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3-1-2018 00:44, Dan Mick wrote:
> On 01/02/2018 08:54 AM, John Spray wrote:
>> On Tue, Jan 2, 2018 at 10:43 AM, Jan Fajerski <jfajerski@xxxxxxxx> wrote:
>>> Hi lists,
>>> Currently the ceph status output formats all numbers with binary unit
>>> prefixes, i.e. 1MB equals 1048576 bytes and an object count of 1M equals
>>> 1048576 objects.  I received a bug report from a user that printing object
>>> counts with a base 2 multiplier is confusing (I agree) so I opened a bug and
>>> https://github.com/ceph/ceph/pull/19117.
>>> In the PR discussion a couple of questions arose that I'd like to get some
>>> opinions on:
>>
>>> - Should we print binary unit prefixes (MiB, GiB, ...) since that would be
>>> technically correct?
>>
>> I'm not a fan of the technically correct base 2 units -- they're still
>> relatively rarely used, and I've spent most of my life using kB to
>> mean 1024, not 1000.
>>
>>> - Should counters (like object counts) be formatted with a base 10
>>> multiplier or  a multiplier woth base 2?
>>
>> I prefer base 2 for any dimensionless quantities (or rates thereof) in
>> computing.  Metres and kilograms go in base 10, bytes go in base 2.
>>
>> It's all very subjective and a matter of opinion of course, and my
>> feelings aren't particularly strong :-)
>>
>> John
> 
> 100% agreed.  "iB" is an affectation IMO.  But I'm grumpy and old.

+1 on all 3 cases. :)

--WjW

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux