westerndigitalcorporation / zenfs

ZenFS is a storage backend for RocksDB that enables support for ZNS SSDs and SMR HDDs.
GNU General Public License v2.0
235 stars 86 forks source link

garbage collection test data #245

Closed attack204 closed 1 year ago

attack204 commented 1 year ago

Is the garbage collection test script available? I want to know the SST file's size and Zone Size in the test. I can't get the same space amplification improvement in my test because I think the formula "(100 - GC_SLOPE * (GC_START_LEVEL - free_percent))" is really relative to those two factors.

yhr commented 1 year ago

@attack204 : A garbage collection test script is on my todo list. I set zone size = target file size when testing garbage collection, so you can try that.

attack204 commented 1 year ago

That's really helpful! Thank you!