[rds-devel] FW: RDS -- RDMA out of order

Andy Grover andy.grover at oracle.com
Sun May 2 22:54:11 PDT 2010


On 05/02/2010 10:05 PM, Tang, Changqing wrote:
> I checked that the messages were retransmitted by me after the 
> messages were dropped. This comes to another question, if rds-rdma 
> messages to the same target process are dropped, does RDS drop them 
> in the same order as user posted ?

> What I noticed is that the dropped order is not the same as the
> order I posted, I want to check with you if this is the anticipated
> RDS behavior. I prefer RDS to drop messages in the same order as they
> are posted, the reason for it is that, application does not need to
> check the order of dropped messages, application only needs to decide
> to retransmit it or not.

Yes they should be dropped in order.

See rds_send_reset(). When the connection is reset, the entire retrans
queue gets spliced back onto the send_queue. Then, when going back
through send_xmit, any with rdma ops attached are dropped. I don't see
any reordering taking place that could explain the behavior you're
seeing, so I'm a bit baffled.

Regards -- Andy




More information about the rds-devel mailing list