<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Aug 6, 2013, at 4:42 PM, Veeravadivel Duraisamy <<a href="mailto:catchveera@yahoo.com">catchveera@yahoo.com</a>> wrote:</div><blockquote type="cite"><div><div style="background-color: rgb(255, 255, 255); font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; position: static; z-index: auto; "><div style="font-size: 16px; font-family: 'times new roman', 'new york', times, serif; background-color: transparent; font-style: normal; ">I am running my application on a 24 core machine and I have 108 threads. I see a slight increase in latency with jemalloc when compared to tcmalloc. The jemalloc man page says by default 24*4 arenas will be created. I would like to increase the number of arenas to 108. What should be the value that i set the env variable MALLOC_CONF to?</div></div></div></blockquote></div><br><div>MALLOC_CONF=narenas:108</div><div><br></div><div>You may actually get better performance by *decreasing* the number of arenas though.  The thread caching is pretty effective at reducing arena accesses for most applications.</div><div><br></div><div>Jason</div></body></html>