From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephan Diestelhorst Subject: Re: atropos again Date: Tue, 10 May 2005 22:18:12 +0100 Message-ID: <42812514.5070604@cl.cam.ac.uk> References: <4276A399.7060304@cs.uchicago.edu> <427A8830.2070408@cl.cam.ac.uk> <427AD31D.5080502@cs.uchicago.edu> <200505091153.01081.sd386@cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Xuehai Zhang , xen-devel List-Id: xen-devel@lists.xenproject.org > Stephan, > Thanks a lot for sharing the SEDF patch. BTW, where can I find the > reference to use it? SEDF patch now in the public unstable tree, too! Check it out! There should be a mini-HOWTO, with some examples. > Is the usage similar to Atropos (for example, "xm > atropos DOM PERIOD SLICE LATENCY XTRATIME")? 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 Hope this helps, Stephan > On Mon, 9 May 2005, Stephan Diestelhorst wrote: > > >>Try this one, it's using the 2.05 repo... >> >>Cheers, >> Stephan >> >>>Stephan, >>> >>>I wonder if it is possible that you can provide me a beta version of SEDF >>>because it is not in the repository yet. I just start a project to explore >>>resource enforcement in Xen and it will be very helpful that I can have the >>>working SEDF. >>> >>>Thanks in advance for your help. >>> >>>Xuehai >>> >>> >>>>>>As it is not yet in the repositories you can't use it though... >>>>>> >>>>>> >>>>>> >>>>>>ATM there is also a version for the testing tree, but as I said they are >>>>>>not in the main repos yet. >>>>> >>>>>To clarify: even if I use "bk clone >>>>>bk://xen.bkbits.net/xen-2.0-testing.bk" to get the latest testing tree, >>>>>I will not find sedf scheduler because it has not been included yet. >>>> >>>>Exactly. >>>> >>>> >>>>>It is still unclear to me if Atropos scheduler in the above testing tree >>>>>works correctly or still buggy as pointed out by previous posts 2 month >>>>>ago. >>>> >>>>As far as I know it is still broken, though you might want to try for >>>>yourself. >>>> >>>>Best, >>>> Stephan >>