Project

General

Profile

Actions

Bug #53952

closed

mds: mds_oft_prefetch_dirfrags default to false

Added by Dan van der Ster over 2 years ago. Updated over 1 year ago.

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

0%

Source:
Tags:
Backport:
octopus,pacific,quincy
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The oft dirfrag prefetch is unpredictable and dangerous because it can
delay rejoin by several minutes and balloon memory usage well beyond the
mds_cache_memory_limit. In the worst cases this can cause an OOM loop if
the memory required for prefetch exceeds the physical memory.

The PR which introduced mds_oft_prefetch_dirfrags also optimized the
client behaviour to eliminate the bad effects of disabling dirfrags
prefetch. And commit d3946e3 has been
testing setting this option to false.

We therefore should default the option to false. Operators can still
manually enable it if they know it can speedup their use-cases.

Related-to: https://tracker.ceph.com/issues/45835


Related issues 3 (0 open3 closed)

Copied to CephFS - Backport #54194: pacific: mds: mds_oft_prefetch_dirfrags default to falseResolvedWei-Chung ChengActions
Copied to CephFS - Backport #54195: octopus: mds: mds_oft_prefetch_dirfrags default to falseResolvedWei-Chung ChengActions
Copied to CephFS - Backport #54196: quincy: mds: mds_oft_prefetch_dirfrags default to falseResolvedWei-Chung ChengActions
Actions

Also available in: Atom PDF