List:Internals« Previous MessageNext Message »
From:Dan Nelson Date:March 5 2005 5:03am
Subject:Re: Performance on Solaris Vs Linux
View as plain text  
Dan Nelson wrote:
> Faisal Feroz wrote:
>> On solaris malloc calls block all threads and create heap contention. 
>> Indeed, Sun actually dis-courages the use of malloc. This would 
>> explain why we could never see our CPU utilization go up on solaris.
> 
> Solaris has a malloc library especially for threaded apps.  Just link 
> your binary with -lmtmalloc.  Also see "A Comparison of Memory 
> Allocators in Multiprocessors": 
> http://developers.sun.com/solaris/articles/multiproc/multiproc.html

I should have waited before posting.  There's also libumem (link with 
-lumem).  Paper at http://www.usenix.org/event/usenix01/full_papers/bonwick/
I recommend you do your own benchmarks.

Thread
Performance on Solaris Vs LinuxFaisal Feroz3 Mar
  • Re: Performance on Solaris Vs LinuxMatthew Palmer3 Mar
  • Re: Performance on Solaris Vs LinuxDan Nelson5 Mar
    • Re: Performance on Solaris Vs LinuxDan Nelson5 Mar
  • Re: Performance on Solaris Vs LinuxPeter Zaitsev9 Mar