From: "Marc E. Fiuczynski" <mef@CS.Princeton.EDU>
To: "Gerrit Huizenga" <gh@us.ibm.com>, "Andrew Morton" <akpm@osdl.org>
Cc: <linux-kernel@vger.kernel.org>, <riel@redhat.com>,
<mason@suse.com>, <ckrm-tech@lists.sourceforge.net>,
"Larry Peterson" <llp@CS.Princeton.EDU>,
"Andy Bavier" <acb@CS.Princeton.EDU>,
"Mark Huang" <mlhuang@CS.Princeton.EDU>,
"Steve Muir" <smuir@CS.Princeton.EDU>
Subject: RE: [ckrm-tech] Re: [PATCH] CKRM: 0/10 Class Based Kernel Resource Management
Date: Fri, 3 Dec 2004 06:54:54 -0500 [thread overview]
Message-ID: <NIBBJLJFDHPDIBEEKKLPMEBMCOAA.mef@cs.princeton.edu> (raw)
In-Reply-To: <E1CYu5M-00015C-00@w-gerrit.beaverton.ibm.com>
Hi Andrew and Gerrit,
I integrated CKRM with the kernel used by PlanetLab (www.planet-lab.org),
and I believe we (PlanetLab) are the first to use CKRM in a production
setting. Our kernel is deployed on roughly 100 machines worldwide and we
intend to upgrade all of our machines (roughly 400) over the next few weeks.
Our kernel uses linux-vservers to create rather thin "virtual machines" (for
the lack of a better name), but uses CKRM to provide for performance
isolation between each vserver. The integration between CKRM and vservers
was easy!
PlanetLab is used by tons of researchers. The software of each research is
placed into a vserver, and each PlanetLab machine typically has anywhere
from 20-40 actively running vservers running at a constant load of roughly
20. Some of the services running on PlanetLab have been discussed on
Slashdot.
Gerrit mentioned that PlanetLab uses a more featureful version of CKRM.
This is true. For each vserver we create a corresponding CKRM class, and
then use the rule-based classification engine (RBCE) to automatically
classify vserver processes to the appropriate CKRM class. We are itching to
deploy the CKRM memory controller and IO controller, but unfortunately those
have not been ready for prime time. For now, we've only deployed a variant
of CKRM's cpu scheduler. We currently do not leverage the hierarchical
support provided by CKRM, but envision a use for it in the future.
Unlike the posted CKRM patchset, the CPU, IO, and Memory controller make
more invasive modifications to various kernel subsystems. I suspect that
the CPU and IO controllers can be completely modularized into the pluggable
CPU and IO framework that Con and Jens posted earlier, if that's the
direction that mainline is heading. The CKRM memory controller makes a few
choice modifications to mm/vmscan.c, which I suspect will rouse a fair
amount of dicussion on LKML when the day arrives.
Hope this helps.
Cheers,
Marc
ps. our kernel is based on FC2 1.521 (2.6.8.1) and is available via anon
cvs.
cvs -d :pserver:anon@cvs.planet-lab.org:/cvs co linux-2.6
> -----Original Message-----
> From: ckrm-tech-admin@lists.sourceforge.net
> [mailto:ckrm-tech-admin@lists.sourceforge.net]On Behalf Of Gerrit
> Huizenga
> Sent: Monday, November 29, 2004 5:34 PM
> To: Andrew Morton
> Cc: linux-kernel@vger.kernel.org; riel@redhat.com; mason@suse.com;
> ckrm-tech@lists.sourceforge.net
> Subject: [ckrm-tech] Re: [PATCH] CKRM: 0/10 Class Based Kernel Resource
> Management
>
>
>
> On Mon, 29 Nov 2004 12:23:58 PST, Andrew Morton wrote:
> > Gerrit Huizenga <gh@us.ibm.com> wrote:
> > >
> > > The following ten patches add the core of CKRM (Class Based Resource
> > > Management) to Linux.
> >
> > How useful is this code at present? What are its limitations?
> And what is
> > the plan for future enhancements?
>
> This set of code alone allows for creation of classes which include
> per-class resource accounting (including delay accounting), basic
> task management for memory, CPU and disk IO, limited socket & listener
> queue management for networking, and the related rules based
> infrastructure.
>
> So, in short, it is a useful set of code to work with to demonstrate
> real utility with CKRM. However, this submission is not as full featured
> as is being used by those on the ckrm-tech list, such as the PlanetLab
> work. There are also things in SLES9 that are more featureful than
> this set although those will be worked into here in time.
>
> It does not have the full memory management and scheduler support that
> other versions do and I'm not yet convinced that those are ready to
> submit. Future enhancements will start with the cleanups as recommended
> by lkml so far (thanks all ;-) followed by more work on the scheduler
> and memory management side in the short term. There are also ways
> to hook in additional resource controllers for any exhaustible resource,
> e.g. file handles. setrlimit style resources, etc.
>
> Most of the next level of changes will build on these and are based
> on work currently in progress on the ckrm-tech list. However, this is
> a stripped down set of code which is believed to be stable (tested on
> IA32, x86-64, PPC64) with a variety of config options using both
> standard regression suites (e.g. LTP, kernbench, the ckrm tests, etc.).
>
> gerrit
next prev parent reply other threads:[~2004-12-03 11:56 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-29 18:44 Gerrit Huizenga
2004-11-29 20:23 ` Andrew Morton
2004-11-29 22:33 ` Gerrit Huizenga
2004-12-03 11:54 ` Marc E. Fiuczynski [this message]
2004-12-04 0:40 ` [ckrm-tech] " Andrew Morton
2004-12-04 8:33 ` Gerrit Huizenga
2004-12-06 6:30 ` Andrew Morton
2004-11-29 22:32 ` Christoph Hellwig
2004-11-29 22:51 ` Gerrit Huizenga
2004-11-30 8:55 ` Nikita Danilov
2004-11-30 2:43 ` Greg KH
2004-11-30 2:48 ` Gerrit Huizenga
2004-11-30 4:07 ` Greg KH
2004-11-30 5:59 ` Gerrit Huizenga
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=NIBBJLJFDHPDIBEEKKLPMEBMCOAA.mef@cs.princeton.edu \
--to=mef@cs.princeton.edu \
--cc=acb@CS.Princeton.EDU \
--cc=akpm@osdl.org \
--cc=ckrm-tech@lists.sourceforge.net \
--cc=gh@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=llp@CS.Princeton.EDU \
--cc=mason@suse.com \
--cc=mlhuang@CS.Princeton.EDU \
--cc=riel@redhat.com \
--cc=smuir@CS.Princeton.EDU \
/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
all inboxes | Powered by JetHome®