[Boost-bugs] [Boost C++ Libraries] #6906: boost 1.49 takes too much CPU time.

Subject: [Boost-bugs] [Boost C++ Libraries] #6906: boost 1.49 takes too much CPU time.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-05-16 07:51:55


#6906: boost 1.49 takes too much CPU time.
----------------------------------+-----------------------------------------
 Reporter: zhussain@… | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: interprocess
  Version: Boost 1.49.0 | Severity: Problem
 Keywords: High CPU Usage |
----------------------------------+-----------------------------------------
 I moved from boost 1.44 with my project building with Visual Studio 2005
 to 1.49 (+Visual Studio 2010) and found that CPU usage of my application
 hovers between 90% to 99-100%.

 I found interprocess::message_queue::recieve takes too much CPU time and
 if I replace this with interprocess::message_queue::timed_receive with a
 time parameter ( + minor adjustment in client code that was calling
 recieve), there seems to be some improvement ( CPU usage time hovers
 between 1% to 25%).

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6906>
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:09 UTC