RDS/IW+IB: Set recv ring low water mark to 1/2 full.
authorSteve Wise <swise@opengridcomputing.com>
Thu, 9 Apr 2009 14:09:36 +0000 (14:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Apr 2009 00:21:14 +0000 (17:21 -0700)
commit5cd2fe6d54c91aa76893b3034f5f3473063c0202
treee2ffb6f8a3b9919326c1da62729aa2b542cdd017
parenta0c31fdfb7f158780faa43ab83cc08b414bebd7e
RDS/IW+IB: Set recv ring low water mark to 1/2 full.

Currently the recv ring low water mark is 1/4 the depth.  Performance
measurements show that this limits iWARP throughput by flow controlling
the rds-stress senders.  Setting it to 1/2 seems to max the T3
performance.  I tried even higher levels but that didn't help and it
started to increase the rds thread cpu utilization.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Andy Grover <andy.grover@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/ib_ring.c
net/rds/iw_ring.c