[pve-devel] Expertise - Best way to Limit OpenVZ VMs Traffic

Dietmar Maurer dietmar at proxmox.com
Fri Jan 24 07:13:26 CET 2014


> I want to build some GUI Plugin for Proxmox that will help to limit the OpenVZ
> Containers bandwidth few Options for Implementation:
> 1. Use rrdtool - http://oss.oetiker.ch/rrdtool 

rrdtool is just a database

> 2. Use CBQ.init -
> http://sourceforge.net/projects/cbqinit
> 3. Use TC - http://openvz.org/Traffic_shaping_with_tc

we use TC to limit traffic for KVM, so I guess it would be a good start to use that.

see pve-common/data/PVE/Network.pm for details:

https://git.proxmox.com/?p=pve-common.git;a=blob;f=data/PVE/Network.pm;h=9ad34f1ec08f7ea90aa0681c44b3dc71a8189b62;hb=HEAD





More information about the pve-devel mailing list