public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Shailabh <nagar@watson.ibm.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: Rik van Riel <riel@redhat.com>,
	Erik Jacobson <erikj@subway.americas.sgi.com>,
	Paul Jackson <pj@sgi.com>,
	chrisw@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Process Aggregates (PAGG) support for the 2.6 kernel
Date: Fri, 30 Apr 2004 13:53:27 -0400	[thread overview]
Message-ID: <40929297.2030903@watson.ibm.com> (raw)
In-Reply-To: <20040430140611.A11636@infradead.org>

Christoph Hellwig wrote:
> On Fri, Apr 30, 2004 at 08:54:08AM -0400, Rik van Riel wrote:
> 
>>What was the last time you looked at the CKRM source?
> 
> 
> the day before yesterday (the patch in SuSE's tree because there
> doesn't seem to be any official patch on their website)
> 
> 
>>Sure it's a bit bigger than PAGG, but that's also because
>>it includes the functionality to change the group a process
>>belongs to and other things that don't seem to be included
>>in the PAGG patch.
> 
> 
> Again, pagg doesn't even play in that league.  It's really just a tiny
> meachnism to allow a kernel module keep per-process data.  

Speaking of per-process data, one of the classification engines of 
CKRM called crbce, implemented as a module, allows per-process data to 
be  sent to userland.  crbce in particular, exports data on the delays 
   seen by processes in a) waiting for cpu time after being runnable 
b) page fault service time c) io service time etc. (getting the data 
requires another kernel patch)....so per-process data needs can be met 
through CKRM, though that is not the intent or main objective of the 
project.


> Policies
> like process-groups can be implemented ontop of that.

This is true if one is only interested in data gathering or 
coarse-grain control. One could monitor per-process stats and fiddle 
with each process' rlimits (assuming all the ones needed are 
available) and achieve coarse-grain group control.

But if processes leave and join process groups  rapidly, you need the 
schedulers and the core kernel to be aware of the groupings and 
schedule resources accordingly.

In CKRM, the premise is that the privileged user defines the way 
processes get grouped and could do so in a way that leads to rapid 
changes in group membership. So having group control/monitoring 
policies implemented as an externally loaded module (not talking of 
scheduler modifications as modules, which is a no-no)  is not a 
palatable option.


-- Shailabh

  parent reply	other threads:[~2004-04-30 17:53 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-26 22:04 [PATCH] Process Aggregates (PAGG) support for the 2.6 kernel Erik Jacobson
2004-04-26 23:39 ` Chris Wright
2004-04-27  0:36   ` Jesse Barnes
2004-04-27  0:41     ` Chris Wright
2004-04-27 21:00       ` Erik Jacobson
2004-04-27 21:05         ` Chris Wright
2004-04-29 21:10       ` Rik van Riel
2004-04-27 20:51   ` Erik Jacobson
2004-04-27 22:28     ` Chris Wright
2004-04-28 14:55     ` Christoph Hellwig
2004-04-29 19:20       ` Paul Jackson
2004-04-29 19:27         ` Chris Wright
2004-04-29 19:29         ` Christoph Hellwig
2004-04-29 19:34           ` Paul Jackson
2004-04-29 19:53           ` Erik Jacobson
2004-04-29 21:20             ` Rik van Riel
2004-04-30  6:17               ` Christoph Hellwig
2004-04-30 11:08                 ` Guillaume Thouvenin
2004-04-30 18:00                   ` Shailabh
2004-04-30 18:28                   ` Rik van Riel
2004-04-30 12:54                 ` Rik van Riel
2004-04-30 13:06                   ` Christoph Hellwig
2004-04-30 13:28                     ` Chris Mason
2004-04-30 16:50                       ` Shailabh
2004-04-30 15:22                     ` Rik van Riel
2004-04-30 16:45                       ` Christoph Hellwig
2004-04-30 17:53                     ` Shailabh [this message]
2004-04-30 18:15                       ` Chris Wright
2004-04-30 15:59                   ` Chris Wright
2004-04-30  8:54 ` Guillaume Thouvenin
2004-05-20 21:16 ` Erik Jacobson

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=40929297.2030903@watson.ibm.com \
    --to=nagar@watson.ibm.com \
    --cc=chrisw@osdl.org \
    --cc=erikj@subway.americas.sgi.com \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pj@sgi.com \
    --cc=riel@redhat.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