]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/os/seastore/segment_cleaner: set gc size back to 1MB per cycle 45390/head
authorXuehan Xu <xxhdx1985126@gmail.com>
Fri, 1 Apr 2022 08:14:53 +0000 (16:14 +0800)
committerXuehan Xu <xxhdx1985126@gmail.com>
Sat, 7 May 2022 05:13:38 +0000 (13:13 +0800)
This should reduce the conflicts between gc transactions and io transactions

Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
src/crimson/os/seastore/segment_cleaner.h

index 0070527b2b25a3c6d7cdeeaae17f6babc979ca07..b5672a0aa8cc4c07d3cd175f0d2313717d4b7675 100644 (file)
@@ -449,8 +449,8 @@ public:
          .8,   // reclaim_ratio_hard_limit
          .6,   // reclaim_ratio_gc_threshhold
          .2,   // available_ratio_hard_limit
-         1<<25,// reclaim 64MB per gc cycle
-         1<<25,// rewrite 64MB of journal entries per gc cycle
+         1<<20,// reclaim 1MB per gc cycle
+         1<<20,// rewrite 1MB of journal entries per gc cycle
          1<<24 // create 16MB of backref extents per gc cycle
        };
     }