]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/os/seastore/segment_cleaner: bump reclaim_ratio limits 40331/head
authorSamuel Just <sjust@redhat.com>
Thu, 25 Mar 2021 20:15:24 +0000 (13:15 -0700)
committerSamuel Just <sjust@redhat.com>
Thu, 25 Mar 2021 20:16:35 +0000 (13:16 -0700)
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 <sjust@redhat.com>
src/crimson/os/seastore/segment_cleaner.h

index 93acb8fa67a38751a433293705206a875633b5f0..26dab0dd8dfd9713a3f977243aaa1dae2abc2174 100644 (file)
@@ -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