Skip to content

Commit cd3589c

Browse files
committed
crimson/os/seastore/segment_cleaner: set the default maximum space reclaimed in one gc run to 32MB
Signed-off-by: Xuehan Xu <[email protected]>
1 parent e9aa349 commit cd3589c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/crimson/os/seastore/segment_cleaner.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -555,9 +555,9 @@ class SegmentCleaner : public SegmentProvider {
555555
.9, // available_ratio_gc_max
556556
.8, // reclaim_ratio_hard_limit
557557
.6, // reclaim_ratio_gc_threshhold
558-
.1, // available_ratio_hard_limit
559-
1<<20,// reclaim 1MB per gc cycle
560-
1<<20 // rewrite 1MB of journal entries per gc cycle
558+
.2, // available_ratio_hard_limit
559+
1<<25,// reclaim 64MB per gc cycle
560+
1<<25 // rewrite 64MB of journal entries per gc cycle
561561
};
562562
}
563563
};

0 commit comments

Comments
 (0)