Re: [RFC] [PATCH] cgroup: limit network bandwidth

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <righiandr@...>
Cc: Naveen Gupta <ngupta@...>, LKML <linux-kernel@...>, David Miller <davem@...>
Date: Wednesday, January 23, 2008 - 12:59 pm

On Jan 23, 2008 8:48 AM, Andrea Righi <righiandr@users.sourceforge.net> wrote:

He's talking about cases where we want the behaviour to be
work-conserving, whilst still offering guarantees in the event of
contention. e.g. cgroups A and B each get a 20% guarantee on the TX
path if they need it, but anyone can use any otherwise-idle bandwidth.
(This is relatively straightforward to set up from userspace with the
standard Linux traffic control tools).


But this issue (traffic control for cgroups) is too complex to be
described by a simple API. Any simple API you choose to try to
describe the limiting directly will be insufficient for a good number
of the potential users. Better to just provide a (very simple) API to
hook into the existing (complex) traffic control API and leave the
tricky stuff to userspace, where anyone can construct arbitrarily
complex queueing schemes with a shell script and a few calls to "tc".

Paul
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC] [PATCH] cgroup: limit network bandwidth, Andrea Righi, (Wed Jan 23, 5:09 am)
Re: [RFC] [PATCH] cgroup: limit network bandwidth, Paul Menage, (Wed Jan 23, 5:54 am)
Re: [RFC] [PATCH] cgroup: limit network bandwidth, Balbir Singh, (Wed Jan 23, 5:24 am)
Re: [RFC] [PATCH] cgroup: limit network bandwidth, Andrea Righi, (Wed Jan 23, 12:48 pm)
Re: [RFC] [PATCH] cgroup: limit network bandwidth, Paul Menage, (Wed Jan 23, 12:59 pm)
Re: [RFC] [PATCH] cgroup: limit network bandwidth, Andrea Righi, (Wed Jan 23, 1:48 pm)