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

[Xen-devel] Reducing I/O introduced domain scheduling

To: Keir Fraser <Keir.Fraser@xxxxxxxxxxxxx>
Subject: [Xen-devel] Reducing I/O introduced domain scheduling
From: "Dong, Eddie" <eddie.dong@xxxxxxxxx>
Date: Tue, 12 Oct 2010 09:12:08 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Dong, Eddie" <eddie.dong@xxxxxxxxx>, "Zhang, Xiantao" <xiantao.zhang@xxxxxxxxx>
Delivery-date: Mon, 11 Oct 2010 18:17:39 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/L0A==
Thread-topic: Reducing I/O introduced domain scheduling
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?

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