]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
cephadm: Add nvmeof to autotuner calculation
authorPaul Cuzner <pcuzner@ibm.com>
Wed, 24 Jan 2024 21:22:13 +0000 (10:22 +1300)
committerAdam King <adking@redhat.com>
Sun, 10 Mar 2024 20:24:51 +0000 (16:24 -0400)
Add nvmeof to the list of daemons when calculating the
memory to use for OSDs.

Fixes: https://tracker.ceph.com/issues/64020
Signed-off-by: Paul Cuzner <pcuzner@ibm.com>
(cherry picked from commit 31e4b8de9631eef2b4b5d9865725b0520637d603)

src/pybind/mgr/cephadm/autotune.py

index 51c931cbad637b2e851c4fc027112f54a31a596d..72ebcd66064c09cb74eede3b388b9245e1958e59 100644 (file)
@@ -15,6 +15,7 @@ class MemoryAutotuner(object):
         'crash': 128 * 1048576,
         'keepalived': 128 * 1048576,
         'haproxy': 128 * 1048576,
+        'nvmeof': 4096 * 1048576,
     }
     default_size = 1024 * 1048576