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] Xen GPL PV and undesirable requirement for APIC (irq >15

To: "'James Harper'" <james.harper@xxxxxxxxxxxxxxxx>, "'Oliver Wilcock'" <oliver@xxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] Xen GPL PV and undesirable requirement for APIC (irq >15)
From: "Venefax" <venefax@xxxxxxxxx>
Date: Tue, 25 Nov 2008 10:03:48 -0500
Cc:
Delivery-date: Tue, 25 Nov 2008 07:38:37 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:references :in-reply-to:subject:date:message-id:mime-version:content-type :content-transfer-encoding:x-mailer:thread-index:content-language :x-cr-hashedpuzzle:x-cr-puzzleid; bh=aGx3bl1C3VQgdSTv45y5jqW8M9tvuzQeuXZRdEex0N0=; b=U70rcU6LVl34bqdoS5MTeSFSZDZBBbW5M+uM+FqeqL7iWWHbCrsZm4h8PCUIqyyRvj TlzS31L59krNSh4PTy+5g77wup6VFw4wUH68FTCBwRFUQGX5MzAYruqMjkuue02/gUi8 J+fpioUOUmOeTk/09KAE8e8tUVAl2PKcH491M=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-type:content-transfer-encoding:x-mailer:thread-index :content-language:x-cr-hashedpuzzle:x-cr-puzzleid; b=YsKMjbVPGEBf4nAEcu93nPHE/dzLVZB+0UiTab9WhKfGzkdfTNP8XsELxIiqhfg0PS 80+wq5LfmFHWQf/7TsSlgHHvdWTpJlK/fX5/il4TANQG7uOhMVibixBuFmlpy5zW/682 J3PF6HTJOJYYSJMddW1WPmZG3Hsqd3YOkuPNc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D0154FCFD@trantor>
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: In-Reply-To: <1207.205.211.162.2.1227147840.squirrel@xxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D0154FCFD@trantor>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AclKtz/z9lgdICX4TKOqLMteJWEtJgEJzUOwAAvvquA=
I concur on seeing the issue. I changed the HAL to Standard PC (Non-apic)
and the Xennet driver strangely got an IP address from the DHCP, but could
not communicate after that. The regular APIC Multiprocessor HAL works fine
with the drivers, but a few machines kill the server. In fact, the idle
usage is 0.9% and if you add more virtual cpus it shoots up to 3.5%, making
impossible to use.
Looking at in perspective, if we are forced to use a single VCPU windows
machine, then Virtual Box gives a substantial advantage in performance, and
you may run many more machines. They don't support SMP, but it seems that
XEN does not either.
 

-----Original Message-----
From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of James Harper
Sent: Tuesday, November 25, 2008 4:18 AM
To: Oliver Wilcock; xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] Xen GPL PV and undesirable requirement for APIC
(irq >15)

> Hi James,
> 
> Thanks for all the hard work on the GPL PV project.
> 
> I've been having trouble with the more recent builds and then saw
this:
> 
> > Making Windows do the right thing with IRQ's etc was really hard, I
> tried quite a few different approaches and this was the best one I
could
> come up with. It is a pity that it doesn't work with apic=0, but I
don't
> think that there is a valid reason these days why you would set
apic=0.
> Previously (xen 3.0.x) it was required to make some versions of
windows
> work.
> >
> > James
> 
> The APIC problems haven't gone away, as far as I'm aware...
> 
> 
> Like a number of people I run my Windows HVMs with apic=0 (or rather
with
> the "Standard PC" hal.dll or halacpi.dll) to avoid performance
problems.
> 
> Earlier releases of the GPL PV drivers worked well with "Standard PC"
and
> Windows XP halacpi.dll , but in the last few weeks they have been
> unusable.
> 
> I just wanted to express my concern about the idea that the xennet
driver
> should crash if used with a non APIC HAL.  The xennet driver should
work
> with any HAL, just like the xenvbd driver.
> 
> It would be nice if the apic problems were fixed, too.  Any idea why
the
> APIC related problem?  I think the pre-requisites for the symptoms are
AMD
> CPU and 64 bit hypervisor and 32 bit Windows HVM.
> 
> reference:
> http://forums.novell.com/novell-product-support-forums/suse-linux-
> enterprise-server-sles/sles-virtualization/337603-win2k3-xp-poor-
> performance-eats-10-cpu-while-idle.html

I reversed the bit that made it fail when it couldn't find an IRQ > 16.
I had incorrectly assumed that all IRQ's < 16 were ISA anyway. I think I
just need to detect the type of IRQ (ISA or PCI) and act
appropriately...

I will revisit this when I've gotten the pvscsi working again (I
desperately need that for internal testing, but it involves quite a few
changes).

James

_______________________________________________
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

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