Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Works incorrectly with upload #103

Open
sbayandin opened this issue Aug 11, 2024 · 0 comments
Open

Works incorrectly with upload #103

sbayandin opened this issue Aug 11, 2024 · 0 comments

Comments

@sbayandin
Copy link

I've a hypervisor with Ubuntu Server 18.04 with several VDS servers with public IP addresses and different operating systems. Each of them has its own network interface for hypervisor. Let's call them vboxnet0, vboxnet1, vboxnet2. I want to limit the speed for each of them to 100 mbit/sec both download and upload. So I use:

wondershaper -a vboxnet0 -u 110000 -d 106000
wondershaper -a vboxnet1 -u 110000 -d 106000
wondershaper -a vboxnet2 -u 110000 -d 106000

Download is limited normally. Running Ookla Speedtest on two VDS servers, I see that both servers have a download speed of ~99.8 Mbps in the same time without problems. However, there is a problem with upload speed. When both VDS servers try to load upload, the upload speed of the first server is about 80 Mbps, and the second one is 20 Mbps. When I look at the monitoring of the physical interface of the hypervisor, I see that its upload does not increase above 100 Mbps. Then I tried to manually set the speed limit for the physical interface of the hypervisor to 1 Gbps, then set the limit for the VDS servers to 100 Mbps:

wondershaper -a eth0 -u 1100000 -d 1060000
wondershaper -a vboxnet0 -u 110000 -d 106000
wondershaper -a vboxnet1 -u 110000 -d 106000
wondershaper -a vboxnet2 -u 110000 -d 106000

But in this case, the upload limitation does not work at all for any server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant