Re: [asio-users] boost asio overhead/scalability
Brought to you by:
chris_kohlhoff
From: Marat A. <ab...@ma...> - 2012-04-17 20:16:01
|
> I had to make some minor changes to make it compile without C++11 > extensions > (http://svn.cmeerw.net/src/nginetd/trunk/test/asiosrv-alloc.cc). To become more accurate only: http://liveworkspace.org/code/915570b8ba4a436e735f426679ed9a00 > But in the best case performance is the same as with my original > version and in some cases it's more than 10 % slower. 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) Regards, Marat Abrarov. |