Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the relationship between popularityWeights, popularityBuckets and htBucketPower #83

Closed
xiedeyantu opened this issue Nov 30, 2021 · 3 comments

Comments

@xiedeyantu
Copy link
Contributor

I know that htbucketpower is the number of buckets to the nth power of 2. Popularityweights and popularitybuckets play a role in the cachebench. Could you tell me more detail please?

@xiedeyantu
Copy link
Contributor Author

by the way, can not valSize be greater than 4MB? I use configuration: "valSizeRange": [ 5242880,5242882 ] and "enableChainedItem": true to test navy, set : 16,156/s, success : 0.00%

@leozzx
Copy link
Contributor

leozzx commented Nov 30, 2021

by the way, can not valSize be greater than 4MB? I use configuration: "valSizeRange": [ 5242880,5242882 ] and "enableChainedItem": true to test navy, set : 16,156/s, success : 0.00%

valSize can't be greater than 4MB, Cachebench doesn't automatically split the item into chained items. You should use "chainedItemValSizeRange" to specify chained item size.

@sathyaphoenix
Copy link
Contributor

@xiedeyantu chained items stress test was implemented in cachebench much later. Like @leozzx pointed out, the chainedItemValSizeRange and chainedItemLengthRange and chainedItemLengthRangeProbability control how long the values are including the chain. We are missing documentation on this in https://cachelib.org/docs/Cache_Library_User_Guides/Configuring_cachebench_parameters

@leozzx we should document the chained item length parameters here in our next documentation sprint.

@facebook facebook locked and limited conversation to collaborators Dec 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants