Re: [PATCH v3 7/7] introduce simple linear scan rate limiting mechanism

2020-11-20 Thread Peter Xu
On Fri, Nov 20, 2020 at 03:06:56PM +0300, Andrey Gruzdev wrote: > On 19.11.2020 23:02, Peter Xu wrote: > > On Thu, Nov 19, 2020 at 03:59:40PM +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 v3 7/7] introduce simple linear scan rate limiting mechanism

2020-11-20 Thread Andrey Gruzdev
On 19.11.2020 23:02, Peter Xu wrote: On Thu, Nov 19, 2020 at 03:59:40PM +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 v3 7/7] introduce simple linear scan rate limiting mechanism

2020-11-19 Thread Peter Xu
On Thu, Nov 19, 2020 at 03:59:40PM +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 v3 7/7] introduce simple linear scan rate limiting mechanism

2020-11-19 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