5
0
mirror of https://github.com/cwinfo/yggdrasil-network.github.io.git synced 2024-11-09 15:40:27 +00:00

Update faq.md

This commit is contained in:
Neil Alexander 2018-06-29 22:52:36 +01:00 committed by GitHub
parent 1482aa2597
commit a7c9966af2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
faq.md
View File

@ -89,6 +89,6 @@ macOS has an application firewall, therefore any firewall policies applied on ot
### Why does my Yggdrasil adapter have an unusually high MTU?
Yggdrasil peerings are typically stream-based and therefore don't suffer from fragmentation issues when pushing large amounts of data. By using the largest possible MTU supported by a platform, we can send much more data for every TCP control message.
Yggdrasil peerings are typically stream-based and therefore don't suffer from fragmentation issues when pushing large amounts of data. By using the largest possible MTU supported by a platform, we can send much more data in each write, and the TCP connection will take care of the rest. This also helps somewhat in the reduction of TCP-over-TCP amplification, as there are less control messages to be amplified.
This also helps somewhat in the reduction of TCP-over-TCP amplification, as there are less control messages to be amplified, and also uses less CPU, as we can send more data for every system call on the TUN/TAP adapter or network socket!
This also uses less CPU, as we can send more data for every system call on the TUN/TAP adapter or network socket. System calls often result in context switches by the operating system and are expensive operations, therefore by using an MTU of up to 65535, we can save as many as 42 context switches for each packet - a substantial performance improvement!