[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: "Alex Williamson" <alex.williamson@xxxxxx>, <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
  • 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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.