public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Hubertus Franke <frankeh@watson.ibm.com>
To: Rik van Riel <riel@redhat.com>, Christoph Hellwig <hch@infradead.org>
Cc: 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: Sat, 01 May 2004 09:07:52 -0400	[thread overview]
Message-ID: <4093A128.80806@watson.ibm.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0404301527400.6976-100000@chimarrao.boston.redhat.com>

Rik van Riel wrote:

>On Fri, 30 Apr 2004, Shailabh Nagar wrote:
>  
>
>>Rik van Riel wrote:
>>    
>>
>
>  
>
>>>User Mode Linux could definitely be an option for implementing
>>>resource management, provided that the overhead can be kept
>>>low enough.
>>>      
>>>
>>....and provided the groups of processes that are sought to be 
>>regulated as a unit are relatively static.
>>    
>>
>
>Good point, I hadn't thought of that one.
>
>It works for most of the workloads I had in mind, but
>you're right that it's not good enough for eg. the
>university shell server.
>
>  
>
Let's keep in mind that UML provides you a virtual machine, its an 
architecture.

"User-Mode Linux gives you a virtual machine that may have more hardware 
and software virtual resources than your actual, physical computer. Disk 
storage for the virtual machine is entirely contained inside a single 
file on your physical machine. "   straight from the side.

It has its well deserved place, its great for fault protection 
isolation, but it does have performance hits.
Futhermore, there is no resource management associated with it. As we 
pointed out at last year's OLS. UML and CKRM would go great in concert, 
as CKRM could deliver the resource management underneath.
AFAIK, UML tasks manifest themselves as tasks in the host, hence the UML 
image would provide naturally a class that could be assigned resources 
under CKRM.

One part that can not be done with virtual machines is the case of a 
shared middleware, where different classes of work are driving through a 
shared space.

UML and CKRM solve different issues and IMHO they nicely complement each 
other.

>>>For these purposes, "low enough" could be as much as 30%
>>>overhead, since that would still allow people to grow the
>>>utilisation of their server from a typical 10-20% to as
>>>much as 40-50%.
>>>      
>>>
>>In overhead, I presume you're including the overhead of running as 
>>many uml instances as expected number of classes. Not just the 
>>slowdown of applications because they're running under a uml instance 
>>(instead of running native) ?
>>
>>I think UML is justified more from a fault-containment point of view 
>>(where overheads are a lower priority) than from a performance 
>>isolation viewpoint.
>>
>>In any case, a 30% overhead would send a large batch of higher-end 
>>server admins running to get a stick to beat you with :-)
>>    
>>
>
>True enough, but from my pov the flip side is that
>merging the CKRM memory resource enforcement module
>has the potential of undoing lots of the performance
>tuning that was done to the VM in 2.6.
>
>That could result in bad performance even for the
>people who aren't using workload management at all...
>
>  
>
I am sure that can be worked out .. take a look at the history of NUMA 
support
When initially NUMA support was put in it was done through hooks at 
various interfaces.
Now its nicely embedded and abstracted out through macros in the memory 
space
and similar stuff is happening in the scheduler area through the 
introduction of sched domains.
We don't pay for NUMA or SMT if we are running on a single CPU system.

So I/we presume a similar progression will take place here. CKRM in its 
current
state provides you the infrastructure in the kernel. The way it is 
written or intended,
it should provide no overhead when not configured, neglible overhead 
when compiled
in but not used and "minimal/acceptable" overhead when resource 
management is enabled.

-- Hubertus



  parent reply	other threads:[~2004-05-01 13:08 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 [this message]
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     ` [ckrm-tech] " Hubertus Franke
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=4093A128.80806@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=nagar@watson.ibm.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