Skip to content
Discussion options

You must be logged in to vote

Hi @junwoo0127 , I'm not from Meta, but since you mentioned kvcache_l2_wc, have you tried changing the set ratio?

https://github.com/facebook/CacheLib/blob/1f60086c66a8cc05c8d9560ae61bb9021db6269d/cachelib/cachebench/test_configs/ssd_perf/kvcache_l2_wc/config.json#L41-L46

I am guessing this should be passed to here:

https://github.com/facebook/CacheLib/blob/1f60086c66a8cc05c8d9560ae61bb9021db6269d/cachelib/cachebench/workload/WorkloadDistribution.h#L38-L41

I believe maxWriteRate is a parameter for the DynamicRandomAdmissionPolicy flash admission policy and would just cap the number of sets by dropping them randomly to achieve the maximum flash write rate.

You may also wish to look at this…

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@junwoo0127
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by jaesoo-fb
Comment options

You must be logged in to vote
2 replies
@wonglkd
Comment options

@junwoo0127
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants