Re: [PATCH 18/20] migration: Postcopy preemption enablement

2022-02-23 Thread Peter Xu
On Wed, Feb 23, 2022 at 09:56:08AM +, Dr. David Alan Gilbert wrote: > * Peter Xu (pet...@redhat.com) wrote: > > On Tue, Feb 22, 2022 at 10:52:23AM +, Dr. David Alan Gilbert wrote: > > > This does get a bit complicated, which worries me a bit; the code here > > > is already quite

Re: [PATCH 18/20] migration: Postcopy preemption enablement

2022-02-23 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > On Tue, Feb 22, 2022 at 10:52:23AM +, Dr. David Alan Gilbert wrote: > > This does get a bit complicated, which worries me a bit; the code here > > is already quite complicated. > > Right, it's the way I chose in this patchset on solving this problem.

Re: [PATCH 18/20] migration: Postcopy preemption enablement

2022-02-22 Thread Peter Xu
On Tue, Feb 22, 2022 at 10:52:23AM +, Dr. David Alan Gilbert wrote: > This does get a bit complicated, which worries me a bit; the code here > is already quite complicated. Right, it's the way I chose in this patchset on solving this problem. Not sure whether there's any better and easier

Re: [PATCH 18/20] migration: Postcopy preemption enablement

2022-02-22 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > This patch enables postcopy-preempt feature. > > It contains two major changes to the migration logic: > > (1) Postcopy requests are now sent via a different socket from precopy > background migration stream, so as to be isolated from very high page >

[PATCH 18/20] migration: Postcopy preemption enablement

2022-02-15 Thread Peter Xu
This patch enables postcopy-preempt feature. It contains two major changes to the migration logic: (1) Postcopy requests are now sent via a different socket from precopy background migration stream, so as to be isolated from very high page request delays. (2) For huge page enabled