Re: [RFC 0/9] KVM:x86/mmu:Introduce parallel memory virtualization to boost performance

2020-08-07 Thread yulei zhang
On Fri, Aug 7, 2020 at 1:04 AM Ben Gardon wrote: > > On Wed, Aug 5, 2020 at 9:53 AM Yulei Zhang wrote: > > > > From: Yulei Zhang > > > > Currently in KVM memory virtulization we relay on mmu_lock to synchronize > > the memory mapping update, which make vCPUs work in serialize mode and > > slow d

Re: [RFC 0/9] KVM:x86/mmu:Introduce parallel memory virtualization to boost performance

2020-08-06 Thread Ben Gardon
On Wed, Aug 5, 2020 at 9:53 AM Yulei Zhang wrote: > > From: Yulei Zhang > > Currently in KVM memory virtulization we relay on mmu_lock to synchronize > the memory mapping update, which make vCPUs work in serialize mode and > slow down the execution, especially after migration to do substantial >

Re: [RFC 0/9] KVM:x86/mmu:Introduce parallel memory virtualization to boost performance

2020-08-05 Thread Wanpeng Li
Also Cc Junaid Shahid, Ben Gardon On Wed, 5 Aug 2020 at 22:11, Yulei Zhang wrote: > > From: Yulei Zhang > > Currently in KVM memory virtulization we relay on mmu_lock to synchronize > the memory mapping update, which make vCPUs work in serialize mode and > slow down the execution, especially afte

[RFC 0/9] KVM:x86/mmu:Introduce parallel memory virtualization to boost performance

2020-08-05 Thread Yulei Zhang
From: Yulei Zhang Currently in KVM memory virtulization we relay on mmu_lock to synchronize the memory mapping update, which make vCPUs work in serialize mode and slow down the execution, especially after migration to do substantial memory mapping setup, and performance get worse if increase vCPU