From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) (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 EDA1A153824 for ; Tue, 9 Jul 2024 09:00:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.33 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720515610; cv=none; b=b+MTvIN+ySbTJYLIeDfi6Yy6bn7R75j0tEu4bMWaBXCoCmRKSs5kku6syiT+1iTKafVVoNZQYfs+8jr0FgVJNykXdt+06sIknAIQ8z+NnSSQTPtjhxNgDwLtDevjpi+keVD8DWSc2Dfs5SjOjB1+FnNi8oQWXqchJwmY693jsyM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720515610; c=relaxed/simple; bh=rSEx5LXb19RFI6tQdZ90d+lSOvudX1BzqdW9FYXHaRk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:MIME-Version: Content-Type:References; b=hlmlBgzm91rcrzvY9QcGuhr6WADYO31uzxcRpiqtN1gbpOp5gwlinHL9tT39eLIKmPpI1r4pd5RrbZtv8WNfGLPhFN8gdiFxpi6aQTuf0y6iAAmrivyt1OFDA+CWp7+ek9F2SowqqvYFN56/UZy+qvAa6ePwx/SJkjtnRDtFq1Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=PxrCpOnX; arc=none smtp.client-ip=203.254.224.33 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="PxrCpOnX" Received: from epcas5p1.samsung.com (unknown [182.195.41.39]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20240709090005epoutp0357415caad2327ad341ca6db1a2bec6ee~gf9PaH0Mg0484404844epoutp03K for ; Tue, 9 Jul 2024 09:00:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20240709090005epoutp0357415caad2327ad341ca6db1a2bec6ee~gf9PaH0Mg0484404844epoutp03K DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1720515605; bh=/LrVJ+LpewOfLOi/U8Ctrj59xEIFiGAGsOhkk/FMUtg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PxrCpOnXI0v/GtQZRIBa8Cdo3lDD0F7vcu+nFMRnsm1WJwLKaoAqx+9SqdsmnQwL/ B6xNnErdjAwb612ed+daw2YcnNfBiBlFTJoQAGNeeHW2nQCMEKWWJK4DEfHqIfCyRJ Cou39p5DxJhO5+t1mRVVna9S5n8A69Yj//VpoXbU= Received: from epsnrtp2.localdomain (unknown [182.195.42.163]) by epcas5p4.samsung.com (KnoxPortal) with ESMTP id 20240709090005epcas5p4899067563465cfd53b17a1620785d03c~gf9PGmZQM1581615816epcas5p4U; Tue, 9 Jul 2024 09:00:05 +0000 (GMT) Received: from epsmgec5p1new.samsung.com (unknown [182.195.38.178]) by epsnrtp2.localdomain (Postfix) with ESMTP id 4WJFLW6dd9z4x9Q3; Tue, 9 Jul 2024 09:00:03 +0000 (GMT) Received: from epcas5p1.samsung.com ( [182.195.41.39]) by epsmgec5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 4B.E8.07307.31CFC866; Tue, 9 Jul 2024 18:00:03 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20240709085955epcas5p267fabe2536dc064f6595df1b46463a1e~gf9GMVKB71544815448epcas5p25; Tue, 9 Jul 2024 08:59:55 +0000 (GMT) Received: from epsmgms1p2new.samsung.com (unknown [182.195.42.42]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20240709085955epsmtrp2f633d1e191344ad10e8ac2c99c320b4a~gf9GLqm3s3087030870epsmtrp25; Tue, 9 Jul 2024 08:59:55 +0000 (GMT) X-AuditID: b6c32a44-18dff70000011c8b-4f-668cfc13d1ea Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p2new.samsung.com (Symantec Messaging Gateway) with SMTP id EE.B6.19057.B0CFC866; Tue, 9 Jul 2024 17:59:55 +0900 (KST) Received: from testpc11818.samsungds.net (unknown [109.105.118.18]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20240709085954epsmtip27d2ef8ed44a34dec2a25495778297e62~gf9FDKwu_0804008040epsmtip2R; Tue, 9 Jul 2024 08:59:54 +0000 (GMT) From: Wenwen Chen To: xue01.he@samsung.com Cc: axboe@kernel.dk, asml.silence@gmail.com, io-uring@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v6] io_uring: releasing CPU resources when polling Date: Tue, 9 Jul 2024 16:59:41 +0800 Message-Id: <20240709085941.3195547-1-wenwen.chen@samsung.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20240709081619.3177418-1-xue01.he@samsung.com> Precedence: bulk X-Mailing-List: io-uring@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuphk+LIzCtJLcpLzFFi42LZdlhTXVf4T0+aQf9+HYs5q7YxWqy+289m 8a71HIvFr+67jBaXd81hszg74QOrRdeFU2wO7B47Z91l97h8ttSjb8sqRo/Pm+QCWKKybTJS E1NSixRS85LzUzLz0m2VvIPjneNNzQwMdQ0tLcyVFPISc1NtlVx8AnTdMnOADlBSKEvMKQUK BSQWFyvp29kU5ZeW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VeSWpSXmKPExsWy7bCSvC73n540g8PdchZzVm1jtFh9t5/N 4l3rORaLX913GS0u75rDZnF2wgdWi64Lp9gc2D12zrrL7nH5bKlH35ZVjB6fN8kFsERx2aSk 5mSWpRbp2yVwZfx6N5+t4AF7xdXnB5kbGA+zdjFyckgImEhcm76fvYuRi0NIYDejRNukbWwQ CQmJHY/+QBUJS6z89xyq6BujxL9PHUwgCTYBbYn3a1sYQWwRoIZ151exgNjMApkSP58sZAex hQXcJD5P3QRWwyKgKtH3+w8ziM0rYCfxdtVqZogF8hI3u/aD2ZwCNhLz2peA1QsJWEss3byS CaJeUOLkzCdQ8+UlmrfOZp7AKDALSWoWktQCRqZVjJKpBcW56bnFhgVGeanlesWJucWleel6 yfm5mxjBoayltYNxz6oPeocYmTgYDzFKcDArifDOv9GdJsSbklhZlVqUH19UmpNafIhRmoNF SZz32+veFCGB9MSS1OzU1ILUIpgsEwenVAOTYdhFpanKr8vsHPIO3D2W80yap8YtoLb02sn0 x7yXTQI4W3svWDDKFV/eZJU57ZWkoWJTlfePtmnVqjtU3ftPN80xDZVY48oebcx2UviKhFnt VBf+Z1zbTgjePG7nseZfvf2PNL7bk+N2/V/Pbvzq/hvJhLbW3MM3ph8KmPrFsm1NlZqZYVH4 gw3v25RjFxxVOthykVMlSIRlHR/z23MbDty+v8Ms6pGMy46ZthUM8odFd2ncP/tM7W/ZlKS4 5NZT8+4keN2uUyi79snrUFnbF4a9+46vfDzjmvvXrav5IpwFzum8LUl9c7hXXW7aH3nfNWG/ /z3eLcWy7u12j9Vni2O85/xRkFHP2Og33TNYiaU4I9FQi7moOBEAB3VF29QCAAA= X-CMS-MailID: 20240709085955epcas5p267fabe2536dc064f6595df1b46463a1e 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: 20240709085955epcas5p267fabe2536dc064f6595df1b46463a1e References: <20240709081619.3177418-1-xue01.he@samsung.com> Sorry for bad format, here is the test results maybe looks better: Performance ------------------------------------------------------------------------------------- write read randwrite randread regular poll BW=3939MiB/s BW=6596MiB/s IOPS=190K IOPS=526K IRQ BW=3927MiB/s BW=6567MiB/s IOPS=181K IOPS=216K hybrid poll BW=3933MiB/s BW=6600MiB/s IOPS=190K IOPS=390K(suboptimal) ------------------------------------------------------------------------------------- CPU Utilization ------------------------------------------------------------------------------------- write read randwrite randread regular poll 100% 100% 100% 100% IRQ 38% 53% 100% 100% hybrid poll 76% 32% 70% 85% ------------------------------------------------------------------------------------- -- hexue