[openib-general] Send_bw in UD

dotanb at dev.mellanox.co.il dotanb at dev.mellanox.co.il
Thu Nov 16 06:06:41 PST 2006


Hi.

> Hi,
>   Infiniband specification says that the completion notification in case
> of
> RC occurs when the data has actually reached the destination buffer.
> Whereas
> for UD it is given when the data is placed on the infiniband line.
You are absolutely right.

>      I was going through the code send_bw.c(
> https://openfabrics.org/svn/gen2/tags/openib-1.0-rc1/src/userspace/perftest/send_bw.c
> ).
> This tells the time taken for the data to reach the destination. In the
> case
> of UD the same code is used. Should it not have the code which waits for
> the
> acknowledgement from the destination?
>     Alternately, is the bandwidth computation wrong in this case?
>  Comments will be welcome,
> -Chev

This test is a pingpong test, so if data is being received from the remote
side (even for UD QPs) that means that he got the data...

This test assumes that no packet was dropped.

Dotan





More information about the general mailing list