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

2020-09-28 Thread yulei zhang
On Sat, Sep 26, 2020 at 4:50 AM Paolo Bonzini wrote: > > On 25/09/20 19:30, Ben Gardon wrote: > > Oh, thank you for explaining that. I didn't realize the goal here was > > to improve LM performance. I was under the impression that this was to > > give VMs a better experience on startup for fast

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

2020-09-25 Thread Paolo Bonzini
On 25/09/20 19:30, Ben Gardon wrote: > Oh, thank you for explaining that. I didn't realize the goal here was > to improve LM performance. I was under the impression that this was to > give VMs a better experience on startup for fast scaling or something. > In your testing with live migration how

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

2020-09-25 Thread Ben Gardon
On Fri, Sep 25, 2020 at 5:04 AM yulei zhang wrote: > > On Fri, Sep 25, 2020 at 1:14 AM Ben Gardon wrote: > > > > On Wed, Sep 23, 2020 at 11:28 PM Wanpeng Li wrote: > > > > > > Any comments? Paolo! :) > > > > Hi, sorry to be so late in replying! I wanted to post the first part > > of the TDP MMU

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

2020-09-25 Thread yulei zhang
On Fri, Sep 25, 2020 at 1:14 AM Ben Gardon wrote: > > On Wed, Sep 23, 2020 at 11:28 PM Wanpeng Li wrote: > > > > Any comments? Paolo! :) > > Hi, sorry to be so late in replying! I wanted to post the first part > of the TDP MMU series I've been working on before responding so we > could discuss

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

2020-09-24 Thread Ben Gardon
On Wed, Sep 23, 2020 at 11:28 PM Wanpeng Li wrote: > > Any comments? Paolo! :) Hi, sorry to be so late in replying! I wanted to post the first part of the TDP MMU series I've been working on before responding so we could discuss the two together, but I haven't been able to get it out as fast as

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

2020-09-24 Thread Wanpeng Li
Any comments? Paolo! :) On Wed, 9 Sep 2020 at 11:04, Wanpeng Li wrote: > > Any comments? guys! > On Tue, 1 Sep 2020 at 19:52, wrote: > > > > From: Yulei Zhang > > > > Currently in KVM memory virtulization we relay on mmu_lock to > > synchronize the memory mapping update, which make vCPUs work >

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

2020-09-08 Thread Wanpeng Li
Any comments? guys! On Tue, 1 Sep 2020 at 19:52, 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

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

2020-09-01 Thread yulei . kernel
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 will cause visible performance drop, and it can