Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp2603342rdb; Mon, 25 Dec 2023 20:48:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IHkjEQK1f7w0nUKmkUA6dsYWFJH7azvPt2GqW/4Ofb8vJoyavzN0gsE9o07p6TBaEjtMHla X-Received: by 2002:a17:902:f7ca:b0:1d3:f067:a3f0 with SMTP id h10-20020a170902f7ca00b001d3f067a3f0mr6750538plw.107.1703566086032; Mon, 25 Dec 2023 20:48:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703566086; cv=none; d=google.com; s=arc-20160816; b=LHaJwDbrmVpsV3cNqO4lPK6El1VwFOSzimvCx5bjn2klOq37aqE5Cfw19XE39jjgLe XUtvY1ZwrcZs2o6YW1dQEuap33O9KqiHaL2RLE08CkrMwsRwbUG98glNz+8AZg8rZD5+ bh08ikCdlNoVlps9LVkSWRMHDTZRda/nvo4XJ/2JAeQpq3MY79FkX9MHUsrGPg53kGsq TTBAa5D/kGJN+OA9Ljh7U3GgDlmXrCE+21GH6BrEE+Pl0fQxF4oeQnDzjqVz6VHhpuVy mQCpbCAt5FDN/AR776DjkQp24ksiBwRi3l4V8Ey+/xUSKFRtAwhbJ2LFghdwyPPFrFBw Lb0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:dlp-filter:cms-type:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :dkim-filter; bh=8j9DBsIc6l+XgLoTDdFdxqqRZv0GeLuIzUymupSBwQE=; fh=aY7BzdyKm4Nm0M/uAtUmk2wfKPqEr2Dp62eUaXsSvjg=; b=OtzVIfWgYWvfQcbi4gPDuulsb3AxpowQOy6KDAx/CqS9FbUMP1gbVmBkOdUk5QYL/Z o3fJpVKOwLHpP6TmbLi42XsDFNKU9oGNjcv1XyaK5JB7gHSWqfikKVHG/63jy/bXZX9w 4c9zt3GEf8C9C1zUV1og2MEkt2kyx6rI8/QgLZbqrgGBUVRWsA6SSrXWR4pP1ql6/Aep dTG2rLQKxF7rqmpDnpMrXqz6gorINlYkcnYDOG9R1PIJw0AC0U5kJOw1jMmsfQkHuMMy 8gjkKAp1FflJoXKTjF8Mzj4202MlzAvKS6T0AQ1kyJk+L596caDWxsrkhUIuCfMRoue1 htzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=mz725qCh; spf=pass (google.com: domain of linux-kernel+bounces-11343-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11343-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 1-20020a170902c10100b001d3f3d8a80csi8648176pli.342.2023.12.25.20.48.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Dec 2023 20:48:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-11343-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=mz725qCh; spf=pass (google.com: domain of linux-kernel+bounces-11343-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-11343-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 78F4BB21A98 for ; Tue, 26 Dec 2023 04:48:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 970C34AF92; Tue, 26 Dec 2023 04:47:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="mz725qCh" X-Original-To: linux-kernel@vger.kernel.org Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6820C4AF6F for ; Tue, 26 Dec 2023 04:47:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Received: from epcas5p1.samsung.com (unknown [182.195.41.39]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20231226044740epoutp02e1f7b9dcd39004420a1cabf901309a92~kSE52vnyI2437124371epoutp02h for ; Tue, 26 Dec 2023 04:47:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20231226044740epoutp02e1f7b9dcd39004420a1cabf901309a92~kSE52vnyI2437124371epoutp02h DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1703566060; bh=8j9DBsIc6l+XgLoTDdFdxqqRZv0GeLuIzUymupSBwQE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mz725qChESt9zUe1DOMc523fzWn9rvsH3TfMtxcWiE8/yKW3e9AFNaFwrsYat9vGa sI6RLFuTNcA0RxCkFcNP2jsNSvcxt99gNCFtnzlfaPvacYyaI1zhS2rqgiZdR06aTB T9tw2DCZ32XQ+lUyQpU1ussZsvwCICDZmGmpbYL4= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas5p4.samsung.com (KnoxPortal) with ESMTP id 20231226044740epcas5p4fa3bee302730f2219fbfd02335377720~kSE5grEvH1534115341epcas5p4K; Tue, 26 Dec 2023 04:47:40 +0000 (GMT) Received: from epsmges5p1new.samsung.com (unknown [182.195.38.175]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4Szj1l2JkZz4x9Pp; Tue, 26 Dec 2023 04:47:39 +0000 (GMT) Received: from epcas5p3.samsung.com ( [182.195.41.41]) by epsmges5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 96.B6.09634.6EA5A856; Tue, 26 Dec 2023 13:47:34 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p1.samsung.com (KnoxPortal) with ESMTPA id 20231225024445epcas5p1d0525b9595544d8fe7b8ea60f5741b58~j8wS0_5EL0992509925epcas5p1w; Mon, 25 Dec 2023 02:44:45 +0000 (GMT) Received: from epsmgmc1p1new.samsung.com (unknown [182.195.42.40]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20231225024445epsmtrp20ba3ca75bef93593fb6980bb7f9fb50c~j8wS0POCa2381923819epsmtrp2P; Mon, 25 Dec 2023 02:44:45 +0000 (GMT) X-AuditID: b6c32a49-159fd700000025a2-e9-658a5ae6183e Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgmc1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 3C.70.07368.D9CE8856; Mon, 25 Dec 2023 11:44:45 +0900 (KST) Received: from localhost.localdomain (unknown [109.105.118.124]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20231225024443epsmtip1a437a46a9f4bb30d0f8ce26ee6a3ff31~j8wRRxBKL2539125391epsmtip1m; Mon, 25 Dec 2023 02:44:43 +0000 (GMT) From: Xiaobing Li To: axboe@kernel.dk Cc: asml.silence@gmail.com, linux-kernel@vger.kernel.org, io-uring@vger.kernel.org, kun.dou@samsung.com, peiwei.li@samsung.com, joshi.k@samsung.com, kundan.kumar@samsung.com, wenwen.chen@samsung.com, ruyi.zhang@samsung.com, xiaobing.li@samsung.com Subject: Re: Re: [PATCH v5] io_uring: Statistics of the true utilization of sq threads. Date: Sun, 24 Dec 2023 21:36:36 -0500 Message-ID: <20231225023636.38530-1-xiaobing.li@samsung.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrCJsWRmVeSWpSXmKPExsWy7bCmpu6zqK5Ug5kfBCzmrNrGaLH6bj+b xbvWcywWR/+/ZbP41X2X0WLrl6+sFpd3zWGzeLaX0+LL4e/sFmcnfGC1mLplB5NFR8tlRgce j52z7rJ7XD5b6tG3ZRWjx+dNcgEsUdk2GamJKalFCql5yfkpmXnptkrewfHO8aZmBoa6hpYW 5koKeYm5qbZKLj4Bum6ZOUCHKSmUJeaUAoUCEouLlfTtbIryS0tSFTLyi0tslVILUnIKTAr0 ihNzi0vz0vXyUkusDA0MjEyBChOyM2YcnMBecIC14lHzLaYGxtUsXYycHBICJhJHt/9j6mLk 4hAS2M0oMXn3CzYI5xOjxJdj+xkhnG+MEuuOdrDCtPw//gYqsZdR4uqXmVAtXxkleq+0MoJU sQloS1xf1wXWISIgLLG/o5UFpIhZ4C+jxISXv5lBEsICkRK7ew6xg9gsAqoSJxtuAF3CwcEr YCOx4WQFxDZ5icU7loOVcwrYSrxb2A82k1dAUOLkzCdgTzAD1TRvnc0MMl9CoJVDonv7C2aI ZheJKXO/Qn0qLPHq+BZ2CFtK4vO7vWwQdrHEkZ7vrBDNDYwS029fhSqylvh3ZQ8LyEHMApoS 63fpQ4RlJaaeWscEsZhPovf3EyaIOK/EjnkwtqrE6ksPofZKS7xu+A0V95B403KYBRJaExgl WrdtY5zAqDALyUOzkDw0C2H1AkbmVYySqQXFuempxaYFhnmp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MTKqtSi/Pii0pzU4kOM0hwsSuK8hjNmpwgJpCeWpGanphakFsFkmTg4 pRqYlk4t4Dj3foqMb8lW5+epd+8wWKUf2fQgKPPOcZGUnjsxcbHdc9mz1oX87QnS8Hn8xmGJ ydnLRZ6KSpJ7Uhed8YufIeX5Nl077eZKQQadz5YMO1ROSU+2ETd8lTH1/stwoyDd6kYJMes/ PHMYn7VzNN3S/iXY6exzyq5/z5moelWBqtdRfbHzRB9e8DtW+P3Pe4V9pt4lPx2KlORkixfw 9np9DDy6To67dX5khl7/Lj1blg1/+QIOmeR+lrkz33RaD/un9q/Lb/ZkZd1eInHe8G7BzlNt Pzq3FW06mJMuqu7a9Vhif35znlL8tIC9v9crnrOSsCmeF3r0fDmr9SPu/laN3Q8txBMVtDZu LlBiKc5INNRiLipOBAC0caDv6gIAAA== X-CMS-MailID: 20231225024445epcas5p1d0525b9595544d8fe7b8ea60f5741b58 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20231225024445epcas5p1d0525b9595544d8fe7b8ea60f5741b58 References: On 12/22/23 07:31 AM, Jens Axboe wrote: > Yep that would work, just leave the stats calculation to the tool > querying it. Which is really how it should be. > >> In addition, on register opcode - generally it is used for resource like >> buffers, handles etc.. I am not sure how that can help here. If you have >> something in mind, could you please elaborate in more detail? > > It's also a bit of a dumping ground for any kind of out-of-band > mechanism, so it would work fine for something like this too. But since > we already have fdinfo and with your idea of just logging work and total > time, then we should probably just stick with that. Thanks for explained. I'll send out a v6.