qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Stitcher <astitc...@redhat.com>
Subject RE: Rdma IO state transitions [Was: AsynchIO state transition]
Date Wed, 15 Sep 2010 19:56:27 GMT
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-subscribe@qpid.apache.org


Mime
View raw message