How to adjust set rate in kvcache_l2_wc #292
-
@dreiss @willbailey @javache But after even changing this rate, there is no difference in the set rate. We need more details. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Hello @junwoo0127 |
Beta Was this translation helpful? Give feedback.
-
Hi @junwoo0127 , I'm not from Meta, but since you mentioned I am guessing this should be passed to here: CacheLib/cachelib/cachebench/workload/WorkloadDistribution.h Lines 38 to 41 in 1f60086 I believe maxWriteRate is a parameter for the You may also wish to look at this if you have not: https://cachelib.org/docs/Cache_Library_User_Guides/Developing_for_Cachebench/#simple-config-with-key-value-sizes-and-popularity-distribution kvcache_l2_reg may also be useful, it already has sets. Hope it helps! |
Beta Was this translation helpful? Give feedback.
-
Thank you, Wong! I first lowered the setratio value to 0.1 and tested it, but there wasn't any noticeable change. Oddly enough, when I significantly reduced the getratio, there was a significant difference. However, I didn't see any effect when I adjusted the setratio. I'll try running a full test for five days with just the set ratio changed. Additionally, I would like your advice and feedback of the two other parameters I am assuming that might have affect to the setrate. Thank you for sharing your precious idea!! |
Beta Was this translation helpful? Give feedback.
Hi @junwoo0127 , I'm not from Meta, but since you mentioned
kvcache_l2_wc
, have you tried changing the set ratio?CacheLib/cachelib/cachebench/test_configs/ssd_perf/kvcache_l2_wc/config.json
Lines 41 to 46 in 1f60086
I am guessing this should be passed to here:
CacheLib/cachelib/cachebench/workload/WorkloadDistribution.h
Lines 38 to 41 in 1f60086