Question about engine-pair concept in Navy #221
Replies: 3 comments 2 replies
-
|
Hi, the idea is similar to the "pools" in memory. If you have multiple use cases in the same cachelib instance, you can use pools to separate them in memory and engine pairs to separate them in NVM. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks. 1 - How does a 'key' or 'NVM IO' is directed to a particular navy engine pair? what is the mapping logic for the 'key -> engine pair' ? |
Beta Was this translation helpful? Give feedback.
-
|
Closing this discussion as it has been inactive. If this is still relevant, then please create a new discussion post and we will get back to you as soon as we can. Thank you! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I see that a concept of Engine pairs (multiple pairs of BigHash & BlockCache) is added into the initialization sequence of Cachelib.
https://github.com/facebook/CacheLib/blob/main/cachelib/allocator/nvmcache/NavySetup.cpp#L241
And I don't see any documentation or much comments on the code about it.
Could you explain the main use cases of this concept?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions