mirror of
https://github.com/cwinfo/yggdrasil-network.github.io.git
synced 2025-02-28 19:51:34 +00:00
Update MTU post
This commit is contained in:
parent
b2f779d629
commit
8b53a95a43
@ -24,13 +24,14 @@ operating system will have to fragment the packet down into smaller ones before
|
||||
sending out onto the wire.
|
||||
|
||||
With a smaller MTU, you will be forced to re-send the IP headers (and possibly
|
||||
other headers) along with every single packet. Those are not only wasted bytes
|
||||
on the wire, but every packet likely requires a new set of system calls to
|
||||
handle. In the case of Yggdrasil, we rely on system calls not just for socket
|
||||
operations but also for TUN/TAP. Each system call requires a context switch,
|
||||
which is a slow operation. On embedded platforms, this can be a real killer for
|
||||
performance - in fact, on an EdgeRouter X, context switching for the TUN/TAP
|
||||
adapter is a greater bottleneck than the cryptographic algorithms themselves!
|
||||
other headers) far more often with every single packet. Those are not only
|
||||
wasted bytes on the wire, but every packet likely requires a new set of system
|
||||
calls to handle. In the case of Yggdrasil, we rely on system calls not just for
|
||||
socket operations but also for TUN/TAP. Each system call requires a context
|
||||
switch, which is a slow operation. On embedded platforms, this can be a real
|
||||
killer for performance - in fact, on an EdgeRouter X, context switching for the
|
||||
TUN/TAP adapter is a greater bottleneck than the cryptographic algorithms
|
||||
themselves!
|
||||
|
||||
### Selecting TCP instead of UDP
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user