Re: [PATCH v4 6/6] introduce simple linear scan rate limiting mechanism

2020-11-30 Thread Andrey Gruzdev
On 30.11.2020 19:40, Peter Xu wrote: On Mon, Nov 30, 2020 at 11:11:00AM +0300, Andrey Gruzdev wrote: On 28.11.2020 01:28, Peter Xu wrote: On Thu, Nov 26, 2020 at 06:17:34PM +0300, Andrey Gruzdev wrote: Since reading UFFD events and saving paged data are performed from the same thread, write fa

Re: [PATCH v4 6/6] introduce simple linear scan rate limiting mechanism

2020-11-30 Thread Peter Xu
On Mon, Nov 30, 2020 at 11:11:00AM +0300, Andrey Gruzdev wrote: > On 28.11.2020 01:28, Peter Xu wrote: > > On Thu, Nov 26, 2020 at 06:17:34PM +0300, Andrey Gruzdev wrote: > > > Since reading UFFD events and saving paged data are performed > > > from the same thread, write fault latencies are sensit

Re: [PATCH v4 6/6] introduce simple linear scan rate limiting mechanism

2020-11-30 Thread Andrey Gruzdev
On 28.11.2020 01:28, Peter Xu wrote: On Thu, Nov 26, 2020 at 06:17:34PM +0300, Andrey Gruzdev wrote: Since reading UFFD events and saving paged data are performed from the same thread, write fault latencies are sensitive to migration stream stalls. Limiting total page saving rate is a method to

Re: [PATCH v4 6/6] introduce simple linear scan rate limiting mechanism

2020-11-27 Thread Peter Xu
On Thu, Nov 26, 2020 at 06:17:34PM +0300, Andrey Gruzdev wrote: > Since reading UFFD events and saving paged data are performed > from the same thread, write fault latencies are sensitive to > migration stream stalls. Limiting total page saving rate is a > method to reduce amount of noticiable faul

[PATCH v4 6/6] introduce simple linear scan rate limiting mechanism

2020-11-26 Thread Andrey Gruzdev via
Since reading UFFD events and saving paged data are performed from the same thread, write fault latencies are sensitive to migration stream stalls. Limiting total page saving rate is a method to reduce amount of noticiable fault resolution latencies. Migration bandwidth limiting is achieved via no