wiscsee icon indicating copy to clipboard operation
wiscsee copied to clipboard

Garbage Collection not being triggered

Open ramyanl157 opened this issue 8 years ago • 1 comments

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?

ramyanl157 avatar Jul 22 '17 03:07 ramyanl157

There are multiple ways to trigger GC:

  1. 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.
  2. Lower the GC threshold. For example, set the FTL to trigger GC when the drive is 40% full, instead of 70%.
  3. 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.

junhe avatar Jul 24 '17 04:07 junhe