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] ctx suddenly rises in HVM Xen Guest

To: "Songtao Liu" <songtao.liu@xxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] ctx suddenly rises in HVM Xen Guest
From: "Ian Pratt" <Ian.Pratt@xxxxxxxxxxxxx>
Date: Tue, 20 Nov 2007 22:31:33 -0000
Cc: Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>
Delivery-date: Tue, 20 Nov 2007 14:32:37 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <iss.9c0ac906.4773.4742affc.f50c.e7@xxxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <iss.9c0ac906.4773.4742affc.f50c.e7@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcgrXBZnh9zZq+pAQROKBTadGq91zwAaONaw
Thread-topic: [Xen-devel] ctx suddenly rises in HVM Xen Guest
> I have tested HVM XEN GUEST performance with LMbench and found a
problem
> with the context switch time in guest. Following results are with
CREDIT
> scheduler, but SEDF scheduler has similar results.
> 
> The context switch time will rise suddenly when the PROCESS NUMBER (in
> context switch microbenchmark) arrives a 'threshold', just like a
step-
> function. Normally the 'threshold' of PROCESS NUMBER varies in the
range
> of 35-44 (in UP HVM XEN guest) and 52-62 (in SMP HVM XEN guest), which
> is relevant to UP/SMP and size of processes defined by LMbench. Before
> the 'threshold' context switch time keeps a relative stable value,
after
> threshold it also keeps a relative stable value. The native Linux has
no
> such problem.

Try adjusting the amount of shadow pagetable memory the guest has
allocated. You're probably suffering from shadow pagetable conflict
misses.

Ian

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

<Prev in Thread] Current Thread [Next in Thread>