Project

General

Profile

Actions

Bug #22616

closed

bluestore_cache_data uses too much memory

Added by frank lin over 6 years ago. Updated about 6 years ago.

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

0%

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

Description

I was running a read throughput test and then found some of my osds were killed by oom killer and restarted.
I found the oom killed osd used much more memory for bluestore_cache_data than the normal ones.
The oom killed osd used 795MB ram in mempool and 722MB in bluestore_cache_data
The normal osd used about 120MB ram in mempool and 17MB in bluestore_cache_data

graph of memory useage of the oom killed osd: https://pasteboard.co/H1GzihS.png

graph of memory useage of the nomral osd: https://pasteboard.co/H1GzaeF.png

my bluestore cache setting
[osd]

osd max backfills = 4

bluestore_cache_size = 134217728

bluestore_cache_kv_max = 134217728

osd client message size cap = 67108864

As far as I know If I use the default cache ratio setting there should be no portion of cache goes into bluestore_cache_data,but the mempool dump data shows otherwise..


Related issues 1 (0 open1 closed)

Copied to bluestore - Backport #23226: luminous: bluestore_cache_data uses too much memoryResolvedPrashant DActions
Actions

Also available in: Atom PDF