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-ia64-devel

[Xen-ia64-devel][PATCH] Emulate PAL_HALT_LIGHT

To: "Alex Williamson" <alex.williamson@xxxxxx>, <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-ia64-devel][PATCH] Emulate PAL_HALT_LIGHT
From: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Date: Fri, 30 Jun 2006 13:08:12 +0800
Delivery-date: Thu, 29 Jun 2006 22:09:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcacAy/cFEbd3YitSRaoNnqTXODTig==
Thread-topic: [Xen-ia64-devel][PATCH] Emulate PAL_HALT_LIGHT
Alex,
This patch intends to use do_block to emulate Guest PAL_HALT_LIGHT,
whenever there is an interrupt for this vcpu, this vcpu is woken up.

Signed-off-by: Anthony Xu <anthony.xu@xxxxxxxxx>


And, I noticed domU use do_yield to emulate Guest PAL_HALT_LIGHT,
There is no correctness issue, but may impact performance when HT is enabled.
If there are a domU vcpu and idle vcpu running on one LP, 
Then Guest PAL_HALT_LIGHT will become a tight loop,that means this LP
will not yield resource to the other LP on the same core even when there is
no task running on this LP. This will impact the whole system performance 
dramatically. VTI-domain had suffered this penalty due to the similar reason.

I propose to use do_block to emulate Guest PAL_HALT_LIGHT.

Thanks,
Anthony

Attachment: emulate_PAL_HALT_LIGHT.patch
Description: emulate_PAL_HALT_LIGHT.patch

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-ia64-devel][PATCH] Emulate PAL_HALT_LIGHT, Xu, Anthony <=