From: Andy Lee Subject: Re: Status of sedf? Date: Thu, 18 Aug 2005 10:50:02 -0700 Message-ID: <6.1.2.0.2.20050818101008.083586e0@secure.hitx.net> References: <6.1.2.0.2.20050806131339.054a8e40@secure.hitx.net> <6.1.2.0.2.20050817125001.0468f220@secure.hitx.net> <6.1.2.0.2.20050817193518.03091c30@secure.hitx.net> <200508181533.36009.sd386@cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Return-path: In-Reply-To: <200508181533.36009.sd386@cam.ac.uk> References: <6.1.2.0.2.20050806131339.054a8e40@secure.hitx.net> <6.1.2.0.2.20050817125001.0468f220@secure.hitx.net> <6.1.2.0.2.20050817193518.03091c30@secure.hitx.net> <200508181533.36009.sd386@cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stephan Diestelhorst Cc: xen-devel List-Id: xen-devel@lists.xenproject.org At 07:33 AM 8/18/2005, Stephan Diestelhorst wrote: >On Thursday 18 August 2005 03:36, Andy Lee wrote: > > At 03:11 PM 8/17/2005, I wrote: > > >Sorry to report that the patch didn't work. I applied the patch to my > > >Xen-2.0-testing tree and copied xen/common/sched_sedf.c from > > >Xen-unstable. When compiling xen, sched_sedf.c generated these types of > > >errors: > >Outch. Now I see... For some reason (forgot to do 'hg add' ) sched_sedf.c >wasn't included. You can't use the unstable one, as it has a different naming >scheme. > >Attached is the patch, this time WITH sched_sedf.c Also missing is xen-2.0-testing.hg/tools/libxc/xc_sedf.c - but this time, I was able to use the xc_sedf.c from the unstable tree!!! :-) It compiles, but I encountered this problem: (Xen-2.0-testing) # xm list Name Id Mem(MB) CPU State Time(s) Console Domain-0 0 251 0 r---- 14.1 Sarge 1 127 0 -b--- 3.1 9601 # xm sedf 1 0 0 0 1 128 Error: (22, 'Invalid argument') Last night, I also compiled xen-unstable to see how sedf works: (Xen-unstable) # xm sedf 1 0 0 0 1 128 Unexpected error: exceptions.TypeError Please report to xen-devel@lists.xensource.com Traceback (most recent call last): File "/usr/sbin/xm", line 10, in ? main.main(sys.argv) File "/usr/lib/python/xen/xm/main.py", line 646, in main rc = cmd(args) File "/usr/lib/python/xen/xm/main.py", line 435, in xm_sedf server.xend_domain_cpu_sedf_set(dom, *v) TypeError: xend_domain_cpu_sedf_set() takes exactly 7 arguments (6 given)