Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp176080imm; Thu, 12 Jul 2018 16:45:36 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe7/x/NFzDhBmq6On+P/70/AnQizP70HyaEU+g3/tRkzkmxv5CBst7SUpBPrnQ9zc8HF7OT X-Received: by 2002:a63:555:: with SMTP id 82-v6mr3979454pgf.25.1531439136380; Thu, 12 Jul 2018 16:45:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531439136; cv=none; d=google.com; s=arc-20160816; b=YrDmS/ka9Cf3BMQoQ7LuP0PucZv57gCKrtT5aAD+wDzTC6yZ86M+szIMYcc66eASq8 7gL4swHQsDeu6LY9DoBt2bSTDxuWdSkYXEDZV7Oavy+bq/JD41kmVZ5ej0BYRX5EghEG +D3bEG/L7JXpPzJ+gSRhDAWfqLxBPWaIkqRRX18VModSmd3CrbHilQ+4d3P/qWfmAi1H mHfT1sJJFImjxkodayTV0fqtH8Pyv432dIaVlScV3QHH+6/hk/edDtRH3wT462/2M1Kc NlbAvnfnE9PiwBNMPdaKtLIxVWw+sPrkRqfa/VnFxrkAyMJ6n3LrjFAhkp7/g2twZjJz Rq1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :arc-authentication-results; bh=iKNHKc7mMwjP/4UjQrj1lj3AaIvfbqFoX8AcIpWkyyQ=; b=XXBuprf1a/bhNE3KG7PJfM1+jkkLH5j6+Gl1K8Kb8jk/sfPTARTnqYhW3rwVmQnRcT GLEODF3UbMP3OfMqgqnRZjYYcYD+GcPvwxRJ8Zlv+A/1xTzJfpoYpUAYe1rhOQPb8i0X leWa7sQromV1iSShAHP6SuWCpgqfb9xTkBO8yvdiMYXsxu8GRAOXogRlMtevmHXLzmap BHgS3MVnS7H2nVzb9rstvRQtOx1Jt2MalkcU1sQxQdfcFx6GkJ/XT0raDa+oxr0vETqH B+RF8g44C+k21bWgD+9ZTmZdjQrN4rEmKPwkujyFl4a56eEePHxvag5SxZ5VthES4V88 yE5w== ARC-Authentication-Results: i=1; mx.google.com; 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 y11-v6si22174102plg.301.2018.07.12.16.45.20; Thu, 12 Jul 2018 16:45:36 -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; 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 S2387752AbeGLX4Q (ORCPT + 99 others); Thu, 12 Jul 2018 19:56:16 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:55314 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387692AbeGLX4Q (ORCPT ); Thu, 12 Jul 2018 19:56:16 -0400 Received: from localhost.localdomain (c-24-4-125-7.hsd1.ca.comcast.net [24.4.125.7]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 83A95DA4; Thu, 12 Jul 2018 23:44:23 +0000 (UTC) Date: Thu, 12 Jul 2018 16:44:22 -0700 From: Andrew Morton To: Johannes Weiner Cc: Ingo Molnar , Peter Zijlstra , Linus Torvalds , Tejun Heo , Suren Baghdasaryan , Vinayak Menon , Christopher Lameter , Mike Galbraith , Shakeel Butt , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com Subject: Re: [PATCH 0/10] psi: pressure stall information for CPU, memory, and IO v2 Message-Id: <20180712164422.a53cc0f9c26b078dbc7e5731@linux-foundation.org> In-Reply-To: <20180712172942.10094-1-hannes@cmpxchg.org> References: <20180712172942.10094-1-hannes@cmpxchg.org> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 12 Jul 2018 13:29:32 -0400 Johannes Weiner wrote: > > ... > > The io file is similar to memory. Because the block layer doesn't have > a concept of hardware contention right now (how much longer is my IO > request taking due to other tasks?), it reports CPU potential lost on > all IO delays, not just the potential lost due to competition. Probably dumb question: disks aren't the only form of IO. Does it make sense to accumulate PSI for other forms of IO? Networking comes to mind...