Bug 1931504
Summary: | [GSS] bluestore scrub memory growth due to low bluestore_cache_trim_max_skip_pinned | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Harald Klein <hklein> | |
Component: | RADOS | Assignee: | Adam Kupczyk <akupczyk> | |
Status: | CLOSED ERRATA | QA Contact: | skanta | |
Severity: | high | Docs Contact: | Ranjini M N <rmandyam> | |
Priority: | high | |||
Version: | 4.2 | CC: | akupczyk, bhubbard, ceph-eng-bugs, kdreyer, ngangadh, nojha, pdhange, rmandyam, rzarzyns, sbaldwin, skanta, sseshasa, tpetr, tserlin, vumrao | |
Target Milestone: | --- | Keywords: | Reopened | |
Target Release: | 5.0 | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | ceph-16.2.0-24.el8cp | Doc Type: | Bug Fix | |
Doc Text: |
.Setting `bluestore_cache_trim_max_skip_pinned` to `10000` enables trimming of the object’s metadata
The least recently used (LRU) cache is used for the object’s metadata.
Trimming of the cache is done from the least recently accessed objects.
Objects that are pinned are exempted from eviction, which means they are still being used by Bluestore..
Previously, the configuration variable `bluestore_cache_trim_max_skip_pinned` controlled how many pinned objects were visited, thereby the scrubbing process caused objects to be pinned for a long time.
When the number of objects pinned on the bottom of the LRU metadata cache became larger than `bluestore_cache_trim_max_skip_pinned` , then trimming of cache was not completed.
With this release, you can set `bluestore_cache_trim_max_skip_pinned` to `10000` which is larger than the possible count of metadata cache.
This enables trimming and the metadata cache size adheres to the configuration settings.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1947215 (view as bug list) | Environment: | ||
Last Closed: | 2021-08-30 08:28:20 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1947215, 1959686 |
Comment 27
errata-xmlrpc
2021-08-30 08:28:20 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days |