From: "Jan Beulich" Subject: Re: Performance difference between Xen versions Date: Mon, 02 May 2011 08:23:37 +0100 Message-ID: <4DBE7819020000780003F1B6@vpn.id2.novell.com> References: <4DBE41C9.1010409@ts.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: 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: Keir Fraser , Juergen Gross Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org >>> On 02.05.11 at 08:41, Keir Fraser wrote: > On 02/05/2011 06:31, "Juergen Gross" = wrote: >=20 >>>> Is there any easy explanation for this? Both Xen versions are from = SLES >>>> (SLES11 or SLES11 SP1). >>> I think cpufreq handling was off by default in 3.3, and is on by >>> default on 4.0. Try turning this off, or using the performance >>> governor. >> Jan, you got it! With cpufreq=3Dnone Xen 4.0 has more or less the same = numbers >> as 3.3. Now I wonder why the default is so much slower. I looks as if = the >> hypervisor would run at a lower speed. I can't believe it should behave = like >> that! >=20 > It runs at lower frequency unless your test offers sufficient load over = a > long enough time period. Short microbenchmarks are probably finished = before > the frequency governor can react. Correct. I generally found the default threshold of the ondemand governor nor very suitable for optimal performance of short lived jobs, and boot all of my systems with "cpufreq=3Dxen:ondemand,threshold=3D2= 0". Jan