WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Performance difference between Xen versions

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: Re: [Xen-devel] Performance difference between Xen versions
From: John Weekes <lists.xen@xxxxxxxxxxxxxxxxxx>
Date: Mon, 02 May 2011 12:16:22 -0700
Cc: winston.l.wang@xxxxxxxxx, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, mark.langsdorf@xxxxxxx, gang.wei@xxxxxxxxx
Delivery-date: Mon, 02 May 2011 12:17:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4DBEFB6E.4090201@xxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4DBE41C9.1010409@xxxxxxxxxxxxxx> <C9E41092.170DB%keir.xen@xxxxxxxxx> <4DBE7819020000780003F1B6@xxxxxxxxxxxxxxxxxx> <4DBEEF6D.8080204@xxxxxxxxxxxxxxxxxx> <20110502181222.GB7498@xxxxxxxxxxxx> <4DBEFB6E.4090201@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10
On 5/2/2011 11:43 AM, John Weekes wrote:

The important thing that I missed on my end was not having the ACPI processor driver selected (for some reason). I had cpufreq and ACPI enabled, but I needed that, as well.

cpufreq seems to be working now, as is xenpm (and using xenpm is much easier than setting the Xen command line), but I'm still not seeing signs that turbo mode is bumping up my CPU speed beyond the standard value, as I would expect it to.

Here's what it looks like when I start a single process that spins and gobbles down a core:

# xenpm get-cpufreq-states | grep current
current frequency    : 1600 MHz
current frequency    : 1600 MHz
current frequency    : 1600 MHz
current frequency    : 1600 MHz
current frequency    : 1600 MHz
current frequency    : 2268 MHz
current frequency    : 1600 MHz
current frequency    : 1600 MHz
current frequency    : 1600 MHz
current frequency    : 1600 MHz
current frequency    : 1600 MHz
current frequency    : 1600 MHz
current frequency    : 1600 MHz
current frequency    : 1600 MHz
current frequency    : 1600 MHz
current frequency    : 1600 MHz
current frequency    : 1600 MHz
current frequency    : 1600 MHz
current frequency    : 1600 MHz
current frequency    : 1600 MHz
current frequency    : 1600 MHz
current frequency    : 1600 MHz
current frequency    : 1600 MHz
current frequency    : 1600 MHz

And looking at the core when running at the higher speed, I see:

# xenpm get-cpufreq-para 5
cpu id               : 5
affected_cpus        : 5
cpuinfo frequency    : max [2268000] min [1600000] cur [2268000]
scaling_driver       : acpi-cpufreq
scaling_avail_gov    : userspace performance powersave ondemand
current_governor     : ondemand
  ondemand specific  :
    sampling_rate    : max [10000000] min [10000] cur [20000]
    up_threshold     : 80
scaling_avail_freq : *2268000 2267000 2133000 2000000 1867000 1733000 1600000
scaling frequency    : max [2268000] min [1600000] cur [2268000]
turbo mode           : enabled

Does it do it silently? If so, how can I see the true frequency?

-John

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel