tinc/doc
Etienne Dechamps 94f49a163a Set the default for UDPRcvBuf and UDPSndBuf to 1M.
It may not be obvious, but due to the way tinc operates (single-threaded
control loop with no intermediate packet buffer), UDP send and receive
buffers can have a massive impact on performance. It is therefore of
paramount importance that the buffers be large enough to prevent packet
drops that could occur while tinc is processing a packet.

Leaving that value to the OS default could be reasonable if we weren't
relying on it so much. Instead, this makes performance somewhat
unpredictable.

In practice, the worst case scenario occurs on Windows, where Microsoft
had the brillant idea of making the buffers 8K in size by default, no
matter what the link speed is. Considering that 8K flies past in a
matter of microseconds on >1G links, this is extremely inappropriate. On
these systems, changing the buffer size to 1M results in *obscene*
raw throughput improvements; I have observed a 10X jump from 40 Mbit/s
to 400 Mbit/s on my system.

In this commit, we stop trusting the OS to get this right and we use a
fixed 1M value instead, which should be enough for <=1G links.
2015-03-15 18:04:55 +00:00
..
sample-config Simplify logging, update copyrights and some minor cleanups. 2003-07-12 17:41:48 +00:00
CONNECTIVITY Remove all occurences of $Id$. 2009-09-24 23:39:16 +02:00
Makefile.am Automake doesn't like info files being mentioned in CLEANFILES. 2013-09-08 14:42:32 +02:00
NETWORKING Remove all occurences of $Id$. 2009-09-24 23:39:16 +02:00
PROTOCOL Remove all occurences of $Id$. 2009-09-24 23:39:16 +02:00
SECURITY2 Remove all occurences of $Id$. 2009-09-24 23:39:16 +02:00
SPTPS Make sure the signature also covers the session label. 2012-03-18 21:24:46 +01:00
tinc-gui.8.in Add manpage for tinc-gui. 2011-06-26 13:17:50 +02:00
tinc.8.in Document that --force should precede commands. 2015-02-16 08:26:49 +01:00
tinc.conf.5.in Set the default for UDPRcvBuf and UDPSndBuf to 1M. 2015-03-15 18:04:55 +00:00
tinc.texi Set the default for UDPRcvBuf and UDPSndBuf to 1M. 2015-03-15 18:04:55 +00:00
tincd.8.in Add a new --syslog option for tincd. 2015-03-13 11:05:22 +00:00
tincinclude.texi.in Remove unused stuff from doc/. 2003-08-08 14:07:12 +00:00