Re: [PATCH] mm: vmscan: consistent update to pgsteal and pgscan

2020-05-09 Thread Yafang Shao
On Fri, May 8, 2020 at 9:38 PM Johannes Weiner wrote: > > On Fri, May 08, 2020 at 06:25:14AM -0700, Shakeel Butt wrote: > > On Fri, May 8, 2020 at 3:34 AM Yafang Shao wrote: > > > > > > On Fri, May 8, 2020 at 4:49 AM Shakeel Butt wrote: > > > > > > > > One way to measure the efficiency of

Re: [PATCH] mm: vmscan: consistent update to pgsteal and pgscan

2020-05-08 Thread Shakeel Butt
On Fri, May 8, 2020 at 6:38 AM Johannes Weiner wrote: > > On Fri, May 08, 2020 at 06:25:14AM -0700, Shakeel Butt wrote: > > On Fri, May 8, 2020 at 3:34 AM Yafang Shao wrote: > > > > > > On Fri, May 8, 2020 at 4:49 AM Shakeel Butt wrote: > > > > > > > > One way to measure the efficiency of

Re: [PATCH] mm: vmscan: consistent update to pgsteal and pgscan

2020-05-08 Thread Johannes Weiner
On Fri, May 08, 2020 at 06:25:14AM -0700, Shakeel Butt wrote: > On Fri, May 8, 2020 at 3:34 AM Yafang Shao wrote: > > > > On Fri, May 8, 2020 at 4:49 AM Shakeel Butt wrote: > > > > > > One way to measure the efficiency of memory reclaim is to look at the > > > ratio (pgscan+pfrefill)/pgsteal.

Re: [PATCH] mm: vmscan: consistent update to pgsteal and pgscan

2020-05-08 Thread Shakeel Butt
On Fri, May 8, 2020 at 3:34 AM Yafang Shao wrote: > > On Fri, May 8, 2020 at 4:49 AM Shakeel Butt wrote: > > > > One way to measure the efficiency of memory reclaim is to look at the > > ratio (pgscan+pfrefill)/pgsteal. However at the moment these stats are > > not updated consistently at the

Re: [PATCH] mm: vmscan: consistent update to pgsteal and pgscan

2020-05-08 Thread Yafang Shao
On Fri, May 8, 2020 at 4:49 AM Shakeel Butt wrote: > > One way to measure the efficiency of memory reclaim is to look at the > ratio (pgscan+pfrefill)/pgsteal. However at the moment these stats are > not updated consistently at the system level and the ratio of these are > not very meaningful.

Re: [PATCH] mm: vmscan: consistent update to pgsteal and pgscan

2020-05-07 Thread Roman Gushchin
On Thu, May 07, 2020 at 01:49:13PM -0700, Shakeel Butt wrote: > One way to measure the efficiency of memory reclaim is to look at the > ratio (pgscan+pfrefill)/pgsteal. However at the moment these stats are > not updated consistently at the system level and the ratio of these are > not very

[PATCH] mm: vmscan: consistent update to pgsteal and pgscan

2020-05-07 Thread Shakeel Butt
One way to measure the efficiency of memory reclaim is to look at the ratio (pgscan+pfrefill)/pgsteal. However at the moment these stats are not updated consistently at the system level and the ratio of these are not very meaningful. The pgsteal and pgscan are updated for only global reclaim while