mirror of
https://github.com/ceph/ceph
synced 2024-12-15 16:07:00 +00:00
06c94de584
This introduces two config parameters: mds_cache_memory_limit: Sets the soft maximum of the cache to the given byte count. (Like mds_cache_size, this doesn't actually limit the maximum size of the cache. It just dictates the steady-state size.) mds_cache_reservation: This replaces mds_health_cache_threshold everywhere except the Beacon heartbeat sent to the mons. The idea here is to specify a reservation of memory (5% by default) for operations and the MDS tries to always maintain that reservation. So, the MDS will recall caps from clients when it begins dipping into its reservation of memory. mds_cache_size still limits the cache by Inode count but is now by-default 0 (i.e. unlimited). The new preferred way of specifying cache limits is by memory size. The default is 1GB. Fixes: http://tracker.ceph.com/issues/20594 Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1464976 Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
12 lines
431 B
Plaintext
12 lines
431 B
Plaintext
>= 12.2.0
|
|
---------
|
|
|
|
- *CephFS*:
|
|
|
|
* Limiting MDS cache via a memory limit is now supported using the new
|
|
mds_cache_memory_limit config option (1GB by default). A cache reservation
|
|
can also be specified using mds_cache_reservation as a percentage of the
|
|
limit (5% by default). Limits by inode count are still supported using
|
|
mds_cache_size. Setting mds_cache_size to 0 (the default) disables the
|
|
inode limit.
|