From 4c6deff01d981d154e32faa89e6c6516f0686780 Mon Sep 17 00:00:00 2001 From: Vladimir Sokolovsky Date: Wed, 10 Dec 2008 13:07:00 +0200 Subject: [PATCH] Add IPoIB CM performance tuning. Signed-off-by: Vladimir Sokolovsky --- ipoib_release_notes.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/ipoib_release_notes.txt b/ipoib_release_notes.txt index 56be57a..02cb20c 100755 --- a/ipoib_release_notes.txt +++ b/ipoib_release_notes.txt @@ -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" + -- 2.46.0