> No, the IO threads are entirely independent of the number of
> connections. The rule is something like 1 IO thread per CPU (this needs
> to be revisited in the light of the NUMA nature of current multicore,
> multisocket machines).
 
[DG] What is the relationship between an IO thread, a RDMA::AsynchIO instance 
and a connection?

> The IO threads all loop in parallel doing something like:
> 
> Loop:
>   Wait for IO work to do
>   Do it.
> 
> The upper layer threads can be entirely different threads (in the case
> of a client) or in the case of the broker an arbitrary IO thread
> (possibly one currently processing an event from this connection,
> possibly processing another connection). The broker does nearly all its
> work on IO threads. The exceptions are Timer events which are at least
> initiated on their own thread, and I think some management related work.
> 



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscr...@qpid.apache.org

Reply via email to