Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753292AbdG2CtF convert rfc822-to-8bit (ORCPT ); Fri, 28 Jul 2017 22:49:05 -0400 Received: from mout.gmx.net ([212.227.15.18]:54175 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753112AbdG2CtE (ORCPT ); Fri, 28 Jul 2017 22:49:04 -0400 Message-ID: <1501296502.12260.19.camel@gmx.de> Subject: Re: [PATCH 0/3] memdelay: memory health metric for systems and workloads From: Mike Galbraith To: Johannes Weiner , Ingo Molnar , Peter Zijlstra , Andrew Morton , Rik van Riel , Mel Gorman Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, kernel-team@fb.com Date: Sat, 29 Jul 2017 04:48:22 +0200 In-Reply-To: <20170727153010.23347-1-hannes@cmpxchg.org> References: <20170727153010.23347-1-hannes@cmpxchg.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.20.5 Mime-Version: 1.0 Content-Transfer-Encoding: 8BIT X-Provags-ID: V03:K0:IkdMVt3vRhwCloTUU37FVuSyGCPyQBd1kt92xJVPmHz2cHOLEJq wzqsD+pLOq24GXQbCafu7qwcFsV7XPyUFa+vPXcnLqX/nUOddvWwrJ9YzOGXxNG+Tfpni2L 0lWnH2pKZCUwkapjVJ++BxpJE4HDtnisS6vhiJPI7JDKUA8B497dIFBmtWoiRhu3/hS2c+C KxIpgs0nqmfDk2xWspnRw== X-UI-Out-Filterresults: notjunk:1;V01:K0:qrQlzCGnaNM=:kP5e5cp/02ScOcJAsWCTwk 0b2oR0/VQes+15KN2wwQP/AN3LdpNXy2z/usBfkkyWsScMN+ZxQcbroIJYlKZju5v8zDKFzf9 WGbyp6C52eRZCTJ6jspiXy0qFsor2RkJi19rd4RVgPAumWOyb2qOvQpqLAWXKkgN1ZiHUvcyB 3NKelV491VypqSpY3OwIK6zPHW7pqRSWC+m6dRvOoFp1F13xWqGXiLY1sGtY1gY/07J7CDVDm gpU03fUBkt8ob25fQTL7Pw+h0DxnWf+hAYfTeupZHDNLYnE+CNs7WaEM6AFpXmFaE2UT26g8W erLw1lwDrmAPs+S5KBvSkdwo1y7VWew/UhGdcU2VQ2Plc4uZu84FqzNeHhy9iflSh0QrzO4zg N0Assf4/XtTAineQVkGQv8HjNcxC80XsatDB4ABCk25Yj8rIdR0UK6Q4U/UG3bXYQQKs1oJP4 6yYSbEaHNXo7TzK260yroj1wd2C6+uMhuRJ137IieGbSFhou0bLpgxcLLasqUHlcnvjLIsnmC XLQzR4Uyde6IYZ9guRnBLM2AdS7RhZ+vXf0QLvKKKngl/Y71VjbtwFaWK7SLlypMnD1rgNN78 tx1uIO3qUpeLmJfI3v0ORJ7sfv9sycIh4FTYaAIdYpHHH8n4d+DVaGM0a/ioMZ1FrqeexDRc9 p8Jkx9nZd54B2WFPEYU6hN8/aNj56gHNbi4BJ2TXKUWYwmvB8ksIXc3l6ZOVTotBCnl/7e4K4 4QvCmgI/N4m+iwLeRn8STXLWiezQPctoPX9pm4EU+bbquUUSQjhZOBMrMLbE8+Pmj0tw17JAG 1DBO9Xrn/pap3mFCaOvphA7kk7hdrxxVtymqsV/KxTnU1iwx5w= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 765 Lines: 19 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 list refaults) and page cache thrashing (active list > refaults), since only the latter are unproductive refaults. > > The third patch finally adds the memdelay accounting and interface: > its scheduler side identifies productive and unproductive task states, > and the VM side aggregates them into system and cgroup domain states > and calculates moving averages of the time spent in each state. What tree is this against?  ttwu asm delta says "measure me". -Mike