Project

General

Profile

Actions

Bug #55515

open

[pwl] "rbd persistent-cache flush" is very slow

Added by Ilya Dryomov about 2 years ago. Updated about 2 years ago.

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

0%

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

Description

This report is mostly for rwl mode and cache files larger than 5G but I have seen extremely slow flushes with ssd mode and default sized cache files as well:

- enable the cache, open the image
- perform a bunch of writes with fio
- kill fio
- run "rbd persistent-cache flush"

Since fio wouldn't insert any flushes, it should be possible to destage all data from the cache file in any order, as fast as possible. Instead, the observation is that the flushing process is heavily throttled and takes significantly longer that it would have taken to write the same amount of data directly to the OSDs without any caching involved.

This comes up when gracefully releasing exclusive lock as well, not only with kill + "rbd persistent-cache flush".

Actions

Also available in: Atom PDF