Project

General

Profile

Actions

Bug #12450

closed

rados load-gen generates no operations if --max-ops is not explicitly set

Added by Tom Deneau almost 9 years ago. Updated over 8 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

I believe this behavior starts with 9.0.1

running rados -p somepool load-gen, we get
preparing 200 objects
load-gen will run 60 seconds
1: throughput=0MB/sec pending data=0
2: throughput=0MB/sec pending data=0
3: throughput=0MB/sec pending data=0
....

It looks like the change that caused this behavior was explicitly initializing lg.max_ops to 0.
(Before this, max_ops was maybe just whatever happened to be in memory).

So the workaround is to explicitly set --max-ops on the command line.

Actions #1

Updated by Kefu Chai over 8 years ago

  • Status changed from New to Fix Under Review

yup, this zero-by-default behaviour was introduced by faa7937f2fa36725603b4a24e2661e39da4f3fdc .

https://github.com/ceph/ceph/pull/5401

Actions #2

Updated by Kefu Chai over 8 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF