On Wed, 2010-09-15 at 11:03 -0700, Danny Guo wrote: > > 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?
Rdma::AsynchIO holds the data channel for a connection (the connection channel is held by Rdma::Listener or Rdma::Connector depending on the role of the connection) There is no relationship per se to an IO thread: when the code comments refer to "the thread" of a connection what they more correctly mean is correctly serialised with respect to that thread so that only one piece of code manipulating it is running at once. Andrew --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:dev-subscr...@qpid.apache.org