Project

General

Profile

Bug #13378

rbd-replay-prep requires >4 hrs to convert 'rbd bench-write' trace

Added by Jason Dillaman about 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Jason Dillaman
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

perf top indicates all the time is being spent calculating IO dependencies.

Associated revisions

Revision 65fb1b86 (diff)
Added by Jason Dillaman about 7 years ago

rbd-replay-prep: simplify IO dependency calculation

Only track read-after-write and write-after-write IO dependencies
via the associated write completions. All IO events after a write
completion are considered to be dependent and can be pruned down
to at most the number of concurrent IOs. This reduces the prep
time from a simple 'rbd bench-write' from over 4 hrs down to seconds.

Fixes: #13378, #13384
Backport: hammer

Signed-off-by: Jason Dillaman <>

Revision 8c9e67ad (diff)
Added by Jason Dillaman about 7 years ago

rbd-replay-prep: simplify IO dependency calculation

Only track read-after-write and write-after-write IO dependencies
via the associated write completions. All IO events after a write
completion are considered to be dependent and can be pruned down
to at most the number of concurrent IOs. This reduces the prep
time from a simple 'rbd bench-write' from over 4 hrs down to seconds.

Fixes: #13378, #13384
Backport: hammer

Signed-off-by: Jason Dillaman <>
(cherry picked from commit 65fb1b86cbab65023f6207798c9e189bce55dcf6)

History

#1 Updated by Jason Dillaman about 7 years ago

  • Status changed from New to In Progress
  • Assignee set to Jason Dillaman

#2 Updated by Jason Dillaman about 7 years ago

#3 Updated by Jason Dillaman about 7 years ago

  • Status changed from In Progress to Fix Under Review

#4 Updated by Jason Dillaman about 7 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF