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] Reducing I/O introduced domain scheduling

To: "Dong, Eddie" <eddie.dong@xxxxxxxxx>
Subject: Re: [Xen-devel] Reducing I/O introduced domain scheduling
From: Keir Fraser <keir@xxxxxxx>
Date: Tue, 12 Oct 2010 07:38:28 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Zhang, Xiantao" <xiantao.zhang@xxxxxxxxx>
Delivery-date: Mon, 11 Oct 2010 23:39:16 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:user-agent:date :subject:from:to:cc:message-id:thread-topic:thread-index:in-reply-to :mime-version:content-type:content-transfer-encoding; bh=cquDP7uq8otmuHmrD9xYEg+gcZQ7AzAUnrL9GuHrBMs=; b=wB7P86OO7gZAXFf/jpuwM1RjW60xCDB/QUExE35T0B6DOgnAXjjXF8DQqEW9ud6IkN EWGjPnn0DH1YKr2xbGKYqbEAX6wqIloEfP+5ZUtD0n0INrvhfTW3ZD/JnD53UKF0y6pn evheDhYkSN8OJHirkSkxS9rA1ixdW8n5IsVR4=
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=lGVr13lEhC/ffcRzzyVj3fivrmH/DSIEsk2m6yDEqLRmf9YS7HI1lPgVSpyRPy1PhX bB1BMXTHh9fVNJri2Y3WS1pRm71US26PAOWDnJJery/xdnWoVi7Jmw8nXsFEptWOVeN7 w4cjiDXu36wzr6nQ5FJF62xhqDJ+vPD3oapLU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1A42CE6F5F474C41B63392A5F80372B22FECEE40@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: Actpqn3hWuzhnq6kR7m69TDVjf/L0AALZYnD
Thread-topic: [Xen-devel] Reducing I/O introduced domain scheduling
User-agent: Microsoft-Entourage/12.26.0.100708
On 12/10/2010 02:12, "Dong, Eddie" <eddie.dong@xxxxxxxxx> wrote:

> Keir:
> When running vConsolidation on top of Xen in  a 4-core platform, we noticed
> the I/O introduced scheduling per CPU is ~3K Hz, which seems to be too
> frequent and cause frequent involve of domain 0 / Qemu, which may polute cache
> of the guest and thus increase CPI (cycle per instruction).
> 
> We are thinking if we can reduce the domin switch here, and think the output
> of I/O can be buffered and return immediately. The buffered I/O can be flushed
> out at next IN emulation (or any Hypervisor emulated I/O) or timeout such as
> 10 or 100 us to guarantee minimal response.
> 
> Ideally it can cover both PIO & MMIO, but we can start from PIO.
> 
> How do you think of that?

First of all have you tested with PV drivers? Performance tests with no PV
drivers are not that interesting.

Apart from that this sounds like a generalisation of the buffered-i/o
mechanism we already have for svga emulation. I suppose it might be
plausible.

 -- Keir

> Thx, Eddie
> _______________________________________________
> 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