once I tried TBB memory allocator in the project I was working on (MMORPG cluster, linux 2.6, recent gcc, 8 cores Intel Xeon) and was surprised when received worse performance. what can be a reason? I expected at least not better performance (all cores were loaded and allocation happens regularly). can anybody share own experience with TBB at all and its memory allocator in particular? tnx for your time
3
votes
I haven't tried the TBB allocator, but you may also want to have a look at TCMalloc, which is often very fast and is designed to work well with thread-heavy programs. It's part of the google-perftools package, BSD-licensed. code.google.com/p/google-perftools Docs on tcmalloc here: google-perftools.googlecode.com/svn/trunk/doc/tcmalloc.html
- Will Robinson
1 Answers
5
votes
You can probably get the best answers at TBBs forums, they have excellent support.
I have been using TBB for a little over a year and I have been quite satisfied with TBB in general and its allocator.
You will need to provide more information, e.g. use case, numbers etc... otherwise it is impossible to tell what is causing your probelms.