Skip to content

CacheBench: changing number of keys for provided test configs #165

Closed Answered by kevins981
kevins981 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi CacheLib developers,

I am reopening this thread because I am still unsure about CacheBench's behavior when using popDistFile with an increased numKeys.

@therealgymmy mentioned above that we are allowed to increase numKeys using the same popDistFile file. I did the following to test this:

I am using cachelib/cachebench/test_configs/hit_ratio/cdn/config.json as an example. The original config had numKeys == 8935378 and I increased it to 80 million. For context, we wanted to do this in order to scale the workload up (increasing cache size, numKeys etc).

For the Workload Generator (which is used by default here), my understanding is that in getReq(), the idx generated should cover than ent…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@jaesoo-fb
Comment options

@kevins981
Comment options

@jaesoo-fb
Comment options

Answer selected by kevins981
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants