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

RE: [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


 


Rackspace

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