Closed haohetao closed 12 months ago
Please provide more information such as your config and setup, otherwise this won't be reproducible.
I re-executed the test and added the test of the intranet environment
location: China Mainland cpu: Intel Pentium Gold 8505 (6T)
location: China HongKong cpu: Intel Platinum 8163(2T) connect: 100Mb/s Internet
location: internal lan cpu: E5 2686v4(6T) connect: 1000Mb/s ethernet
aliyun server udp2raw server cpu usage 15%,client cpu usage (7%),throughput 30.7Mb/s phantun server cpu usage 8.6%,client cpu usage(6.6),throughput 31.7Mb/s
E5 2686(6T) server udp2raw server cpu usage 90%,client cpu usage 70%,throughput 272Mb/s phantun server cpu usage 187%,client cpu usage 145%,throughput 439Mb/s
test again,saame environment as above, server is aliyun:
My conclusion is that phantun is better in a high-performance environment (cpu greater than 4 cores, bandwidth greater than 200Mbps), and conversely udp2raw will be better.
@haohetao That's as expected. With single core the multi core capability of Phantun becomes a disadvantage because of additional synchronization overhead to support it.
wireguard over phantun with faketcp wireguard over udp2raw with faketcp native tcp openvpn over udp2raw with faketcp