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] Windows 2000 server VM on Xen open source CPU hog?

To: "Jan Bakuwel" <jan.bakuwel@xxxxxxxxx>, "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Windows 2000 server VM on Xen open source CPU hog?
From: <djmagee@xxxxxxxxxxxx>
Date: Thu, 27 Aug 2009 07:06:40 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 27 Aug 2009 04:08:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A95FBAE.8090902@xxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4A95C110.6020000@xxxxxxxxx><AEC6C66638C05B468B556EA548C1A77D0177CE73@trantor> <4A95FBAE.8090902@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcomxaKLugJdrGyiQ7CREwVFfrLhPwAP7evw
Thread-topic: [Xen-users] Windows 2000 server VM on Xen open source CPU hog?
I ran into the same problem with Citrix's commercial product.

We saw the same thing as you, CPU usage was reported very high when the
processors were pretty much idle in windows.  When there was load in
windows, the usage in xentop dropped, as if it was the inverse of the
real usage.  This is only true with the multiproc hal.

After lots and lots of searching, I found the following KB that resolved
the issue:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;919521

Unfortunately, it was a while ago that I dealt with this issue so I
don't remember all the details, but I think it has something to do with
the way windows 2000 multiproc hal idles the cpus.  With the above
registry setting, it idle's at 0% ,as reported in xentop.

Let me know if this setting solves your problem too.

Doug Magee

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Jan Bakuwel
Sent: Wednesday, August 26, 2009 11:21 PM
To: James Harper
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Windows 2000 server VM on Xen open source CPU
hog?

Hi James,

> What does Windows 2000 report it's CPU usage at?
>   

Below 10% when xentop consistently reports 190-199.5%.

> Does the problem appear with only a single CPU (and preferably a UP
> HAL)?
>   

I haven't tried that yet. The server used to run on physical hardware so
anything that was on it was migrated to the VM. I noticed there are two
(?) HALs registered: ACPI Multiprocessor PC and MPS Multiprocessor PC...

> GPLPV (which doesn't work on W2K) has an option to patch windows
kernels
> < W2K3SP2 to improve performance. Backporting just that part might not
> be a huge deal, although the problem that fixes wouldn't cause 2 cpu's
> to be pegged at 100%...
>   

I had a look at GPLPV but quickly realised Windows 2000 wasn't
supported...

Jan


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

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