[SOLVED] Container Bandwith Rate Limit doesn't work

juniper

Renowned Member
Oct 21, 2013
84
0
71
HI,

Proxmox VE 6.1-8 with new kernel 5.4

two linux container in two different cluster nodes

Rate Limit tested with iperf3 doesn't work

Code:
net0: name=eth0,bridge=vmbr0,firewall=1,gw=xx.xx.xx.xx,hwaddr=XX:XX:XX:XX:XX:XX,ip=xxx.xxx.xxx.xxx/25,rate=200,tag=1000,type=veth

configuration file are correct

Can someoune make a test with the same configuration?
 
Code:
[  4] local 80.21.47.149 port 46036 connected to 80.21.47.146 port 5201
Starting Test: protocol: TCP, 1 streams, 131072 byte blocks, omitting 0 seconds, 50 second test
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-2.00   sec   117 MBytes   492 Mbits/sec  4631   28.3 KBytes       
[  4]   2.00-4.00   sec   146 MBytes   613 Mbits/sec  3969   49.5 KBytes       
[  4]   4.00-6.00   sec  71.2 MBytes   299 Mbits/sec  1958   15.6 KBytes       
[  4]   6.00-8.00   sec   122 MBytes   514 Mbits/sec  3737   7.07 KBytes       
[  4]   8.00-10.00  sec  87.5 MBytes   367 Mbits/sec  2452   12.7 KBytes       
[  4]  10.00-12.00  sec  90.0 MBytes   378 Mbits/sec  2679   7.07 KBytes       
^C[  4]  12.00-13.10  sec  60.0 MBytes   459 Mbits/sec  1947   12.7 KBytes
 
Hi,
tested here and was unable to reproduce. Note that the limit is in Mebibytes/second (200*1024*1024 bytes/second in your case) and your iperf3 log shows lower values.
 
Hi,
tested here and was unable to reproduce. Note that the limit is in Mebibytes/second (200*1024*1024 bytes/second in your case) and your iperf3 log shows lower values.

Ok, my mistake is thinking in mbit and not in MB (megabytes)

Screenshot from 2020-03-23 10-27-36.png
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!