]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: Always tune priority cache manager memory on all mons 34917/head
authorSridhar Seshasayee <sseshasa@redhat.com>
Wed, 29 Apr 2020 14:02:35 +0000 (19:32 +0530)
committerSridhar Seshasayee <sseshasa@redhat.com>
Wed, 6 May 2020 08:04:55 +0000 (13:34 +0530)
commit60a90bc9b2dc3cd4285b50d43f8210f9c57d67d2
tree7055ab0c91bd2c0f0aa773920e690513e8d72f49
parent752b293586d0c8749483e60e43c7a98c1e0d7b19
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>
(cherry picked from commit 5083e21192c3cfdec274c8bafdc4d73e7c843af9)
src/mon/OSDMonitor.cc