From: Samuel Just Date: Thu, 25 Mar 2021 20:15:24 +0000 (-0700) Subject: crimson/os/seastore/segment_cleaner: bump reclaim_ratio limits X-Git-Tag: v17.1.0~2478^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0514aadb4ecc222e8bae8e4a22890f7b0e91f956;p=ceph.git crimson/os/seastore/segment_cleaner: bump reclaim_ratio limits GC behavior still needs a ton of work, but this adjustment should reduce gc activity for now until we have time to refine the params and introduce the ability to write cold extents to a segment other than the current journal segment. Signed-off-by: Samuel Just --- diff --git a/src/crimson/os/seastore/segment_cleaner.h b/src/crimson/os/seastore/segment_cleaner.h index 93acb8fa67a38..26dab0dd8dfd9 100644 --- a/src/crimson/os/seastore/segment_cleaner.h +++ b/src/crimson/os/seastore/segment_cleaner.h @@ -238,8 +238,8 @@ public: 2, // target_journal_segments 4, // max_journal_segments .9, // available_ratio_gc_max - .6, // reclaim_ratio_hard_limit - .3, // reclaim_ratio_gc_threshhold + .8, // reclaim_ratio_hard_limit + .6, // reclaim_ratio_gc_threshhold .1, // available_ratio_hard_limit 1<<20,// reclaim 1MB per gc cycle 1<<20 // rewrite 1MB of journal entries per gc cycle