[Question] Strategy? Threshold?
Hi,
I've read your paper and was really impressed with your work. I wanted to try it on my Galaxy S4, so I cloned the repo and managed to compile libflush, the example within libflush and the eviction_strategy_evaluator. However I'm stuck between choosing an eviction strategy and a choosing threshold. If I understand correctly then:
- eviction_strategy_evaluator lets you find the right strategy for your device based on basic cache information. However, it also requires supplying a threshold. When using a threshold value of 95 (like in your example), every strategy gives a 100% rate which got me to think that I must be doing something wrong.
- libflush example lets you see a histogram of the cache hit/miss times and find a threshold from those histograms. However, it requires supplying the strategy, which I don't have yet. When trying to use the zeroflte strategy supplied I got a histogram where most of the cache hits and misses were around the same time, which also got me to think that again I must be doing something wrong.
So I'm kinda stuck in a cycle here. What am I missing?
I should probably add that I'm using the monotonic clock as the timing mechanism, because both the register method and the perf method did not work. The register method keeps crashing the program with SIGILL (CPU doesn't support that method, I guess). The perf methods crashes with errno 38, not implemented in my kernel (Galaxy S4, Android 5.0.1 Kernel 3.4.5)?
Any help and/or clarifications would be greatly appreciated!