Response time on Tinc VPNs, Bandwith on Tinc-VPN

Guus Sliepen guus at tinc-vpn.org
Thu Dec 17 14:30:42 CET 2009


On Thu, Dec 17, 2009 at 12:21:25AM +0100, Johann Stieger wrote:

> response time: how is it possible to increase the response time on Tinc VPNs.
> When I use tinc over a fast or giga-bit network connection the ping-response
> time is normally about 1800 to 2000 ms. Sometimes I get ping response times
> at about 2.500 to 3.000 ms over a normal Ethernet Connection or a
> television-cable connection within the same providers-network in the same
> city. The ping-time on the underlaying network connection is about 10 to 30
> ms. So when I use Windows Remote Desktop it is terrible when I have to wait 2
> or 3 seconds to wait for a response of the chance of the desktop. 
[...]
> I use 3 Windows XP and one Windows Vista Notebooks as client and a Windows Small Business Server 2008 as server. On the client-side the config-file looks like this:
[...]
> Mode=switch
> TCPOnly=yes

Try running tinc without TCPOnly = yes. If you force TCP, then all traffic will
go through a single TCP connection, which can indeed significantly decrease
performance. The reason is explained here:

http://sites.inka.de/~W1011/devel/tcp-tcp.html

If you are not already using tinc 1.0.11, please upgrade. Also, add the
following to the host config files:

PMTUDiscovery = yes

This will let tinc automatically determine the maximum size for UDP packets
without fragmentation between nodes, and if UDP traffic is impossible, it will
automatically fall back to TCP.

-- 
Met vriendelijke groet / with kind regards,
     Guus Sliepen <guus at tinc-vpn.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20091217/8dc44e8c/attachment.pgp>


More information about the tinc mailing list