RE: VM performance issue in KVM guests.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Zhang, Xiantao
Date: Tuesday, April 13, 2010 - 8:24 pm

Avi Kivity wrote:

I am saying the machine has no PLE feature support. Even with PLE feature support, there is still performance loss due to PLE's cost. 
 

For example, one machine is configured with 2 pCPUs and there are two Windows guests running on the machine, and each guest is cconfigured with 2 vcpus and one webbench server runs in it. 
If use host's default scheduler, webbench's performance is very bad, but if pin each geust's vCPU0 to pCPU0 and vCPU1 to pCPU1, we can see 5-10X performance improvement with same CPU utilization. 
In addition, we also see kvm's perf scalability is also impacted in large systems, for some performance experiments, kvm's perf begins to drop when vCPU is overcommitted and pCPU are saturated, but once the wake_up_affine feature is switched off in scheduler, kvm's perf can keep rising in this case.   
Xiantao

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: VM performance issue in KVM guests., Avi Kivity, (Sat Apr 10, 12:27 pm)
RE: VM performance issue in KVM guests., Zhang, Xiantao, (Sun Apr 11, 7:04 pm)
Re: VM performance issue in KVM guests., Avi Kivity, (Sun Apr 11, 11:40 pm)
RE: VM performance issue in KVM guests., Zhang, Xiantao, (Mon Apr 12, 5:50 pm)
Re: VM performance issue in KVM guests., Avi Kivity, (Mon Apr 12, 11:46 pm)
RE: VM performance issue in KVM guests., Zhang, Xiantao, (Tue Apr 13, 8:24 pm)
Re: VM performance issue in KVM guests., Avi Kivity, (Wed Apr 14, 1:14 am)
Re: VM performance issue in KVM guests., Avi Kivity, (Thu Apr 15, 1:18 am)
Re: VM performance issue in KVM guests., Peter Zijlstra, (Thu Apr 15, 6:33 am)
Re: VM performance issue in KVM guests., Srivatsa Vaddagiri, (Thu Apr 15, 9:43 am)
RE: VM performance issue in KVM guests., Zhang, Xiantao, (Thu Apr 15, 7:27 pm)
Re: VM performance issue in KVM guests., Peter Zijlstra, (Fri Apr 16, 3:40 am)
Re: VM performance issue in KVM guests., Avi Kivity, (Sat Apr 17, 12:02 pm)
Re: VM performance issue in KVM guests., Avi Kivity, (Sat Apr 17, 12:04 pm)
RE: VM performance issue in KVM guests., Zhang, Xiantao, (Sun Apr 18, 6:32 pm)