Hi I''m getting very high CPU usage on idle for an XP SP3 guest, which
is
doing nothing and is reporting 0% CPU within the guest.
xentop - 14:36:29 Xen 3.2-1
10 domains: 1 running, 9 blocked, 0 paused, 0 crashed, 0 dying, 0 shutdown
Mem: 4192752k total, 2654960k used, 1537792k free CPUs: 4 @ 3000MHz
NAME STATE CPU(sec) CPU(%) MEM(k) MEM(%) MAXMEM(k) MAXMEM(%)
VCPUS NETS NETTX(k) NETRX(k) VBDS VBD_OO VBD_RD VBD_WR SSID
windowsxpsp3 --b--- 329 *70.1* 270204 6.4 278528
6.6 1 1 5 377 1 0 4206 1329 2149627072
Domain-0 -----r 46489 1.1 427416 10.2 no limit
n/a 4 4 0 0 0 0 0 0 2149627072
windowssrv2k3-AD --b--- 17421 1.6 532348 12.7 540672
12.9 1 1 44662 74162 1 0 17307 801589 2149627072
windowssrv2k3-testmem --b--- 15458 1.6 532348 12.7
540672 12.9 1 1 2200 36239 1 0 8105
532498 2149627072
debian5-smbk5test --b--- 960 0.0 131072 3.1
131072 3.1 1 1 6179 79332 1 11 25911
53847 2149627072
debian5-34srv --b--- 151 0.0 131072 3.1 131072
3.1 1 1 106 28877 1 16 3652 20557 2149627072
debian5-tdb --b--- 691 0.0 131072 3.1 131072
3.1 1 1 8957 155820 1 0 40555 70200 2149627072
debian5-ldap --b--- 131 0.0 131072 3.1 131072
3.1 1 1 438715 27930 1 4 33834 31923 2149627072
debian5-len --b--- 120 0.0 131072 3.1 131072
3.1 1 1 588 22738 1 0 5795 15739 2149627072
debian5-git-1 --b--- 579 0.0 131072 3.1 131072
3.1 1 1 5175 229014 1 0 25553 68906 2149627072
as you can see i have 2 server 2003 domains also which are behaving a lot
better, all windows domains have GPLPV(latest).
memory = 256
vcpus=1
name = "windowsxpsp3"
vif = [ ''bridge=eth1'' ]
disk
[''phy:/dev/Xen-Test/windowsxpsp3-2,hda,w'',''tap:aio:/mnt/WinXPSP3.iso,hdc:cdrom,r'']
boot=''dc''
builder="hvm"
device_model="qemu-dm"
kernel="hvmloader"
vnc=1
vnclisten="0.0.0.0"
acpi=1
apic=1
serial = "pty"
Anyone have any explanation why XP would be going berserk?
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
On Mon, May 18, 2009 at 8:43 PM, David <admin@dmarkey.com> wrote:> Hi I''m getting very high CPU usage on idle for an XP SP3 guest, which is > doing nothing and is reporting 0% CPU within the guest. > > > NAME STATE CPU(sec) CPU(%) MEM(k) MEM(%) MAXMEM(k) MAXMEM(%) > VCPUS NETS NETTX(k) NETRX(k) VBDS VBD_OO VBD_RD VBD_WR SSID > windowsxpsp3 --b--- 329 70.1 270204 6.4 278528 > 6.6 1 1 5 377 1 0 4206 1329 2149627072> Anyone have any explanation why XP would be going berserk?What are you running on domU? Is it possible you have high disk activity? -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> > Hi I''m getting very high CPU usage on idle for an XP SP3 guest, whichis doing> nothing and is reporting 0% CPU within the guest. >Make a copy of the default entry in your boot.ini and add /PATCHTPR to it. The TPR register is accessed very very frequently under XP (and 2003 < sp2) and causes a VMEXIT (breakout to the hypervisor) every time it is accessed. /PATCHTPR makes GPLPV patch the kernel to make it a bit faster. With an AMD CPU, /PATCHTPR will improve things greatly by using an instruction that is only supported by AMD processors in 32 bit mode. If you are using an Intel CPU, it will improve things a bit (my patch caches the TPR register and only writes cause a slowdown). Newer Intel CPU''s and a newish version of Xen shouldn''t have this problem at all as Xen emulates access itself. Let me know how it works out. Thanks James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users