Project

General

Profile

Bug #5891

rados bench displaying wrong unit

Added by Niklas Goerke over 10 years ago. Updated over 10 years ago.

Status:
Won't Fix
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
4 - irritation
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When using rados bench via a gigabit Ethernet [1] I can reach up to 111.7 MB/s [2]. With a different tool I can reach 116.45 MB/s which is exactly 111.05 MiB/s [3].
I therefore suspect rados bench to actually display MiB/s and not MB/s. It is only a difference of about 4.8% but it should still be fixed. Especially because the difference gets worse when moving from MB-MiB to GB-GiB.

My suspicion should be easy to confirm by looking whether rados bench divides by 1000 or 1024 when converting units.

[1] Gigabit Ethernet: 1,000,000,000 bit/s
[2] 1 MB/s = 1,000,000 B/s
[3] 1 MiB/s = 1,048,576 B/s

History

#1 Updated by Sage Weil over 10 years ago

  • Status changed from New to Won't Fix

we want to use base-2, but MiB etc is not pretty

Also available in: Atom PDF