De voip packages are 172 bytes.

23:12:52.378101 IP 192.168.2.2.12500 > 192.168.17.248.foliocorp: UDP, length 172 23:12:52.383119 IP 192.168.17.248.foliocorp > 192.168.2.2.12500: UDP, length 172 23:12:52.398525 IP 192.168.2.2.12500 > 192.168.17.248.foliocorp: UDP, length 172 23:12:52.411382 IP 192.168.17.248.foliocorp > 192.168.2.2.12500: UDP, length 172 23:12:52.418255 IP 192.168.2.2.12500 > 192.168.17.248.foliocorp: UDP, length 172 23:12:52.431439 IP 192.168.17.248.foliocorp > 192.168.2.2.12500: UDP, length 172 23:12:52.437959 IP 192.168.2.2.12500 > 192.168.17.248.foliocorp: UDP, length 172 23:12:52.451442 IP 192.168.17.248.foliocorp > 192.168.2.2.12500: UDP, length 172 23:12:52.457807 IP 192.168.2.2.12500 > 192.168.17.248.foliocorp: UDP, length 172 23:12:52.461792 IP 192.168.17.248.foliocorp > 192.168.2.2.12500: UDP, length 172 23:12:52.477710 IP 192.168.2.2.12500 > 192.168.17.248.foliocorp: UDP, length 172

Perry

On 08/04/2010 11:08 PM, Guus Sliepen wrote:
On Wed, Aug 04, 2010 at 10:44:36PM +0200, Perry Couprie wrote:

I want to use tinc for voip phones.

How can i measure the overhead ?
Compared to a direct connection ?

How can i reduce overhead when tunneling voip over tinc ?
You can use tcpdump to see what packets are sent on an interface and how big
they are. If you want to know latency, just use the ping command.

Tinc will typically add one or a few milliseconds to the latency, and add
around 80 bytes to each packet. You can decrease the size overhead slightly by
changing the Cipher to something that can handle partial blocks, like
blowfish-ofb for example. This will save you 4.5 bytes on average. You can also
disable the Digest, this will save you another 4 bytes. So it is probably not
worth it.

Although in principle tinc adds only a millisecond or so to latency, it is a
user-space program, and the operating system's scheduler can add more latency if
other programs are running at the same time. So jitter is increased. You can
minimise that by running tinc at a higher priority level (with the
ProcessPriority option), or on Linux, you could in principle run it as a
real-time process with the chrt command from the util-linux package.


_______________________________________________
tinc mailing list
[email protected]
http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc

_______________________________________________
tinc mailing list
[email protected]
http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc

Reply via email to