Hi! Freq scalling works here with a notebook (TP R61) and xen 3.3.1 (c2d cpu). But with the same xen Version freq scalling doesnt work with 2 desktop PC''s (c2d and amd x2 cpu''s). Are only notebook cpu''s supported? Greetz PS: sorry for my english _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Christoph, you need to have several prerequisites to enable freq scaling, depending on your cpu. I can describe here what is necessary to do that for AMD CPUs < Fam10h, as I have worked on that issue now for a while. 1) You do that in Xen or dom0-kernel (for this case by setting cpufreq=dom0-kernel) 2) In dom0-kernel, you need a kernel module, e.g. powernow-k8.ko 2a) in order to get this, you need to remove the dependency just at the beginning od drivers/cpufreq/Kconfig, which disables compilation. For Debian, you need to do that by modifying the Debian patches in debian/patches. Do a grep -r on the path. 3) you need a governor. I recommend ondeman 4) to set the governor, you need cpufreq-utils, as this governor might not be the default BR, Carsten. -----Ursprüngliche Nachricht----- Von: Christoph Kaminski [mailto:mangel@gmx.de] Gesendet: Montag, 2. März 2009 16:54 An: xen-users Betreff: [Xen-users] freq scalling Hi! Freq scalling works here with a notebook (TP R61) and xen 3.3.1 (c2d cpu). But with the same xen Version freq scalling doesnt work with 2 desktop PC''s (c2d and amd x2 cpu''s). Are only notebook cpu''s supported? Greetz PS: sorry for my english _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Carsten Schiers schrieb:> Christoph, > > you need to have several prerequisites to enable freq scaling, depending > on your cpu. > I can describe here what is necessary to do that for AMD CPUs < Fam10h, > as I have worked > on that issue now for a while. > > 1) You do that in Xen or dom0-kernel (for this case by setting > cpufreq=dom0-kernel) > 2) In dom0-kernel, you need a kernel module, e.g. powernow-k8.ko > 2a) in order to get this, you need to remove the dependency just at the > beginning od > drivers/cpufreq/Kconfig, which disables compilation. For Debian, you > need to do that > by modifying the Debian patches in debian/patches. Do a grep -r on > the path. > 3) you need a governor. I recommend ondeman > 4) to set the governor, you need cpufreq-utils, as this governor might > not be the default >hmm thats the dom0 way, dont have tried it... I have done it on my notebook with the hypervisor way - added these parameters to the hypervisor: cpufreq=xen cpuidle as I say, it does work with notebook but not with the desktop pc''s. I try the dom0 way now. Greetz _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
As said, unless you don''t own a Fam 10 CPU (Opteron, Phenom X3 and X4), it will not work With cpufreq=xen. For C2D, I don''t know. BR, Carsten. -----Ursprüngliche Nachricht----- Von: Christoph Kaminski [mailto:mangel@gmx.de] Gesendet: Montag, 2. März 2009 21:40 An: Carsten Schiers Cc: xen-users Betreff: Re: AW: [Xen-users] freq scalling Carsten Schiers schrieb:> Christoph, > > you need to have several prerequisites to enable freq scaling,depending> on your cpu. > I can describe here what is necessary to do that for AMD CPUs <Fam10h,> as I have worked > on that issue now for a while. > > 1) You do that in Xen or dom0-kernel (for this case by setting > cpufreq=dom0-kernel) > 2) In dom0-kernel, you need a kernel module, e.g. powernow-k8.ko > 2a) in order to get this, you need to remove the dependency just atthe> beginning od > drivers/cpufreq/Kconfig, which disables compilation. For Debian,you> need to do that > by modifying the Debian patches in debian/patches. Do a grep -r on> the path. > 3) you need a governor. I recommend ondeman > 4) to set the governor, you need cpufreq-utils, as this governor might> not be the default >hmm thats the dom0 way, dont have tried it... I have done it on my notebook with the hypervisor way - added these parameters to the hypervisor: cpufreq=xen cpuidle as I say, it does work with notebook but not with the desktop pc''s. I try the dom0 way now. Greetz _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users