> __gnu_cxx::__exchange_and_add shows up in profiles of the PowerDNS recursor. > http://wiki.powerdns.com The issue here is that __exchange_and_add is called too much and not it is inlined. Now someone should go and figure out why this is called too much (I don't have a profile).
.. on the other hand, I think we should close this one, sorry ;) As long as we have a reference counted string and the user cannot disable the use of atomic operations when single threaded, there isn't much we can do. Agreed?
I actually disagree with that. We really need more info (I don't have the profiles to see why we are calling this too much but we really need to figure it out).
(In reply to comment #2) > I actually disagree with that. We really need more info (I don't have the > profiles to see why we are calling this too much but we really need to figure > it out). Whatever... ;)
This is being treated as a placeholder until there is actually information for reproducing the issue for the rest of us.... For information on the kinds of performance test cases that are useful, please consult the files in testsuite/performance. -benjamin
Feedback not forthcoming.