Project

General

Profile

Actions

Support #24953

open

Bad performance when enable journaling feature for rbd

Added by liuzhong chen almost 6 years ago. Updated almost 5 years ago.

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

0%

Tags:
Reviewed:
Affected Versions:
Pull request ID:

Description

Phenomenon:
I test ceph-12.2.5 by using fio.
If bs=1M,enable journaling feature will lead to 50% performance degradation.
If bs=4k,enable journaling feature will lead to 70% performance degradation.
Analysis:
In my cluster, journaling and data pool is the same and the performance is the same as SSD.
If enable journaling feature,the IO will write journal first and then write disk.So double write is unavoidable,which lead to 50% performance degradation.
And for bs=4k metadata can not be ignored,so 4k result drop more 1M.
Question:
Is there any method to deduce performance decline.
Thank you!

Actions

Also available in: Atom PDF