-
Notifications
You must be signed in to change notification settings - Fork 174
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
WIP: segcache: use mutex and jemalloc #459
base: master
Are you sure you want to change the base?
Conversation
Test using jemalloc
Replaces the queue between the workers and storage thread with a locking implementation.
For a 9 core configuration on: With a workload: With a backend config: This change brings the redline from 728kqps -> 830kqps |
Changes to the protocol / entrystore layers to allow recycling the buffers which are used to hold key/value responses.
Draft PR, needs performance evaluation
Changes threading model to use shared storage, protected
by a mutex. This removes the overhead of cross-thread
signaling and communication on the request path in favor of
using coarse-locking.
Sets the global allocator to jemalloc for pelikan_segcache_rs