All of lore.kernel.org
 help / color / mirror / Atom feed
From: geaaru <geaaru@gmail.com>
To: "Langsdorf, Mark" <mark.langsdorf@amd.com>
Cc: Xen-Devel ML <xen-devel@lists.xensource.com>,
	Goswin von Brederlow <brederlo@informatik.uni-tuebingen.de>,
	Bhavana Nagendra <bnagendr@redhat.com>
Subject: RE: Cpufreq on k8 with xen dom0
Date: Fri, 28 Sep 2007 12:37:13 +0200	[thread overview]
Message-ID: <1190975833.6909.2.camel@localhost> (raw)
In-Reply-To: <1449F58C868D8D4E9C72945771150BDF0207702E@SAUSEXMB1.amd.com>

Hi, i try to use xen-unstable.hg version but doesn't work.

>From dmesg i have this error:

powernow-k8: Found 1 AMD Turion(tm) 64 Mobile Technology ML-30
processors (version 2.00.00)
powernow-k8: BIOS error - no PSB or ACPI _PSS objects
ACPI: (supports S0 S3 S4 S5)

While, if i try to call cpufreq-info i have this output:

cpufrequtils 002: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to linux@brodo.de, please.
analyzing CPU 0:
  no or unknown cpufreq driver is active on this CPU

any idea how can i resolve this problem?

Thanks



On Thu, 2007-09-27 at 10:04 -0500, Langsdorf, Mark wrote:
> > >  >  is there a patch for xen-source-2.6.20-r3 for use cpufreq on 
> > >> turion64?
> > >> I'm using xen-sources of gentoo portage.
> > >> Thanks in advance.
> > >
> > > It's still in development; there's a version available
> > > that will let you userspace tools in dom0 to monitor 
> > > and control frequency changes but true ondemand dynamic
> > > scaling still needs some work.
> > >
> > > Email me privately if you're interested in helping and
> > > willing to be a test subject.  Thanks.
> > 
> > I'm verry interested. I have xen on my laptop and when on battery mode
> > that totaly drains power. So when traveling I have to boot non XEN
> > limiting me to dom0.
> > 
> > It shouldn't be too hard to write a little application that will scale
> > frequency depending on the sum of cpu usage of all domains. The info
> > is shown in xentop so it should be simple of sampling that once every
> > X second and sclaing for it.
> > 
> > But even a simple "make it slow" option would be just fine.
> 
> The current version of xen-unstable.hg has Keir's rewrite of
> most of Rik's and my code for support PowerNow!.  A dom0 with
> cpufreq support enabled can use the performance, powersave,
> and userspace governors to change frequency. 
> 
> You'll need to build the latest repository of xen-unstable.hg
> and linux-2.6.18.hg with the cpufreq build config options
> enabled, and pass "cpufreq" on the Xen command line.  
> Power management should come up normally, and running
> `echo "powersave" >
> /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor`
> should force the system to minimum power.  The same command
> with "performance" should set it to maximum power.  The
> same command with "userspace" will create a 
> /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed file,
> and writing a frequency value to that will cause the system
> to move to the nearest supported frequency to that value.
> A usermode daemon like cpuspeed
> (http://carlthompson.net/Software/CPUSpeed)
> can be modified to use the Xen getcpuinfo sysctl to read
> the Xen usage values and write to the scaling_setspeed file,
> though I haven't had time to do that yet.
> 
> The ondemand governor won't be supported unless getcpuinfo
> becomes a platform op hypercall.  Rik, what's the status
> on that?
> 
> -Mark Langsdorf
> Operating System Research Center
> AMD
> 

  reply	other threads:[~2007-09-28 10:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-25 13:25 Cpufreq on k8 with xen dom0 geaaru
2007-09-26 12:36 ` Langsdorf, Mark
2007-09-27  6:08   ` Goswin von Brederlow
2007-09-27 15:04     ` Langsdorf, Mark
2007-09-28 10:37       ` geaaru [this message]
2007-09-28 12:44         ` Langsdorf, Mark
2007-09-28 14:45           ` geaaru
2007-09-28 16:04             ` Langsdorf, Mark
2007-09-29 13:22               ` geaaru
2007-10-01  5:38                 ` xeb
2007-10-01  8:12                   ` xeb
2007-10-01 19:41                   ` geaaru
2007-10-01 19:46                     ` xeb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1190975833.6909.2.camel@localhost \
    --to=geaaru@gmail.com \
    --cc=bnagendr@redhat.com \
    --cc=brederlo@informatik.uni-tuebingen.de \
    --cc=mark.langsdorf@amd.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.