[ofa-general] infiniband multicast (libibverbs)

Kelly Burkhart kelly at tradebotsystems.com
Tue Nov 4 13:24:31 PST 2008


 

> -----Original Message-----
> From: Roland Dreier [mailto:rdreier at cisco.com] 
> 
>  > If I specify more than about 6500 messages/sec, I skip 
> some sequences
>  > and receive others multiple times.  I always receive the 
> same number of
>  > messages the client sent.  It appears as though all of the 
> messages come
>  > through, but I'm missing some and reading others twice.
> 
> Sounds like a bug in your code -- I don't know why you would see
> duplicate messages unless you are somehow processing the same receive
> buffer twice or something like that.

I am (or was) processing the same buffer over and over.  I ripped
from ib_send_lat which does the same thing.  The difference is
send_lat waits for a reply before sending a second message.  I'm 
sending rapidly without waiting for a reply.  The surprising thing
to me was that my recv buffer received data ahead of me waiting on
the cq.

I modified my code to read into a circular list of buffers which
appears to have solved the problem at the cost of more memory usage.

Thanks,

-K



More information about the general mailing list