WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] atropos again

To: Undisclosed.Recipients: ;
Subject: Re: [Xen-devel] atropos again
From: Stephan Diestelhorst <sd386@xxxxxxxxxxxx>
Date: Wed, 11 May 2005 11:28:52 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 11 May 2005 10:28:42 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.GSO.4.52.0505102041010.11093@xxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4276A399.7060304@xxxxxxxxxxxxxxx> <42812514.5070604@xxxxxxxxxxxx> <Pine.GSO.4.52.0505102041010.11093@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8
> > xm sedf DOM PERIOD SLICE LATENCY XTRATIME WEIGHT
> >
> > Where:
> > PERIOD, SLICE: times for guarantees (NANOseconds)
> > LATENCY: currently ignored, recompile with other #define's in
> > sched_sedf.c (ns)
> > XTRATIME: flag, set to 1 and domain gets idle cpu time additional to
> > it's share
> > WEIGHT: use, if you don't want to specify periods/slices, simply
> > distributes the cpu according to these weights
> >
> > Example:
> >
> > xm sedf 1 20000000  5000000 0 0 0
> > xm sedf 2 25000000 12500000 0 0 0
> >
> > -dom 1 gets 25% cpu share (5 ms every 20 ms)
> > -dom 2 gets 50% cpu share (12,5 ms every 25 ms)
> >
> > xm sedf 1 0 0 0 0 0 1
> > xm sedf 2 0 0 0 0 0 5
> >
> > -dom 2 gets 5-times more cpu than dom 1
> > -in total they get 95% - utilisation of fully specified domains
>
> I can understand dom2 get 5 times more cpu than dom1, but why in total
> they get 95%, not 94% or 96%?

This is because I leave 5% unused, just in case :) This is of course 
changeable in sched_sedf.c.

Cheers,
   Stephan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>