Our proposal for a MATDS

Nathan Myers ncm-nospam@cantrip.org
Tue Mar 4 03:59:00 GMT 2003


On Tue, Mar 04, 2003 at 01:48:41AM +0100, Stefan Olsson wrote:
> As mentioned erlier on this list 
> (http://gcc.gnu.org/ml/libstdc++/2003-02/msg00098.html) we (that's me and 
> Ola R?nnerup) have been working on a allocator suitable for MT applications 
> for quite some time now. 

Have you read Paul McKenney's papers on the subject?  He did the 
allocator for the Sequent Dynix kernel.

  http://www.rdrop.com/users/paulmck/

I expect an order of magnitude or better improvement is available,
particularly if you bypass malloc() and go directly to mmap(), and
use modern page-tagging and RCU primitives.  Glibc's malloc would
would benefit from the same kind of attention.

Nathan Myers
ncm-nospam@cantrip.org



More information about the Libstdc++ mailing list