Boost logo

Boost Users :

Subject: Re: [Boost-users] [asio] io_service threadpool performance
From: Igor R (boost.lists_at_[hidden])
Date: 2009-03-17 17:17:02


> Someone more familiar with the implementation could comment, but just poking
> around through the implementation it appears there is one queue of handlers
> that will get shared by all threads; right there I think there'll be a
> lot of lock contention between threads on the single queue.

What if you use io_service-per-cpu approach? How does it affect the performance?


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net