-
Notifications
You must be signed in to change notification settings - Fork 19
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
Fixed #166: Promote jemalloc as the alternate memory allocator of choice #176
Conversation
|
||
Memory pools are an important technique to improve application performance. | ||
The router already uses a custom memory pool (`src/alloc_pool.c`). | ||
Proton currently does not use any such mechanism. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I should say that it does not really matter that much, because Dispatch takes care to avoid allocations in proton.
c20be82
to
9b569d5
Compare
9b569d5
to
b14c31c
Compare
b14c31c
to
90a5099
Compare
90a5099
to
ccb711e
Compare
ccb711e
to
6212bd6
Compare
@jiridanek Can you please rebase this when you get a chance? Thx. |
I can, but, is this really something that might realistically get in? I felt like its probably a no go, from previous discussions. jemalloc and the fellow alternate allcators have advantages in observability, for example, but I understood the plan for the router is to write custom malloc wrapper for everything |
6212bd6
to
27e2b0d
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #176 +/- ##
===========================================
- Coverage 77.89% 25.90% -52.00%
===========================================
Files 238 128 -110
Lines 60704 31195 -29509
Branches 5580 4973 -607
===========================================
- Hits 47286 8081 -39205
- Misses 10795 22059 +11264
+ Partials 2623 1055 -1568
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Yes, agreed. I am closing this one for now. |
TODO