[pve-devel] Network traffic limit with virtio and Storage Content

Dietmar Maurer dietmar at proxmox.com
Mon Jan 28 07:07:13 CET 2013


done, see

https://git.proxmox.com/?p=pve-common.git;a=commit;h=fb572a93953215a4db15513353f1af517a17eb50

> change the run_command to:
> run_command("/sbin/tc filter add dev $iface parent ffff: protocol ip prio 50
> u32 match ip src 0.0.0.0/0 police rate ${rate}bps burst ${burst}b mtu 64kb
> drop flowid :1");
> 
> instead of
> 
> # so we use avrate instead
> #run_command("/sbin/tc filter add dev $iface parent ffff: " .
> #	"protocol ip prio 50 estimator 1sec 8sec " .
> #	"u32 match ip src 0.0.0.0/0 police avrate ${rate}bps drop flowid :1");




More information about the pve-devel mailing list