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

Re: [Xen-devel] Root cause of the issue that HVM guest boots slowly with

To: "Yang, Xiaowei" <xiaowei.yang@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Root cause of the issue that HVM guest boots slowly with pvops dom0
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Thu, 21 Jan 2010 11:23:06 +0000
Cc:
Delivery-date: Thu, 21 Jan 2010 03:23:35 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C77DCE97.6F1C%keir.fraser@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcqacmPuu1wkaW3ARrGtHNq5b+C1qAAA5Ag8AAGDIjwABAZqDA==
Thread-topic: [Xen-devel] Root cause of the issue that HVM guest boots slowly with pvops dom0
User-agent: Microsoft-Entourage/12.23.0.091001
On 21/01/2010 09:27, "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx> wrote:

>> A pre-mlock()ed memory page for small (sub-page) hypercalls? Protected with
>> a semaphore: failure to acquire semaphore means take slow path. Have all
>> hypercallers in libxc launder their data buffers through a new interface
>> that tries to grab and copy into the pre-allocated buffer.
> 
> I'll sort out a trial patch for this myself.

How does the attached patch work for you? It ought to get you the same
speedup as your hack.

 -- Keir

Attachment: 00-mlock
Description: Binary data

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