Closed chromer030 closed 1 year ago
Weird, it must be a problem from the latest gVisor's commits.
It's more than 2 years i'm using tun2socks , and usually building from git , this is first time i encounter this errors and cpu usage.
Fixed in 30608f4925b7ce83bd38104b0612db6c77f1611e , Thank you !
For test purposes have launch (on Raspberry Pi 4B) torrents with UDP, and have very high CPU usage by tun2socks 2.4.1 version:
And speed on UDP is around 2 MB/s, but with torrents over TCP protocol i have get almost 7 times higher speeds and much lower CPU usage.
I am understand, that torrents creates a very big numbers of connections, but anyway, is it any chance to optimize UDP stack with big number of connections?
That's not how it works. The lower UDP speed is due to the missing of congestion control algorithm.
So, very high CPU usage in UDP is related to the missing of congestion control algorithm?
Could be.
But if i am download one file over UDP, speed is much higher and CPU usage much lower.
It depends on your specific circumstance.
Verify steps
Version
latest git
What OS are you seeing the problem on?
Linux
Description
High cpu usage and new error on log :
CLI or Config
No response
Logs
How to Reproduce
No response