public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Hubertus Franke <frankeh@watson.ibm.com>
To: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
Cc: Christoph Hellwig <hch@infradead.org>,
	Shailabh Nagar <nagar@watson.ibm.com>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	ckrm-tech <ckrm-tech@lists.sourceforge.net>
Subject: Re: [ckrm-tech] Re: [RFC] Revised CKRM release
Date: Tue, 04 May 2004 14:13:56 -0400	[thread overview]
Message-ID: <4097DD64.5080708@watson.ibm.com> (raw)
In-Reply-To: <20040504172941.GD11346@logos.cnet>

Marcelo Tosatti wrote:

>On Fri, Apr 30, 2004 at 05:41:18PM +0100, Christoph Hellwig wrote:
>  
>
>>>The basic concepts and motivation of CKRM remain the same as described
>>>in the overview at http://ckrm.sf.net. Privileged users can define
>>>classes consisting of groups of kernel objects (currently tasks and
>>>sockets) and specify shares for these classes. Resource controllers,
>>>which are independent of each other, can regulate and monitor the
>>>resources consumed by classes e.g the CPU controller will control the
>>>CPU time received by a class etc. Optional classification engines,
>>>implemented as kernel modules, can assist in the automatic
>>>classification of the kernel objects (tasks/sockets currently) into
>>>classes.
>>>      
>>>
>>I'd still love to see practical problems this thing is solving.  It's
>>a few thousand lines of code, not written to linux style guidelines,
>>sometimes particularly obsfucated with callbacks all over the place.
>>
>>I'd hate to see this in the kernel unless there's a very strong need
>>for it and no way to solve it at a nicer layer of abstraction, e.g.
>>userland virtual machines ala uml/umlinux.
>>    
>>
>
>I have been reading CKRM docs this week and I think something which provides the 
>same functionality is required for v2.7.
>
>I haven't read the code yet, though. It probably should be converted to 
>"linux style" and simplified whenever possible.
>
>Right now our resource-limit infrastructure is very basic and limited. CKRM 
>provides advanced/fine grained resource management.
>
>  
>
Marcelo, that was the intention, namely resource management within a 
single OS image for
a variety of workload.  The unit of resource management is a flexible 
resource classes.
At the current time we have mainly focused on the infrastructure and 
have not spent the
cycles to forward port our previous schedulers.
Those schedulers were mainly meant to be a starting discussion point to 
start thinking how
these schedulers are to be written in a matter that they are acceptable 
to the mainline, i.e.
no or minimal additional overhead, preserving existing heuristics, etc. etc.

As for your subsequent message on the classification engine.
The classification engine is optional. If configured it is also called 
along
various kernel events, such as fork, exec, exit ... Rather than throwing 
this into userspace,
we compromised on putting this into a loadable module.

The new RCFS (Resource Control FileSystem) brings a generic, expandable 
interface to the table.
Let us know what other questions you have ....

-- Hubertus






  reply	other threads:[~2004-05-04 18:14 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-29  8:25 [RFC] Revised CKRM release Shailabh Nagar
2004-04-30 16:41 ` Christoph Hellwig
2004-04-30 18:42   ` Shailabh
2004-04-30 19:03   ` [ckrm-tech] " Rik van Riel
2004-04-30 19:17     ` Shailabh Nagar
2004-04-30 19:31       ` Rik van Riel
2004-04-30 20:15         ` Shailabh Nagar
2004-05-01 13:07         ` Hubertus Franke
2004-04-30 22:43       ` Jeff Dike
2004-04-30 19:47     ` Shailabh
2004-04-30 22:17       ` Jeff Dike
2004-04-30 23:43         ` Herbert Poetzl
2004-05-01  6:10           ` Alex Lyashkov
2004-05-01 14:46             ` Herbert Poetzl
2004-05-02 12:28               ` Alex Lyashkov
2004-05-04 17:29   ` Marcelo Tosatti
2004-05-04 18:13     ` Hubertus Franke [this message]
2004-05-04 17:35 ` Marcelo Tosatti
2004-05-05  0:18   ` [ckrm-tech] " Shailabh Nagar
2004-05-05 18:48     ` Marcelo Tosatti
2004-05-06  0:00       ` Chandra Seetharaman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4097DD64.5080708@watson.ibm.com \
    --to=frankeh@watson.ibm.com \
    --cc=ckrm-tech@lists.sourceforge.net \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo.tosatti@cyclades.com \
    --cc=nagar@watson.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox