Wireguard-go: How fast wireguard-go devices startup?
Denis Tingajkin
denis.tingajkin at xored.com
Tue Nov 3 05:28:35 CET 2020
Hello,
During testing wireguard-go device between two k8s clusters, we found that sometimes devices could long start (~30 sec) (we expected < ~15s)
Question: Do you have any benchmarks on the startup of wireguard device? (if yes, what is the duration expected?)
Logs:
DEBUG: Wireguard Device (nsmuXYqpJH5I): 2020/09/30 07:22:42 Routine: decryption worker - started
DEBUG: Wireguard Device (nsmuXYqpJH5I): 2020/09/30 07:22:42 Routine: encryption worker - started
DEBUG: Wireguard Device (nsmuXYqpJH5I): 2020/09/30 07:22:42 Routine: decryption worker - started
DEBUG: Wireguard Device (nsmuXYqpJH5I): 2020/09/30 07:22:42 Routine: encryption worker - started
DEBUG: Wireguard Device (nsmuXYqpJH5I): 2020/09/30 07:22:42 Routine: handshake worker - started
DEBUG: Wireguard Device (nsmuXYqpJH5I): 2020/09/30 07:22:42 Routine: decryption worker - started
DEBUG: Wireguard Device (nsmuXYqpJH5I): 2020/09/30 07:22:42 Routine: decryption worker - started
DEBUG: Wireguard Device (nsmuXYqpJH5I): 2020/09/30 07:22:42 Routine: encryption worker - started
DEBUG: Wireguard Device (nsmuXYqpJH5I): 2020/09/30 07:22:42 Routine: handshake worker - started
DEBUG: Wireguard Device (nsmuXYqpJH5I): 2020/09/30 07:22:42 Routine: TUN reader - started
DEBUG: Wireguard Device (nsmuXYqpJH5I): 2020/09/30 07:22:42 Routine: handshake worker - started
DEBUG: Wireguard Device (nsmuXYqpJH5I): 2020/09/30 07:22:42 Routine: encryption worker - started
DEBUG: Wireguard Device (nsmuXYqpJH5I): 2020/09/30 07:22:42 Routine: event worker - started
INFO: Wireguard Device (nsmuXYqpJH5I): 2020/09/30 07:22:42 Interface set up
DEBUG: Wireguard Device (nsmuXYqpJH5I): 2020/09/30 07:22:42 Routine: handshake worker - started
DEBUG: Wireguard Device (nsmuXYqpJH5I): 2020/09/30 07:22:42 Routine: receive incoming IPv6 - started
DEBUG: Wireguard Device (nsmuXYqpJH5I): 2020/09/30 07:22:42 Routine: receive incoming IPv4 - started
DEBUG: Wireguard Device (nsmuXYqpJH5I): 2020/09/30 07:22:42 UDP bind has been updated
INFO: Wireguard Device (nsmuXYqpJH5I): 2020/09/30 07:22:42 Interface set down
DEBUG: Wireguard Device (nsmuXYqpJH5I): 2020/09/30 07:22:42 Received message with unknown type
DEBUG: Wireguard Device (nsmuXYqpJH5I): 2020/09/30 07:22:42 Routine: receive incoming IPv6 - stopped
DEBUG: Wireguard Device (nsmuXYqpJH5I): 2020/09/30 07:22:42 Routine: receive incoming IPv4 - stopped
INFO: Wireguard Device (nsmuXYqpJH5I): 2020/09/30 07:22:43 Interface set up
DEBUG: Wireguard Device (nsmuXYqpJH5I): 2020/09/30 07:22:43 Routine: receive incoming IPv6 - started
DEBUG: Wireguard Device (nsmuXYqpJH5I): 2020/09/30 07:22:43 Routine: receive incoming IPv4 - started
DEBUG: Wireguard Device (nsmuXYqpJH5I): 2020/09/30 07:22:43 UDP bind has been updated
<---sleep here—>
Time="2020-09-30T07:23:02Z" level=info msg=">><<-- GRPC->/forwarder.Forwarder/Request()=\"\" span=43fba74bac35dba6:2e78b16ec532cd52:551cd27633276554:1"
More information about the WireGuard
mailing list