Re: [PATCH 0/3] memdelay: memory health metric for systems and workloads

2017-08-02 Thread Michal Hocko
On Fri 28-07-17 15:43:37, Johannes Weiner wrote: > Hi Andrew, > > On Thu, Jul 27, 2017 at 01:43:25PM -0700, Andrew Morton wrote: > > On Thu, 27 Jul 2017 11:30:07 -0400 Johannes Weiner > > wrote: > > > > > This patch series implements a fine-grained metric for memory > > >

Re: [PATCH 0/3] memdelay: memory health metric for systems and workloads

2017-08-02 Thread Michal Hocko
On Fri 28-07-17 15:43:37, Johannes Weiner wrote: > Hi Andrew, > > On Thu, Jul 27, 2017 at 01:43:25PM -0700, Andrew Morton wrote: > > On Thu, 27 Jul 2017 11:30:07 -0400 Johannes Weiner > > wrote: > > > > > This patch series implements a fine-grained metric for memory > > > health. > > > > I

Re: [PATCH 0/3] memdelay: memory health metric for systems and workloads

2017-07-29 Thread Mike Galbraith
On Sat, 2017-07-29 at 04:48 +0200, Mike Galbraith wrote: > ttwu asm delta says "measure me". q/d measurement with pipe-test +cgroup_disable=memory 2.241926 usecs/loop -- avg 2.242376 891.9 KHz 1.000 +patchset 2.284428 usecs/loop -- avg 2.357621 848.3 KHz .951 -cgroup_disable=memory 2.257433

Re: [PATCH 0/3] memdelay: memory health metric for systems and workloads

2017-07-29 Thread Mike Galbraith
On Sat, 2017-07-29 at 04:48 +0200, Mike Galbraith wrote: > ttwu asm delta says "measure me". q/d measurement with pipe-test +cgroup_disable=memory 2.241926 usecs/loop -- avg 2.242376 891.9 KHz 1.000 +patchset 2.284428 usecs/loop -- avg 2.357621 848.3 KHz .951 -cgroup_disable=memory 2.257433

Re: [PATCH 0/3] memdelay: memory health metric for systems and workloads

2017-07-28 Thread Mike Galbraith
On Sat, 2017-07-29 at 04:48 +0200, Mike Galbraith wrote: > On Thu, 2017-07-27 at 11:30 -0400, Johannes Weiner wrote: > > > > Structure > > > > The first patch cleans up the different loadavg callsites and macros > > as the memdelay averages are going to be tracked using these. > > > > The

Re: [PATCH 0/3] memdelay: memory health metric for systems and workloads

2017-07-28 Thread Mike Galbraith
On Sat, 2017-07-29 at 04:48 +0200, Mike Galbraith wrote: > On Thu, 2017-07-27 at 11:30 -0400, Johannes Weiner wrote: > > > > Structure > > > > The first patch cleans up the different loadavg callsites and macros > > as the memdelay averages are going to be tracked using these. > > > > The

Re: [PATCH 0/3] memdelay: memory health metric for systems and workloads

2017-07-28 Thread Mike Galbraith
On Thu, 2017-07-27 at 11:30 -0400, Johannes Weiner wrote: > > Structure > > The first patch cleans up the different loadavg callsites and macros > as the memdelay averages are going to be tracked using these. > > The second patch adds a distinction between page cache transitions > (inactive

Re: [PATCH 0/3] memdelay: memory health metric for systems and workloads

2017-07-28 Thread Mike Galbraith
On Thu, 2017-07-27 at 11:30 -0400, Johannes Weiner wrote: > > Structure > > The first patch cleans up the different loadavg callsites and macros > as the memdelay averages are going to be tracked using these. > > The second patch adds a distinction between page cache transitions > (inactive

Re: [PATCH 0/3] memdelay: memory health metric for systems and workloads

2017-07-28 Thread Johannes Weiner
Hi Andrew, On Thu, Jul 27, 2017 at 01:43:25PM -0700, Andrew Morton wrote: > On Thu, 27 Jul 2017 11:30:07 -0400 Johannes Weiner wrote: > > > This patch series implements a fine-grained metric for memory > > health. > > I assume some Documentation/ is forthcoming. Yep, I'll

Re: [PATCH 0/3] memdelay: memory health metric for systems and workloads

2017-07-28 Thread Johannes Weiner
Hi Andrew, On Thu, Jul 27, 2017 at 01:43:25PM -0700, Andrew Morton wrote: > On Thu, 27 Jul 2017 11:30:07 -0400 Johannes Weiner wrote: > > > This patch series implements a fine-grained metric for memory > > health. > > I assume some Documentation/ is forthcoming. Yep, I'll describe the

Re: [PATCH 0/3] memdelay: memory health metric for systems and workloads

2017-07-27 Thread Andrew Morton
On Thu, 27 Jul 2017 11:30:07 -0400 Johannes Weiner wrote: > This patch series implements a fine-grained metric for memory > health. I assume some Documentation/ is forthcoming. Consuming another page flag hurts. What's our current status there? I'd be interested in seeing

Re: [PATCH 0/3] memdelay: memory health metric for systems and workloads

2017-07-27 Thread Andrew Morton
On Thu, 27 Jul 2017 11:30:07 -0400 Johannes Weiner wrote: > This patch series implements a fine-grained metric for memory > health. I assume some Documentation/ is forthcoming. Consuming another page flag hurts. What's our current status there? I'd be interested in seeing some usage

[PATCH 0/3] memdelay: memory health metric for systems and workloads

2017-07-27 Thread Johannes Weiner
This patch series implements a fine-grained metric for memory health. It builds on top of the refault detection code to quantify the time lost on VM events that occur exclusively due a lack of memory and maps it into a percentage of lost walltime for the system and cgroups. Rationale When

[PATCH 0/3] memdelay: memory health metric for systems and workloads

2017-07-27 Thread Johannes Weiner
This patch series implements a fine-grained metric for memory health. It builds on top of the refault detection code to quantify the time lost on VM events that occur exclusively due a lack of memory and maps it into a percentage of lost walltime for the system and cgroups. Rationale When