Project

General

Profile

Actions

Bug #15259

closed

performance: journaling results in 4X slowdown when writes are not blocked by cache

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

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

0%

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

Description

Using bench-write on a non-journaled image:

$ ./rbd bench-write --debug-ms "0/0" --debug-rbd "0/0" --io-size 4K --io-total 256M --io-pattern=rand foo
bench-write  io_size 4096 io_threads 16 bytes 134217728 pattern random
  SEC       OPS   OPS/SEC   BYTES/SEC
    1      5216   4605.07  18862378.80
    2      5285   1924.76  7883825.66
    3      5300   1690.71  6925149.49
    4      5319   1280.93  5246679.94
    5      5347   1051.46  4306784.27
    6      5386     30.50  124909.44   <-- cache full

Using bench-write on a journaled image:

$ ./rbd bench-write --debug-ms "0/0" --debug-rbd "0/0" --io-size 4K --io-total 256M --io-pattern=rand foo
bench-write  io_size 4096 io_threads 16 bytes 134217728 pattern random
  SEC       OPS   OPS/SEC   BYTES/SEC
    1      1079   1065.83  4365646.73  <-- cache not full, librbd performance issue 
    2      1120    544.04  2228372.40
    3      1141    384.60  1575301.78
    4      1161    292.71  1198927.04
    5      1186    235.39  964148.71
    6      1207     25.61  104896.51

Related issues 1 (0 open1 closed)

Copied to rbd - Backport #17484: jewel: performance: journaling results in 4X slowdown when writes are not blocked by cacheResolvedJason DillamanActions
Actions

Also available in: Atom PDF