]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mon/OSDMonitor: Always tune priority cache manager memory on all mons
authorSridhar Seshasayee <sseshasa@redhat.com>
Wed, 29 Apr 2020 14:02:35 +0000 (19:32 +0530)
committerSridhar Seshasayee <sseshasa@redhat.com>
Wed, 29 Apr 2020 14:11:14 +0000 (19:41 +0530)
commit5083e21192c3cfdec274c8bafdc4d73e7c843af9
tree9f29d7b7ba79e4194ce92c7cc0d4c6ba68e3da47
parent2c38355f664a5e2d8677707d878a708814d5a962
mon/OSDMonitor: Always tune priority cache manager memory on all mons

Always call into priority cache manager (pcm) to tune the memory on the
leader and on all the followers (peons) as part of each tick(). This
ensures that the pcm on all the mons continuously tunes the tcmalloc
memory thereby ensuring that the peons don't run out of memory eventually.

Fixes: https://tracker.ceph.com/issues/45266
Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
src/mon/OSDMonitor.cc