Re: [ceph-users] formatting bytes and object counts in ceph status ouput

2018-01-09 Thread Sage Weil
On Tue, 9 Jan 2018, Jan Fajerski wrote: > On Tue, Jan 02, 2018 at 04:54:55PM +, John Spray wrote: > > On Tue, Jan 2, 2018 at 10:43 AM, Jan Fajerski wrote: > > > Hi lists, > > > Currently the ceph status output formats all numbers with binary unit > > > prefixes, i.e. 1MB equals 1048576 bytes a

Re: [ceph-users] formatting bytes and object counts in ceph status ouput

2018-01-09 Thread Jan Fajerski
On Tue, Jan 02, 2018 at 04:54:55PM +, John Spray wrote: On Tue, Jan 2, 2018 at 10:43 AM, Jan Fajerski 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

Re: [ceph-users] formatting bytes and object counts in ceph status ouput

2018-01-03 Thread Willem Jan Withagen
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 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 equal

Re: [ceph-users] formatting bytes and object counts in ceph status ouput

2018-01-02 Thread Brady Deetz
I'd implement byte counters in base 2 (KB, MB, etc). MiB is annoying to us old grumpy folk, but I'd live with it. But, I absolutely hate that object count is in base 2. 1kg is not 1024 kilograms. We have a reason for bytes to be in base 2. Very few other things are expected to be in base 2. A norm

Re: [ceph-users] formatting bytes and object counts in ceph status ouput

2018-01-02 Thread Dan Mick
On 01/02/2018 08:54 AM, John Spray wrote: > On Tue, Jan 2, 2018 at 10:43 AM, Jan Fajerski 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 r

Re: [ceph-users] formatting bytes and object counts in ceph status ouput

2018-01-02 Thread John Spray
On Tue, Jan 2, 2018 at 10:43 AM, Jan Fajerski 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

Re: [ceph-users] formatting bytes and object counts in ceph status ouput

2018-01-02 Thread Piotr Dałek
On 18-01-02 11:43 AM, Jan Fajerski 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 mult