Project

General

Profile

Actions

Bug #38489

closed

bluestore_prefer_deferred_size_hdd units are not clear

Added by Марк Коренберг about 5 years ago. Updated about 5 years ago.

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

0%

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

Description

I have done an experiment. I made a pool with one PG of size 1. Next I run this command:

rados bench -p qwe -b 4M -o 4M -t 1 30 write

And had been monitoring using iostat what happens.

I tried different values using command:

ceph tell osd.14 injectargs '--bluestore_prefer_deferred_size_hdd XXX'

And I realized, that border value for writing/not writing to RocsDB (WAL?) is 524288.

So, using benhmark command above, all writes of size 4MB with bluestore_prefer_deferred_size_hdd < 524288 go HDD directly. >= 524288 through SSD (I mean deferred write). This border is exactly 8 times less than 4 MB.

I think it is definitely BUG.

Actions

Also available in: Atom PDF