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-users

RE: [Xen-users] Status of frequency scaling

To: "Stephan Seitz" <nur-ab-sal@xxxxxx>, "xen-users" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Status of frequency scaling
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Mon, 30 Apr 2007 11:47:03 +0200
Delivery-date: Mon, 30 Apr 2007 02:46:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070428T2219.GA.c5923.stse@xxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AceJ02UChP6ex4t0RUmYzAhYRr5CqwBOAMKQ
Thread-topic: [Xen-users] Status of frequency scaling
 

> -----Original Message-----
> From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Stephan Seitz
> Sent: 28 April 2007 21:25
> To: xen-users
> Subject: [Xen-users] Status of frequency scaling
> 
> Hi!
> 
> I would like to know the status of the frequency scaling in 
> XEN. I found 
> a web site saying that XEN doesn't work with frequency 
> scaling, at the 
> other hand I found some fixes for powernow-k8 to get rid of some 
> messages.

Well, the current official status is "it doesn't work at all". 

There are several problems, some of which are relatively easy to fix and
some that aren't:
1. The white-list of MSR's that can be written doesn't include the
FID/VID MSR's. This is VERY easy to fix - a few lines of code added to
traps.c in the function dealing with MSR read/write operations will take
care of that. 
2. There is no power-management policy for the entire system, so dom0
usage will determine the entire system's performance. This doesn't work
very well, as Dom0 isn't supposed to be heavily loaded, DomU's are. 
3. Guest may need to be informed of the frequency change. Some kernels
may not appreciate that the CPU frequency is chaning "without it's
knowledge". [This is probably not a big problem on modern OS's, but some
older ones may be very un-co-operative on this account]. 

> 
> I have an AMD64. powerno-k8 works find with non-XEN kernels, but with 
> XEN-kernels I get the error:
> 
> powernow-k8: Found 1 AMD Athlon(tm) 64 Processor 3400+ 
> processors (version 2.00.00)
> powernow-k8: BIOS error - no PSB or ACPI _PSS objects

This is strange - as far as I can remember, I had powernow working on my
machine not so long ago (3.0.4 or so) with only the traps.c patched to
allow writing of the FID/VID controls registers. 

You're doing this in Dom0 I take it? I don't expect this to work in
DomU's. 

--
Mats



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

<Prev in Thread] Current Thread [Next in Thread>