Thread (1 message) 1 message, 1 author, 2008-08-20

Re: Some question about your TC cgroups controller !!

From: Ranjit Manomohan <hidden>
Date: 2008-08-20 17:56:35

On Tue, Aug 19, 2008 at 11:31 PM, Kim, Chei-Yol [off-list ref] wrote:
Hello !!
I'm Chei-yol Kim, I work for ETRI(www.etri.re.kr) in Korea.
I have very interested in cgroup, their controllers and especially network
controller.
Before about a week ago, I send below mail to container mailing list.
If you don't mind, I hope hear your opion about that.
I  think your TC cgroup idea is very good and efficient way of network
controller.
Can I ask your plan of TC cgroup patch? What is the future work of the TC
cgroup?
If there are no objections to the current implementation, I have the
following set of patches planned:

1) Supporting ingress packet classification based on cgroups
2) Supporting firewall functionality based on this (e.g. drop a packet
at port 80 if not in the right cgroup)
If you think your patch has a problem, What is it?
As you pointed out the split logic in configuration of this
functionality (partially in cgroups and the rest with the tc tools) is
something that I wanted to avoid. However when you look at the rich
feature set provided by the linux networking stack to support traffic
shaping and firewalls it becomes very tedious to duplicate all
possible configuration options with cgroups. Hence the compromise in
terms of user configuration complexity. We could always come up with
simple utilities or scripts to make this easier if it becomes a
serious concern.

-Thanks,
Ranjit

I'm sorry for many question.
But If you share your thinking, it'll be great pleasure to me.

I expect your answer and thank for reading this mail.

- Kim, Chei-yol



-----Original Message-----
From: containers-bounces@lists.linux-foundation.org
[mailto:containers-bounces@lists.linux-foundation.org] On Behalf Of Kim,
Chei-Yol
Sent: Wednesday, August 13, 2008 6:05 PM
To: Containers@lists.linux-foundation.org
Subject: Opinion about cgroup network controller



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@lists.linux-foundation.org

https://lists.linux-foundation.org/mailman/listinfo/containers


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help