Question about engine-pair concept in Navy #221
Unanswered
arungeorge83
asked this question in
Q&A
Replies: 2 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.
0 replies
-
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.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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