-
Notifications
You must be signed in to change notification settings - Fork 269
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
Using HybridCache #372
Comments
More output:
|
Hello @sriramsrao Could you clarify more what you are trying to do? Do you want to only use NVM cache without any DRAM cache? Are you trying to split NVM cache into pools? Which pool are you inserting to? To answer your questions, What is the relationship between the cache pool size and the HybridCache? There is no relationship. The pools are a RAM cache concept and does not apply to NVM cache. What triggers data migration from RAM to SSD? Evictions from RAM are admitted to SSD. You can configure the cache to be selective about what is admitted to SSD. |
Hello @pbhandar2 I want to use the NVM with DRAM cache. I only have a For instance, I'd like to have 50G NVM cache. What should I set the size of the DRAM cache? When/how do I trigger migration? Lastly, what should size of the For now, it'd be great if the cache to put everything into the SSD. Just makes testing easier. Thanks. Sriram |
Hello @pbhandar2 , I pushed on this a bit more. Here is what I am doing:
My config is below. When I try to retrieve the key/values that I previously inserted, the retrieve fails: the lookup using the I tried to follow the code using gdb and found that items were being evicted from RAM and being pushed to NVM, but nothing seemed to be written to the SSD. This likely explains why the subsequent reads fail. Any pointers would be greatly appreciated.
|
So when items are being evicted from DRAM to NVM, they are not being stored in NVM. You could check a few things.
|
Yes, a file is created in the NVM. A bit of progress. I am able to read/write from the SSD. Here are some counters:
The issue is:
|
Hello...
I modified the simple server example code to use the HybridCache. I set it up for being a Block cache. My test code inserts 5 large objects (256MB in size apiece), and then tries to retrieve them back. I have two questions:
Can you please help me?
Here is my updated initialization:
The cache config:
The text was updated successfully, but these errors were encountered: