[Devel] Opinion about cgroup network controller

김재열 gauri at etri.re.kr
Wed Aug 13 02:05:25 PDT 2008


I'm interested in cgroup network controller.

As I know, currently announced network controllers are two.

One is Andrea's network throttle and the other is Ranjit's TC(Traffic Control) cgroups subsystem(http://lkml.org/lkml/2008/7/22/361).

Two implementations is totally different each other.

 

Network throttle is quite same mechanism to io_throttle. so it just can limit socket's rate.

The most important drawback of it is that it can't support work-conserving mode.

If it were capable of work-conserving mode, it could guarantee the minimum network rate.

this point is very important.

 

The other, ranjit's implementation is to let TC recognize the cgroup so that administrator can

adopt different rate or polish to each cgroups. TC is not easy to use without much knowledge.

Because of the using TC mechanism, user have to configure cgroup and TC together. This is not same 

to other controller configuration. Other controllers are controlled by value in the cgroup file. But 

ranjit's implementation have to control rate by tc configuration. This difference is not good to user.

 

As the result of this looking, the controller which can resolve these problems would be needed now.

This could support work-conserving mode and easy to use and configured like other controllers.

 

What do you think about this?

 

I hope many comments.

 

-       Chei-yol

_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list