Project

General

Profile

Actions

Bug #6372

closed

rados bench reports bad statistics when read --block-size > write --block-size

Added by Lincoln Bryant over 10 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

The current MB/s and average MB/s statistics for the rados read benchmark are off when the specified block size for the read is greater than the write block size. The statistics seem to be off by a factor of "seq --block-size" divided by "write --block-size".

Since the object size is established by the write benchmark, the "read size" that appears in the summary is correct, and the calculated bandwidth is therefore correct.

I've attached an example that illustrates this.


Files

rados-bench-bad-stats.txt (10.5 KB) rados-bench-bad-stats.txt Lincoln Bryant, 09/23/2013 05:21 PM

Related issues 1 (0 open1 closed)

Related to Ceph - Bug #7401: rados bench takes into account second '0' for stddev calculationResolved02/11/2014

Actions
Actions #1

Updated by Dan Mick over 10 years ago

I suspect the read is issued for > object size, but then just completes early, but the
stats tracking still uses the request size as "the amount of I/O done". I suggested
the experiment of halving the read size, but this unfortunately segfaults (see #6371).

Actions #2

Updated by Loïc Dachary almost 9 years ago

  • Status changed from New to Duplicate
  • Regression set to No
Actions #3

Updated by Loïc Dachary almost 9 years ago

  • Status changed from Duplicate to 12
Actions #4

Updated by Loïc Dachary almost 9 years ago

  • Status changed from 12 to Resolved
$ rados bench -p rbd 60 seq -t 32 --block-size=16777216
-b|--block_size option can be used only with `write' bench test
Actions

Also available in: Atom PDF