Re: [lxc-devel] limit the netwok traffic of container from the host

2013-07-02 Thread lsmushroom
3 04:13:16,"Serge Hallyn" wrote: >Quoting lsmushroom (lsmushr...@126.com): >> Sorry, I really get confused. Can you show me your testing procedure ? >> Below is my testing result , the veth pair name is veth-vps1: >> >> >> 1) Add qdisc on veth-vps1

Re: [lxc-devel] limit the netwok traffic of container from the host

2013-07-02 Thread lsmushroom
hook the tbf_enqueue function, ping from the container to the host , see the dump stack of the function tbf_enqueue, check when it is called. At 2013-07-01 22:29:16,"Serge Hallyn" wrote: >Quoting lsmushroom (lsmushr...@126.com): >> Sorry for the late response. For your quest

Re: [lxc-devel] limit the netwok traffic of container from the host

2013-07-01 Thread lsmushroom
ot; wrote: >Quoting lsmushroom (lsmushr...@126.com): >> Hi All, >> Recently , we have been trying to find out a suitable way to >> limit network traffic generated from the process running in the >> container. The network type we used for our container i