Re: [PATCH] mm: vmscan: consistent update to pgrefill

2020-07-11 Thread Chris Down
Shakeel Butt writes: The vmstat pgrefill is useful together with pgscan and pgsteal stats to measure the reclaim efficiency. However vmstat's pgrefill is not updated consistently at system level. It gets updated for both global and memcg reclaim however pgscan and pgsteal are updated for only

Re: [PATCH] mm: vmscan: consistent update to pgrefill

2020-07-10 Thread Shakeel Butt
On Fri, Jul 10, 2020 at 7:32 PM Roman Gushchin wrote: > > On Fri, Jul 10, 2020 at 06:14:59PM -0700, Shakeel Butt wrote: > > The vmstat pgrefill is useful together with pgscan and pgsteal stats to > > measure the reclaim efficiency. However vmstat's pgrefill is not updated > > consistently at

Re: [PATCH] mm: vmscan: consistent update to pgrefill

2020-07-10 Thread Roman Gushchin
On Fri, Jul 10, 2020 at 06:14:59PM -0700, Shakeel Butt wrote: > The vmstat pgrefill is useful together with pgscan and pgsteal stats to > measure the reclaim efficiency. However vmstat's pgrefill is not updated > consistently at system level. It gets updated for both global and memcg > reclaim

Re: [PATCH] mm: vmscan: consistent update to pgrefill

2020-07-10 Thread Yafang Shao
On Sat, Jul 11, 2020 at 9:15 AM Shakeel Butt wrote: > > The vmstat pgrefill is useful together with pgscan and pgsteal stats to > measure the reclaim efficiency. However vmstat's pgrefill is not updated > consistently at system level. It gets updated for both global and memcg > reclaim however

[PATCH] mm: vmscan: consistent update to pgrefill

2020-07-10 Thread Shakeel Butt
The vmstat pgrefill is useful together with pgscan and pgsteal stats to measure the reclaim efficiency. However vmstat's pgrefill is not updated consistently at system level. It gets updated for both global and memcg reclaim however pgscan and pgsteal are updated for only global reclaim. So,