On Thu, Jan 29, 2009 at 05:26:37PM +0200, Yevgeny Kliteynik wrote:

> Then I added 20 msec sleep after write() failure to make it give up the cpu 
> time
> slice, and I saw some improvement. When I added sleep of several seconds, the 
> problem
> disappeared completely, but then of course, the client's transaction will 
> fail with
> timeout unless you specifically increase the transaction timeout on the 
> client side.

Poll or a blocking fd would be a better choice than a sleep...

-- 
Jason Gunthorpe <[email protected]>        (780)4406067x832
Chief Technology Officer, Obsidian Research Corp         Edmonton, Canada
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to