[openib-general] [PATCH] ipoib tune rx ring size

Michael S. Tsirkin mst at mellanox.co.il
Mon Jun 20 08:14:04 PDT 2005


Reducing the rx ring size gives me bandwidth win of about 1%.

Signed-off-by: Michael S. Tsirkin <mst at mellanox.co.il>

Index: ulp/ipoib/ipoib.h
===================================================================
--- ulp/ipoib/ipoib.h	(revision 2656)
+++ ulp/ipoib/ipoib.h	(working copy)
@@ -62,7 +62,7 @@ enum {
 
 	IPOIB_ENCAP_LEN 	  = 4,
 
-	IPOIB_RX_RING_SIZE 	  = 128,
+	IPOIB_RX_RING_SIZE 	  = 64,
 	IPOIB_TX_RING_SIZE 	  = 64,
 
 	IPOIB_NUM_WC 		  = 4,

-- 
MST



More information about the general mailing list