[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 1 of 3] Support of getting scheduler defaults


  • To: Dario Faggioli <raistlin@xxxxxxxx>
  • From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
  • Date: Wed, 23 May 2012 10:48:04 +0200
  • Cc: George Dunlap <dunlapg@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Campbell <Ian.Campbell@xxxxxxxxxx>
  • Delivery-date: Wed, 23 May 2012 08:48:31 +0000
  • Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:Message-ID:Date:From:Organization: User-Agent:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Zr3MfOG0koMkYVl+BuJFH76jhqcxdt4HNKds/hzfv4Q0R+3k8aD2YpC2 zeg864T/dXT472knTABQST3s+AJ7XuMFSLcmsZR6fz0u7M/boooI2GKJt /HL57qyN5Y6zrUymqyIWCzqCRcTuQfohOPuIlnI6fG6MdysNyJE63oFab 7XuYpI7leUnkglDl4MHTv2A/8c1HF5spuFdy7Gdt8xgsA5uD/LulWh3CS EQCYMjhfM+37wAp4wSDaRqVmkS6dI;
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

On 05/23/2012 09:22 AM, Dario Faggioli wrote:
On Wed, 2012-05-23 at 07:34 +0200, Juergen Gross wrote:
#define PERIOD_MAX MILLISECS(10000) /* 10s  */
#define PERIOD_MIN (MICROSECS(10))  /* 10us */
#define SLICE_MIN (MICROSECS(5))    /*  5us */
I think this should remain in the hypervisor only.

Me too.

Also, extratime is a flag, so I think 0 and 1 are both meaningful
values, maybe we can go for -1 as for cap (I'll try and let you know).
Why not -1 for all values?

Would work, I guess, unless there's some collision with big weights
represented on short unsigned value (not sure it's like that, and I've
always been bad at this kind of math! :-P).

The -1 would be set in scparams only, and there it is an integer. It should
never be written to the "real" scheduler parameters passed to the hypervisor.


Juergen

--
Juergen Gross                 Principal Developer Operating Systems
PDG ES&S SWE OS6                       Telephone: +49 (0) 89 3222 2967
Fujitsu Technology Solutions              e-mail: juergen.gross@xxxxxxxxxxxxxx
Domagkstr. 28                           Internet: ts.fujitsu.com
D-80807 Muenchen                 Company details: ts.fujitsu.com/imprint.html


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.