[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] XEN PV Linux performance
I re-post this from Xen-User maillist.
Here is a very simple sample: double geTime() { struct timeval t; gettimeofday(&t, 0); return (double) t.tv_sec + (double) t.tv_usec / 1000000.0; } int geInc(int sum) { return sum+1; } int main() { for (i=0; i<; i++) { geTime(); } In PV linux guest, It will be 10 times slower than PVHVM linux guest. While call getInc() 10000000 times, PV guest is a little faster then HVMPV.
So it seems that PV linux guest has poor performance in context switch case.
How can I tune this or if there's any plan fixing this issue? I'm looking forward to get your feedback. Thank you.
--------------------------------------------------------------------------- XEN 4.1.2 + Dom 0 kernel 3.2 + Ubuntu 12.04 guest, Intel(R) Xeon(R) CPU E5620
Jacky
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |