DevinLeamy opened a new pull request, #465:
URL: https://github.com/apache/mesos/pull/465

   It seems that the default high number of allocation arenas (nproc*4) 
combined with the high number of libprocess worker threads, which are mostly 
"dormant", causes the allocator request a lot of memory from the system 
resulting in high process RSS.
   
   Most of jemalloc parameters, including the number of arenas, cannot be 
changed in runtime. So the way we configure it is a bit hacky - through the 
global string literal. The other way is using MALLOC_CONF environment variable, 
which can still be used as an override.
   
   The new number of arenas was selected pretty much arbitrarily. It helped 
reduce the agent's RSS (better than 8, same as 2) and existing benchmarks 
didn't reveal any performance hits caused by it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to