2012/3/20 陈竞 <cj.mag...@gmail.com>:
> lxc can support control block io, cpu and memory, can lxc  support
> controlling network io?

If by "control" you mean "throttle the bandwidth", then AFAIK no. As
in, no, cgroups (and thus lxc) can't throttle network I/O.

However since the most common implementation is using veth + bridge,
you should be able to implement traffic shaping using things like "tc"
(or with the help of frontend script "wondershaper") on veth interface
in the host side (i.e. the one you set using lxc.network.veth.pair).

It's not perfect, but a good start.

-- 
Fajar

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to