From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Beulich" Subject: Re: Performance difference between Xen versions Date: Fri, 06 May 2011 15:27:35 +0100 Message-ID: <4DC4217702000078000400DC@vpn.id2.novell.com> References: <4DBE6A1C.2040107@ts.fujitsu.com> <625BA99ED14B2D499DC4E29D8138F1505C885A8F53@shsmsx502.ccr.corp.intel.com> <4DC3FC59.3030303@ts.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4DC3FC59.3030303@ts.fujitsu.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Kevin Tian , Juergen Gross Cc: Keir Fraser , Keir Fraser , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org >>> On 06.05.11 at 15:49, Juergen Gross = wrote: > Okay, I think I understand the basic mechanisms of cpufreq stuff now :-) > I propose the following changes: >=20 > - Cpupools get a new parameter "cpufreq" which is similar to the = hypervisor > boot parameter. It is valid if the hypervisor is responsible for = cpufreq > handling (this excludes cases cpufreq=3Dnone and cpufreq=3Ddom0-kernel= ) > - Cpupool0 is initialized with the boot parameter settings, new cpupools = are > created with the cpupool0 settings, they get their new cpufreq = parameters > via libxl later (this avoids changing the interface for cpupool = creation,=20 > I=20 > only > need a new interface to set the cpufreq parameters for a cpupool, = which > can be used for changing the settings, too. This interface could take = the > cpufreq parameters as text string resulting in support of exactly = the=20 > same > parameters as the hypervisor). > - cpufreq_policy is only spanning multiple cpus of one cpupool (if at = all).=20 > This > requires a check for the max frequency to be set in a frequency = domain > if the frequency of a processor is changing. This is similar to = the=20 > ondemand > governor, but might cross cpufreq_policy boundaries. >=20 > Did I miss anything? Any other suggestions? There are cases (hyperthreads, and iirc also some AMD CPUs) where altering the frequency of one CPU at once alters that of others, and if those live in distinct pools things are going to become "interesting". Jan >=20 >=20 > Juergen