Re: [asio-users] boost asio overhead/scalability
Brought to you by:
chris_kohlhoff
From: Christof M. <cm...@cm...> - 2012-04-17 21:21:35
|
On Wed, 18 Apr 2012 00:15:48 +0400, Marat Abrarov wrote: > This behavior is quite expected. So the only thing left is thread scheduling - recently I came across an Asio bug > tracker's record "epoll_reactor could cause unnecessary wakeups" > (http://sourceforge.net/tracker/?func=detail&aid=3494858&group_id=122478&atid=694037) Actually, I have seen this behaviour - what's even more annoying is that the Linux kernel seems to happily post EPOLLOUT events after each send (even if the state hasn't changed). I did try to patch that in a very crude way by just removing the EPOLLOUT registration from the asio header files (as it's not needed for my tests at all) - unfortunately, the run-times didn't improve with that change. Christof -- http://cmeerw.org sip:cmeerw at cmeerw.org mailto:cmeerw at cmeerw.org xmpp:cmeerw at cmeerw.org |