SoftEther speed is 10% of max speed
Posted: Fri Jan 12, 2024 10:54 pm
Running some tests with "vpncmd /tools /cmd trafficserver/trafficclient" shows big differences between non-tunnel throughput with tunnel throughput.
- enable/disable "UDP acceleration" did not make any difference
- enable/disable "Encrypt VPN sessions" did not make any difference
- using 32 TCP connections in parallel did not make such a difference
- using SE tap interface or Linux veth interface did not make such a difference
- SeucreNAT never enabled
- no other application were using the bandwidth
Can someone tell why and where the bottlenecks are?
- does the ISP throttle tunnels ?
- does SE sever need a psychical machine and a dedicated NIC ?
- can bridging SE tap to NIC help ?
Raw ipv4 to ipv4
Raw ipv6 to ipv6
SE tap to tap (ipv4 cascade connections of 32 TCP)
SE tap to tap (ipv6 cascade connects of 32 TCP)
SE veth to veth (ipv4 cascade connects of 32 TCP) + (TSO has been set to off)
- enable/disable "UDP acceleration" did not make any difference
- enable/disable "Encrypt VPN sessions" did not make any difference
- using 32 TCP connections in parallel did not make such a difference
- using SE tap interface or Linux veth interface did not make such a difference
- SeucreNAT never enabled
- no other application were using the bandwidth
Can someone tell why and where the bottlenecks are?
- does the ISP throttle tunnels ?
- does SE sever need a psychical machine and a dedicated NIC ?
- can bridging SE tap to NIC help ?
Raw ipv4 to ipv4
Code: Select all
------------------------------------------------------+-------------------+---------------
Item Name | Normal View|Simplified View
------------------------------------------------------+-------------------+---------------
Time Span for Measurement | 00:00:15.003|
Data Correction for Ethernet Frames | Yes|
Communication Data Volume in Download Direction |1,499,874,592 Bytes| 1.50 GBytes
Communication Data Volume in Upload Direction |4,136,123,567 Bytes| 4.14 GBytes
Total Communication Data Volume |5,635,998,159 Bytes| 5.64 GBytes
Relay Device Input Output Total Throughput Computation| No|
Average Throughput in Download Direction | 799,773,161 bps| 799.77 Mbps
Average Throughput in Upload Direction | 2,205,491,470 bps| 2.21 Gbps
Total Average Throughput | 3,005,264,631 bps| 3.01 Gbps
Code: Select all
------------------------------------------------------+-------------------+---------------
Item Name | Normal View|Simplified View
------------------------------------------------------+-------------------+---------------
Time Span for Measurement | 00:00:15.005|
Data Correction for Ethernet Frames | Yes|
Communication Data Volume in Download Direction |2,388,507,060 Bytes| 2.39 GBytes
Communication Data Volume in Upload Direction |4,072,577,679 Bytes| 4.07 GBytes
Total Communication Data Volume |6,461,084,739 Bytes| 6.46 GBytes
Relay Device Input Output Total Throughput Computation| No|
Average Throughput in Download Direction | 1,273,445,950 bps| 1.27 Gbps
Average Throughput in Upload Direction | 2,171,317,656 bps| 2.17 Gbps
Total Average Throughput | 3,444,763,606 bps| 3.44 Gbps
SE tap to tap (ipv4 cascade connections of 32 TCP)
Code: Select all
Item Name | Normal View|Simplified View
------------------------------------------------------+-----------------+---------------
Time Span for Measurement | 00:00:15.159|
Data Correction for Ethernet Frames | Yes|
Communication Data Volume in Download Direction |169,248,795 Bytes| 169.25 MBytes
Communication Data Volume in Upload Direction |233,014,116 Bytes| 233.01 MBytes
Total Communication Data Volume |402,262,911 Bytes| 402.26 MBytes
Relay Device Input Output Total Throughput Computation| No|
Average Throughput in Download Direction | 89,319,240 bps| 89.32 Mbps
Average Throughput in Upload Direction | 122,970,705 bps| 122.97 Mbps
Total Average Throughput | 212,289,945 bps| 212.29 Mbps
SE tap to tap (ipv6 cascade connects of 32 TCP)
Code: Select all
Item Name | Normal View|Simplified View
------------------------------------------------------+-----------------+---------------
Time Span for Measurement | 00:00:15.333|
Data Correction for Ethernet Frames | Yes|
Communication Data Volume in Download Direction |200,008,443 Bytes| 200.01 MBytes
Communication Data Volume in Upload Direction |267,175,682 Bytes| 267.18 MBytes
Total Communication Data Volume |467,184,125 Bytes| 467.18 MBytes
Relay Device Input Output Total Throughput Computation| No|
Average Throughput in Download Direction | 104,354,499 bps| 104.35 Mbps
Average Throughput in Upload Direction | 139,399,038 bps| 139.40 Mbps
Total Average Throughput | 243,753,537 bps| 243.75 Mbps
SE veth to veth (ipv4 cascade connects of 32 TCP) + (TSO has been set to off)
Code: Select all
------------------------------------------------------+-----------------+---------------
Item Name | Normal View|Simplified View
------------------------------------------------------+-----------------+---------------
Time Span for Measurement | 00:00:15.183|
Data Correction for Ethernet Frames | Yes|
Communication Data Volume in Download Direction |124,057,116 Bytes| 124.06 MBytes
Communication Data Volume in Upload Direction |233,918,082 Bytes| 233.92 MBytes
Total Communication Data Volume |357,975,198 Bytes| 357.98 MBytes
Relay Device Input Output Total Throughput Computation| No|
Average Throughput in Download Direction | 65,366,326 bps| 65.37 Mbps
Average Throughput in Upload Direction | 123,252,628 bps| 123.25 Mbps
Total Average Throughput | 188,618,954 bps| 188.62 Mbps