wiscsee
wiscsee copied to clipboard
Garbage Collection not being triggered
I have been running the simulator and the AppMix workload is used. I notice that the workloads don't seem to be big enough to trigger Garbage collection. Could you let me know where I can find such a workload so that it would trigger Garbage collection?
There are multiple ways to trigger GC:
- Run the application longer to create more traffic. You can achieve this by configuring the applications. For example, you can insert more key/value pairs to LevelDB. Be careful. Because of the nature of LevelDB, you may get an Out Of Space error if the LevelDB's GC kicks in too late.
- Lower the GC threshold. For example, set the FTL to trigger GC when the drive is 40% full, instead of 70%.
- Use a smaller drive.
BTW, for those who do not know, AppMix is a class that is used to generate workloads in full-func branch.