Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1642816yba; Tue, 2 Apr 2019 12:52:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqxMO9na7LKA10ILpX8RLg9jNn+TgrdznbArLKshPBplp7Yz0XkK2sMOyRISJULerFLn1Knj X-Received: by 2002:a63:2bc8:: with SMTP id r191mr4001492pgr.72.1554234760208; Tue, 02 Apr 2019 12:52:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554234760; cv=none; d=google.com; s=arc-20160816; b=orNgzrLL5dn5IzVwPRG5uR4L6VE6TStCI68+Qo4hroPMSHjJBQzQRvnFwpe1ktFLb8 OZeXZtyGW2mIJ/qr0frXZgJUKHashzMlsH3qpm8cffq5r8P7pi12aoJz9SZRbPPg/jVf hB9ftdxiHflfAY/gOchTCVYszaaq8+/DiDSbTZ325kOA3NSCjs3JcfNIA2q9slK/kxiX /MNcg/4GB9UQgz0BI5dPra0Kv68s8nukv6zBM6J2vhK4/L6nKVuqdiY+EnRrreDqAJDf P7I4iReTBOfvzfJYZqZlkaxQKh+0kb12APYUL3wv34AZIt2n3R12jyt+xEn47z6M/Rf5 oozQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=a2+NUFDlSVlX6iI0ZSEiub8kMbtDmyyGgnYGwsV2Jao=; b=kjBK3CemM32CamPXB56bD8lpPBnJDa1iM4Nbxp+HYeKdEaEDgqgV077jf/iwFHHrNP hELOUe9ofgLSQRhSoYgrwzPTMMEsk0T8LgHjruHIFdKou39Ts1xTI42qb7CTuK73OtWf S9xj9oTH9xqT38Ez4QpPL5+jHMg2yjXbX7D6CuReb8LkdTJKrqPtnfFm8ABFx7cPzeG3 yHIivax2W16tykQxRC7j4Y7ackg7O+948AaQP3B8O9sXcT2Mixuq6wojEEAHcWbT8tZv LuQRNcx3aqa9zWG4hhGx63AO0o+vZFJPAACjQ8kbZjc1b4GyRePAFUpo4YfLWcKCBjBi DM9Q== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b189si11742099pfa.65.2019.04.02.12.52.25; Tue, 02 Apr 2019 12:52:40 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731158AbfDBTia (ORCPT + 99 others); Tue, 2 Apr 2019 15:38:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37398 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725991AbfDBTia (ORCPT ); Tue, 2 Apr 2019 15:38:30 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 56082F74C0; Tue, 2 Apr 2019 19:38:29 +0000 (UTC) Received: from llong.com (dhcp-17-19.bos.redhat.com [10.18.17.19]) by smtp.corp.redhat.com (Postfix) with ESMTP id E92B57D147; Tue, 2 Apr 2019 19:38:25 +0000 (UTC) From: Waiman Long To: Jonathan Corbet Cc: linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Andrew Morton , "Peter Zijlstra (Intel)" , Johannes Weiner , Tejun Heo , Waiman Long Subject: [PATCH] psi: Clarify the units used in pressure files Date: Tue, 2 Apr 2019 15:38:10 -0400 Message-Id: <20190402193810.3450-1-longman@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Tue, 02 Apr 2019 19:38:30 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The output of the PSI files show a bunch of numbers with no unit. The psi.txt documentation file also does not indicate what units are used. One can only find out by looking at the source code. The units are percentage for the averages and useconds for the total. Make the information easier to find by documenting the units in psi.txt. Signed-off-by: Waiman Long --- Documentation/accounting/psi.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Documentation/accounting/psi.txt b/Documentation/accounting/psi.txt index b8ca28b60215..7e71c9c1d8e9 100644 --- a/Documentation/accounting/psi.txt +++ b/Documentation/accounting/psi.txt @@ -56,12 +56,12 @@ situation from a state where some tasks are stalled but the CPU is still doing productive work. As such, time spent in this subset of the stall state is tracked separately and exported in the "full" averages. -The ratios are tracked as recent trends over ten, sixty, and three -hundred second windows, which gives insight into short term events as -well as medium and long term trends. The total absolute stall time is -tracked and exported as well, to allow detection of latency spikes -which wouldn't necessarily make a dent in the time averages, or to -average trends over custom time frames. +The ratios (in %) are tracked as recent trends over ten, sixty, and +three hundred second windows, which gives insight into short term events +as well as medium and long term trends. The total absolute stall time +(in us) is tracked and exported as well, to allow detection of latency +spikes which wouldn't necessarily make a dent in the time averages, +or to average trends over custom time frames. Cgroup2 interface ================= -- 2.18.1