From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B0E3AC25B74 for ; Thu, 16 May 2024 14:26:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:CC:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=JyYYOO+lqVjlNQp2VouoA3ytgVZ0Xruy84JOlzwFLCM=; b=yxfPnHlmL5qh6g KeguzvB9B+CklgihwfsD5WRPmFPWC0G4vD1s/Eu5JMDrGq+Kxv5ZeN8e3Yl8mryhvUkoOuFHRYylh ecbCX8M/587mS4jBFfX87ki2s0kUFJ2j3ncJY/P+kC/2779pkedUUL0dNBm6fAX3NZLMQN55+KUts cw/POd4yMbIymEjzFzlQRLdMmdZ1i6cJiBxTFS9q2VWP69l33yswSEMxtlaNEiQ+6L3ILeTnbSvIH Sx01zebmoli/0mMu6BeV6wR+vUV6QqKcLEw7hUM8AVhw3+ZTy3+HS4WB11/yqBFyCX3G7wWhKjBmT ovqyaFLvxAFIXNx2MjHw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s7c3e-000000059aP-3L4W; Thu, 16 May 2024 14:26:11 +0000 Received: from mx0a-0016f401.pphosted.com ([67.231.148.174] helo=mx0b-0016f401.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s7c3b-000000059ZM-2JS5 for linux-arm-kernel@lists.infradead.org; Thu, 16 May 2024 14:26:09 +0000 Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 44G40GAs017382; Thu, 16 May 2024 07:25:41 -0700 Received: from dc6wp-exch02.marvell.com ([4.21.29.225]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3y5aqxspy1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 16 May 2024 07:25:41 -0700 (PDT) Received: from DC6WP-EXCH02.marvell.com (10.76.176.209) by DC6WP-EXCH02.marvell.com (10.76.176.209) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Thu, 16 May 2024 07:25:40 -0700 Received: from maili.marvell.com (10.69.176.80) by DC6WP-EXCH02.marvell.com (10.76.176.209) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Thu, 16 May 2024 07:25:40 -0700 Received: from cn10ka (unknown [10.106.49.40]) by maili.marvell.com (Postfix) with SMTP id A9B0B3F7069; Thu, 16 May 2024 07:25:39 -0700 (PDT) Date: Thu, 16 May 2024 07:25:39 -0700 From: Tanmay Jagdale To: Will Deacon CC: Tanmay Jagdale , , , , , , , , , , , , , , , Subject: Re: [PATCH V3 0/2] iommu/arm-smmu-v3: Add support for ECMDQ register mode Message-ID: References: <20240425144152.52352-1-tanmay@marvell.com> <20240430150950.GD14187@willie-the-truck> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240430150950.GD14187@willie-the-truck> X-Proofpoint-GUID: bRpFxqrbi4G_SI4aKqjFXb7lumX-n6Vy X-Proofpoint-ORIG-GUID: bRpFxqrbi4G_SI4aKqjFXb7lumX-n6Vy X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-16_07,2024-05-15_01,2023-05-22_02 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240516_072607_621441_5D935ABA X-CRM114-Status: GOOD ( 18.82 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Will, On Tue, Apr 30, 2024 at 04:09:50PM +0100, Will Deacon wrote: > On Thu, Apr 25, 2024 at 07:41:50AM -0700, Tanmay Jagdale wrote: > > Resending the patches by Zhen Lei that add > > support for SMMU ECMDQ feature. > > > > Tested this feature on a Marvell SoC by implementing a smmu-test driver. > > This test driver spawns a thread per CPU and each thread keeps sending > > map, table-walk and unmap requests for a fixed duration. > > > > Using this test driver, we compared ECMDQ vs SMMU with software batching > > support and saw ~5% improvement with ECMDQ. Performance numbers are > > mentioned below: > > > > Total Requests Average Requests Difference > > Per CPU wrt ECMDQ > > ----------------------------------------------------------------- > > ECMDQ 239286381 2991079 > > CMDQ Batch Size 1 228232187 2852902 -4.62% > > CMDQ Batch Size 32 233465784 2918322 -2.43% > > CMDQ Batch Size 64 231679588 2895994 -3.18% > > CMDQ Batch Size 128 233189030 2914862 -2.55% > > CMDQ Batch Size 256 230965773 2887072 -3.48% > > These are pretty small improvements in a targetted micro-benchmark. Do > you have any real-world numbers showing that this is worthwhile? For > example, running something like netperf. We are running benchmarks on the latest kernel with and without ECMDQ. We will share the performance numbers and observations here. With Regards, Tanmay > > Will > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel