Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4637911imm; Mon, 14 May 2018 10:20:47 -0700 (PDT) X-Google-Smtp-Source: AB8JxZr7Y4UviF5YlSHydE/cw6L/x49dfNIovCyse+UU45kzygxZrsf1+72YkhYDLhqGJoQRK1Ia X-Received: by 2002:a17:902:758a:: with SMTP id j10-v6mr10837698pll.11.1526318447027; Mon, 14 May 2018 10:20:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526318446; cv=none; d=google.com; s=arc-20160816; b=VHAJrNncAulKbUwPA3nwOrwC48uDkI7FJBnyOBBvGAwxdSFwetP4EHeDODiyqo+nCC HDd53/q0voHAd+EsOnlkuRPAaMcwvN/z0ONIQ5wJTJL4ugWxoATcD2sAwFrgEBCJN1Wa mJdiTY9bIrG0Bz4F+74wMRxumpv0AkcQpDVELM4v6dctaDeBkaHbGB5TQZLr5C1PD3fV V7UtBWT+o6OOxeov+fpoPnDXlW6FcfqM4p6EmGXa+bc+IXlaJGhsX6s4pCvvPawfrz2y criWsl2lNZp7BCcvGTqb9Xz3Vv2nQD3ZDZY64lt/wfszWAdr30VR0KDmcQqgmMu+477r JQLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:feedback-id:mime-version:user-agent :references:message-id:in-reply-to:subject:cc:to:from:date :dkim-signature:arc-authentication-results; bh=D3CsZ/Vj+DM10CeeElDfPBydAdL/Qxd58+M40Ago1b4=; b=aSuFwuhPvSwW8YW3mu8GsF7hAVTtKBIQjXhky/usSVRG8Rv1Yl4F+1PyO0JXFJ0sn2 Ly/0/R6K47eEwqlhQ5jkiFbZ+YETCRR+UmK5x2lvezUZmPlzHbmqVOaN21LM0vovk544 FyyqEJauCLNjas6YpSXz8zZcf3iKuJDNbSRwRJgIH6l6ydS2rLZTeisSAoj0xd6R5uWr cul/7rfpn9v8cOTjhoodqjx8PTZZioXwCFwAMiCSH3On+4bPNoUWHOw++FwOUz/z4Oqq FH6Qh0ZB6aXvBykX7y9gAUfUrJOV+VSC6RAVQejeB6FmTWRSXu8SfSyCQQX/vYpsLVAK YMNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazonses.com header.s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug header.b=JwESVGB0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u59-v6si9329540plb.253.2018.05.14.10.20.29; Mon, 14 May 2018 10:20:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amazonses.com header.s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug header.b=JwESVGB0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754610AbeENPjh (ORCPT + 99 others); Mon, 14 May 2018 11:39:37 -0400 Received: from a9-46.smtp-out.amazonses.com ([54.240.9.46]:34400 "EHLO a9-46.smtp-out.amazonses.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752416AbeENPje (ORCPT ); Mon, 14 May 2018 11:39:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug; d=amazonses.com; t=1526312373; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:MIME-Version:Content-Type:Feedback-ID; bh=D3CsZ/Vj+DM10CeeElDfPBydAdL/Qxd58+M40Ago1b4=; b=JwESVGB0zFrNjHf5A3botHZ6z34d1hAZ+ajs0dwb44r9JlUBLPE7qGlg7IVCddmP YOnCwe9M/aT+p/TleM31WsEyB3obooPUw4Rw4hEOttxprjeWtAvW984/meN07Dg8Ztm E0d8RXxNSXled+4wRBa1bZaQ46SxzyLPYCgRZEEU= Date: Mon, 14 May 2018 15:39:33 +0000 From: Christopher Lameter X-X-Sender: cl@nuc-kabylake To: Johannes Weiner cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-block@vger.kernel.org, cgroups@vger.kernel.org, Ingo Molnar , Peter Zijlstra , Andrew Morton , Tejun Heo , Balbir Singh , Mike Galbraith , Oliver Yang , Shakeel Butt , xxx xxx , Taras Kondratiuk , Daniel Walker , Vinayak Menon , Ruslan Ruslichenko , kernel-team@fb.com Subject: Re: [PATCH 0/7] psi: pressure stall information for CPU, memory, and IO In-Reply-To: <20180507210135.1823-1-hannes@cmpxchg.org> Message-ID: <010001635f4e8be9-94e7be7a-e75c-438c-bffb-5b56301c4c55-000000@email.amazonses.com> References: <20180507210135.1823-1-hannes@cmpxchg.org> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-SES-Outgoing: 2018.05.14-54.240.9.46 Feedback-ID: 1.us-east-1.fQZZZ0Xtj2+TD7V5apTT/NrT6QKuPgzCT/IC7XYgDKI=:AmazonSES Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 7 May 2018, Johannes Weiner wrote: > What to make of this number? If CPU utilization is at 100% and CPU > pressure is 0, it means the system is perfectly utilized, with one > runnable thread per CPU and nobody waiting. At two or more runnable > tasks per CPU, the system is 100% overcommitted and the pressure > average will indicate as much. From a utilization perspective this is > a great state of course: no CPU cycles are being wasted, even when 50% > of the threads were to go idle (and most workloads do vary). From the > perspective of the individual job it's not great, however, and they > might do better with more resources. Depending on what your priority > is, an elevated "some" number may or may not require action. This looks awfully similar to loadavg. Problem is that loadavg gets screwed up by tasks blocked waiting for I/O. Isnt there some way to fix loadavg instead?