From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Roessner Subject: DomU Powernow question Date: Thu, 15 Jun 2006 12:38:57 +0200 Message-ID: <449138C1.4040503@roessner-net.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1174103321==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============1174103321== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig536EBDAF36ABC6416BA3E705" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig536EBDAF36ABC6416BA3E705 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, I recently posted the attached mail below to Keir Fraser. I got an answer: ---- snip ---- The 'stale' frequency info in domU is harmless ---- snap ---- My question is, why the cpu frequency in dom0 ist not jumping to 2GHz, if the cpu usage inside a domU is very high? Second question: If in dom0, which value is showing the correct information: the frequency or the bogomips? Normally the latter would change, if the frequency changes. Not so in dom0? Why? Kind regards Christian --- snip attached mail --- Today I have recognized something interestin: If I boot my Xen-box @ 2GHz, starting 2 DomUs at boottime, I can see that the cpuinfo is showing: processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 4 model name : AMD Athlon(tm) 64 Processor 3200+ stepping : 8 cpu MHz : 2019.560 cache size : 1024 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu tsc msr pae mce cx8 apic mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow ts fid vid = ttp bogomips : 4047.21 inside the DomUs, even the CPU has switched the frequency back to 800MHz.= If I do something like while true; do ls -l | md5sum; done in Dom0, the CPU frequency jumps @ 2GHz, while if doing the same inside a DomU, the CPU still is @ 800MHz. Now I thought, I would have to compile in cpufreq support into the DomU kernel, but if I remove the "privileged" host option, the whole ACPI powermanagement menu is away. So, what can I change, to get this working correctly? Maybe noone has tried something like this, but I think this is a little bug, isn=C2=B4t it? There is something else: Normally, when the CPU frequency is @ 800 MHz, the Bogomips are much less than 4000. But look at this: processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 4 model name : AMD Athlon(tm) 64 Processor 3200+ stepping : 8 cpu MHz : 800.000 cache size : 1024 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow ts fid vid = ttp bogomips : 4021.05 If you think, I should post this to the xen-devel list, I first would have to subscribe again. But thanks in advance. Maybe you have some ideas on that. ---- snap ---- --=20 Tel.: 0641-2097252, Mobil: 0171-3611230 PGP: http://www.roessner-net.com/0x6B929997.asc --------------enig536EBDAF36ABC6416BA3E705 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEkTjJZzAxnGuSmZcRAmTrAKC8Bsp5ymfujhMEpQZ/0YWaMM5B9ACfVSaZ U5qjzXOeE7OjN4q6mJ0AQWc= =OsTF -----END PGP SIGNATURE----- --------------enig536EBDAF36ABC6416BA3E705-- --===============1174103321== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1174103321==--