Re: [Boost-bugs] [Boost C++ Libraries] #6308: Add sp_counted_base_aix.hpp using AIX atomic operations

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6308: Add sp_counted_base_aix.hpp using AIX atomic operations
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-12-23 20:49:01


#6308: Add sp_counted_base_aix.hpp using AIX atomic operations
-----------------------------------------+----------------------------------
  Reporter: aaron.riekenberg@… | Owner: pdimov
      Type: Feature Requests | Status: reopened
 Milestone: To Be Determined | Component: smart_ptr
   Version: Boost 1.48.0 | Severity: Optimization
Resolution: | Keywords:
-----------------------------------------+----------------------------------

Comment (by aaron.riekenberg@…):

 I convinced myself you are correct about lwsync.

 Average performance of all approaches in test.cpp per iteration:

 Original pthread_mutex implementation: 23 microseconds
 Atomic operations, barrier using sync: 8.8 microseconds
 Atomic operations, barrier using lwsync: 8.2 microseconds
 Atomic operations, no barrier (broken): 4.7 microseconds

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6308#comment:11>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:08 UTC