]> git.openfabrics.org - ~tnikolova/docs/.git/commitdiff
Add IPoIB CM performance tuning.
authorVladimir Sokolovsky <vlad@mellanox.co.il>
Wed, 10 Dec 2008 11:07:00 +0000 (13:07 +0200)
committerTziporet Koren <tziporet@mellanox.co.il>
Wed, 10 Dec 2008 11:07:00 +0000 (13:07 +0200)
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.co.il>
ipoib_release_notes.txt

index 56be57a6615241410e54c22aeaa4a6e4353d34c1..02cb20cbbcf73fce486151eba13e5a898ee7bad2 100755 (executable)
@@ -14,6 +14,7 @@ Table of Contents
 5. The ib-bonding driver
 6. Bug Fixes and Enhancements Since OFED 1.3
 7. Bug Fixes and Enhancements Since OFED 1.3.1
+8. Performance tuning
 
 ===============================================================================
 1. Overview
@@ -238,4 +239,22 @@ Notes:
 - Bonding: Avoid annoying messages from initscripts when starting bond
 - Bonding: Set default number of grat. ARP after failover to three (was one)
 
+===============================================================================
+8. Performance tuning
+===============================================================================
+- In IPoIB connected mode, the throughput of medium and large messages can be
+  increased by setting the following TCP parameters as follows:
+
+        /sbin/sysctl -w net.ipv4.tcp_timestamps=0
+        /sbin/sysctl -w net.ipv4.tcp_sack=0
+        /sbin/sysctl -w net.core.netdev_max_backlog=250000
+        /sbin/sysctl -w net.core.rmem_max=16777216
+        /sbin/sysctl -w net.core.wmem_max=16777216
+        /sbin/sysctl -w net.core.rmem_default=16777216
+        /sbin/sysctl -w net.core.wmem_default=16777216
+        /sbin/sysctl -w net.core.optmem_max=16777216
+        /sbin/sysctl -w net.ipv4.tcp_mem="16777216 16777216 16777216"
+        /sbin/sysctl -w net.ipv4.tcp_rmem="4096 87380 16777216"
+        /sbin/sysctl -w net.ipv4.tcp_wmem="4096 65536 16777216"
+