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

Re: [Xen-devel] [PATCH 3/5] svm: implement instruction fetch part of DecodeAssist


  • To: Andre Przywara <andre.przywara@xxxxxxx>
  • From: Keir Fraser <keir@xxxxxxx>
  • Date: Mon, 18 Apr 2011 13:37:21 +0100
  • Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Mon, 18 Apr 2011 05:38:31 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=KxCEx0eTSLQVMKqbZVYdFxDlC8jGGHp1cPU53Kqn6pphjzG6i3gEO+kIa6uLvWr5qF stgbwxn/VLSwhe+jtfg4B1w6f4muQjVoUpLK4cgpXlkH1t0jPhfGDxeBFoA8PouttJQV 36iSowgL6BloZqNKEW2pGYBOBLuK/Nb38LbUs=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acv9xVxaW9U0W/Kvck+9Xef16/KwWA==
  • Thread-topic: [Xen-devel] [PATCH 3/5] svm: implement instruction fetch part of DecodeAssist

On 15/04/2011 13:22, "Andre Przywara" <andre.przywara@xxxxxxx> wrote:

> Newer SVM implementations (Bulldozer) copy up to 15 bytes from the
> instruction stream into the VMCB when a #PF or #NPF exception is
> intercepted. This patch makes use of this information if available.
> This saves us from a) traversing the guest's page tables, b) mapping
> the guest's memory and c) copy the instructions from there into the
> hypervisor's address space.
> This speeds up #NPF intercepts quite a lot and avoids cache and TLB
> trashing.

Rewritten quite a bit and applied as c/s 23238. You probably should check it
still works and with the performance improvement you expect. :-)

 -- Keir

> Signed-off-by: Andre Przywara <andre.przywara@xxxxxxx>
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



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


 


Rackspace

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