Mainline mt_allocator performance on sparc-sun-solaris2.8
Benjamin Kosnik
bkoz@redhat.com
Mon Sep 13 17:15:00 GMT 2004
>This is slower than gcc-3.4.1. Percentage difference between each
>slot on the gcc-3.4.1 table and gcc-4.0.0 table:
>
> -4.867% -15.324% -8.733% -15.224% -13.925% -2.035%
> -4.995% -4.872% -7.592% -9.126% -3.582% -6.545%
> -11.423% -6.209% 9.218% -5.644% --3.759% -0.530%
>
>This seems fairly significant to me.
I see this too. If you switch from __common_pool_policy to
__per_type_pool_policy it should go away, due to improved inlining. I'd
like to elaborate on this, but before I do can I get your test program?
I don't see it in any of the posts.
You can force single threaded behavior, even from threads enabled
configs in the current mt_alloc sources.
-benjamin
More information about the Libstdc++
mailing list