Re: [PATCH -mm] autonuma: Fix scan period updating

2019-07-15 Thread Huang, Ying
Mel Gorman writes: > On Fri, Jul 12, 2019 at 06:48:05PM +0800, Huang, Ying wrote: >> > Ordinarily I would hope that the patch was motivated by observed >> > behaviour so you have a metric for goodness. However, for NUMA balancing >> > I would typically run basic workloads first -- dbench, tbench,

Re: [PATCH -mm] autonuma: Fix scan period updating

2019-07-12 Thread Mel Gorman
On Fri, Jul 12, 2019 at 06:48:05PM +0800, Huang, Ying wrote: > > Ordinarily I would hope that the patch was motivated by observed > > behaviour so you have a metric for goodness. However, for NUMA balancing > > I would typically run basic workloads first -- dbench, tbench, netperf, > > hackbench an

Re: [PATCH -mm] autonuma: Fix scan period updating

2019-07-12 Thread Huang, Ying
Mel Gorman writes: > On Thu, Jul 04, 2019 at 08:32:06AM +0800, Huang, Ying wrote: >> Mel Gorman writes: >> >> > On Tue, Jun 25, 2019 at 09:23:22PM +0800, huang ying wrote: >> >> On Mon, Jun 24, 2019 at 10:25 PM Mel Gorman wrote: >> >> > >> >> > On Mon, Jun 24, 2019 at 10:56:04AM +0800, Huang Y

Re: [PATCH -mm] autonuma: Fix scan period updating

2019-07-12 Thread Mel Gorman
On Thu, Jul 04, 2019 at 08:32:06AM +0800, Huang, Ying wrote: > Mel Gorman writes: > > > On Tue, Jun 25, 2019 at 09:23:22PM +0800, huang ying wrote: > >> On Mon, Jun 24, 2019 at 10:25 PM Mel Gorman wrote: > >> > > >> > On Mon, Jun 24, 2019 at 10:56:04AM +0800, Huang Ying wrote: > >> > > The auton

Re: [PATCH -mm] autonuma: Fix scan period updating

2019-07-03 Thread Huang, Ying
Mel Gorman writes: > On Tue, Jun 25, 2019 at 09:23:22PM +0800, huang ying wrote: >> On Mon, Jun 24, 2019 at 10:25 PM Mel Gorman wrote: >> > >> > On Mon, Jun 24, 2019 at 10:56:04AM +0800, Huang Ying wrote: >> > > The autonuma scan period should be increased (scanning is slowed down) >> > > if the

Re: [PATCH -mm] autonuma: Fix scan period updating

2019-07-03 Thread Mel Gorman
On Tue, Jun 25, 2019 at 09:23:22PM +0800, huang ying wrote: > On Mon, Jun 24, 2019 at 10:25 PM Mel Gorman wrote: > > > > On Mon, Jun 24, 2019 at 10:56:04AM +0800, Huang Ying wrote: > > > The autonuma scan period should be increased (scanning is slowed down) > > > if the majority of the page access

Re: [PATCH -mm] autonuma: Fix scan period updating

2019-06-25 Thread huang ying
On Mon, Jun 24, 2019 at 10:25 PM Mel Gorman wrote: > > On Mon, Jun 24, 2019 at 10:56:04AM +0800, Huang Ying wrote: > > The autonuma scan period should be increased (scanning is slowed down) > > if the majority of the page accesses are shared with other processes. > > But in current code, the scan

Re: [PATCH -mm] autonuma: Fix scan period updating

2019-06-24 Thread Mel Gorman
On Mon, Jun 24, 2019 at 10:56:04AM +0800, Huang Ying wrote: > The autonuma scan period should be increased (scanning is slowed down) > if the majority of the page accesses are shared with other processes. > But in current code, the scan period will be decreased (scanning is > speeded up) in that si