Hi Pradeep,<br><br>
<div class="gmail_quote">On Wed, Jul 29, 2009 at 2:14 PM, Pradeep Satyanarayana <span dir="ltr"><<a href="mailto:pradeeps@linux.vnet.ibm.com">pradeeps@linux.vnet.ibm.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im">Hal Rosenstock wrote:<br>> Hi,<br>><br>> I'm seeing the following messages from IPoIB:<br>> ib0: post_send failed<br>> ib0: post_send failed<br>> ib0: post_send failed<br>> ib0: post_send failed<br>
> ib0: post_send failed<br>> ib0: post_send failed<br>> NETDEV WATCHDOG: ib0: transmit timed out<br>> ib0: transmit timeout: latency 1374 msecs<br>> ib0: queue stopped 1, tx_head 140245691, tx_tail 140245565<br>
><br>> What are the possible (and most likely) causes of post_send failures ? I<br>> went through the code for all the errors (some at the driver level) but<br>> none popped out at me.<br>><br><br></div>Is it possible that the receiver is overwhelmed and hence the tx_ring is full?</blockquote>

<div> </div>
<div>It's possible but from the message you can't tell whether the tx_ring is full.</div>
<div> </div>
<div>Does it make sense to increase the transmit ring size via send_queue_size mod param ?</div>
<div> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><span id=""></span><br>Is this a UDP application?</blockquote>
<div> </div>
<div>There is at least some UDP and there are many concurrent clients.</div>
<div> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><span id=""></span><br>
<div class="im"><br>> Once the transmit queue is stopped, does the interface need to be taken<br>> down and then back up to restart this ?<br><br></div>One does not need to take down the interface. It should be able to recover on it's<br>
own. There is a timer that kicks in and checks if the tx_ring is still full or not-<br>the transmits should start again. Thanks!</blockquote>
<div> </div>
<div>Thanks for the help!</div>
<div> </div>
<div>-- Hal</div>
<div> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><span id=""></span><br><font color="#888888"><br>Pradeep<br><br></font></blockquote></div><br>