From 9d033a24981800d21520e7977d4d003e0279ffdc Mon Sep 17 00:00:00 2001 From: Alexandre Snarskii Date: Thu, 5 Jun 2014 13:30:20 +0400 Subject: [PATCH] regenerated by README.md --- bgpq3.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bgpq3.html b/bgpq3.html index 3674917..f385bb2 100644 --- a/bgpq3.html +++ b/bgpq3.html @@ -287,6 +287,13 @@ due to lacking tcp buffer size. To avoid this, tune your OS. FreeBSD can be tuned in the following way:

sysctl -w net.inet.tcp.sendbuf_max=16777216
 
+

Linux can be tuned in the following way:

+
sysctl -w net.ipv4.tcp_window_scaling=1
+sysctl -w net.core.rmem_max=16777216
+sysctl -w net.core.wmem_max=16777216
+sysctl -w net.ipv4.tcp_rmem="4096 87380 16777216"
+sysctl -w net.ipv4.tcp_wmem="4096 65536 16777216"
+

Please note that generated prefix-lists may not fit your router's limitations. For example, JunOS supports only 85,325 prefixes in each prefix-list 4.