On Fri, Jul 4, 2014 at 5:05 PM, Divya Vyas <dv...@mvista.com> wrote: > Hi All, > > I am running multiple containers and I want to limit the network bandwidth. > But I am not getting the desired output. Here is my method: > > > 1) echo 0x1001 > /sys/fs/cgroup/lxc/<containerA>/net_cls.classid > > > > 2) tc qdisc add dev br0 root handle 10: htb
wondershaper should be easier to use: http://lartc.org/wondershaper/ It use tc underneath, and wrap it in an easy-to-use script. Use it on the container's veth from the host side, and the result should be close to what you want. -- Fajar _______________________________________________ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users