From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 26870A0C4B; Thu, 17 Jun 2021 17:54:04 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DCDE54067A; Thu, 17 Jun 2021 17:54:03 +0200 (CEST) Received: from AZHDRRW-EX02.NVIDIA.COM (azhdrrw-ex02.nvidia.com [20.64.145.131]) by mails.dpdk.org (Postfix) with ESMTP id 9D65140150 for ; Thu, 17 Jun 2021 17:54:02 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.173) by mxs.oss.nvidia.com (10.13.234.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.858.12; Thu, 17 Jun 2021 08:54:01 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ggFiMftPxHaj9gKWiAzMq9YfdV0gAawcSX1VMNERjNS7GdnMFfkaZRg95wykixxjFfU6tElOmO+DJTYcY/x5164FdNovJOMR+k+UFvT6d44HV1tqEhqt1qH9Dd7xUFttib304SHTMRi4j5ts4eMxgjvSBX7IOCRn+5mnI9y/FONBxM2yubb7ZiF1lDwC8h7G13qAdUzWlzz60o9/1GYLY8wlGIfmVZtlAX7rGTfC0Oay5hNkqKc00Ok85laM4VNwZeORW5o3PUrOfDOldg2+fw1fQoEJ+txXsiwlBnQCtrUMpD0tNncDR0VGo0gnJ4NK62Ctp8+Eg4BooLE1rzJWaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rbWKLAFdqZcWkLkIqg4zLkcgK4YLeytA8+WP2fY3Y54=; b=K8WIIPeq8rq8CxLZRjBIqn1mYz7DelvSzG2xLcMJUy5Yk+LR4X4BmtDPNO8t0/A8E12TTNiGEXlM/yD5Bo9M4rrkRbFcbDQRUX2NGSoGonvsb1ich9U3byBfrtOaqg8tpoVsNIgm+rB9yIAlf4KRpP1Vh9wF1/QBWnT4uAc9qoW000EUVJx1pG9AnCSxKspQXjkguOkM0NvWiobDy8Cl1G6+RHs7RmNB2M6KNbuAHDZ9HBXqYnqJov2whixC9kE/T0Aaae+EdepHYA9VFat/hnI0lWwh9s1+m3kxfqQ4MUcSpn9qiHMaSzPEFT24M5pN81b6j6Hmhkj2JOHnIYuZKg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=iol.unh.edu smtp.mailfrom=nvidia.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=rbWKLAFdqZcWkLkIqg4zLkcgK4YLeytA8+WP2fY3Y54=; b=C0NCExqA9UwGHoSJ3akNBF0Ehn02AyPIZB8euo5QmKL9MUIn6rnovdFVbyyPBxrXNw63uJl4NukFvR5OD9rSKijWHu94PIEE8XAaRiRiONokDnuX16cs9Zso33xjFoO3LPjJiMYT/w/Ou+Sm9+obIR4CuCZDYZN5lXwyvg+8pyK2xplNRs1UlpVMpnUp/30fSQV2XdpU97GJJgX/M3FNV0ClxP93qElaKGtOn5lMXTz2y3lhmUnXnhD8y/NCJiC1XgK9wiVl2y+ew7ijuoPpuVbsz22hgWNlo7KUrfrPentFFvBeYirFP3skbRecA8bvPZ3Z1saNSj9gSUmmey+cmQ== Received: from BN9PR03CA0288.namprd03.prod.outlook.com (2603:10b6:408:f5::23) by CH2PR12MB3765.namprd12.prod.outlook.com (2603:10b6:610:25::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.19; Thu, 17 Jun 2021 15:54:00 +0000 Received: from BN8NAM11FT037.eop-nam11.prod.protection.outlook.com (2603:10b6:408:f5:cafe::c0) by BN9PR03CA0288.outlook.office365.com (2603:10b6:408:f5::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.18 via Frontend Transport; Thu, 17 Jun 2021 15:54:00 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; iol.unh.edu; dkim=none (message not signed) header.d=none;iol.unh.edu; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by BN8NAM11FT037.mail.protection.outlook.com (10.13.177.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4242.16 via Frontend Transport; Thu, 17 Jun 2021 15:54:00 +0000 Received: from nvidia.com (172.20.187.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 17 Jun 2021 15:53:58 +0000 From: Ali Alnubani To: , CC: Date: Thu, 17 Jun 2021 18:53:24 +0300 Message-ID: <20210617155324.9192-1-alialnu@nvidia.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d4ec26e0-0f73-4747-353b-08d931a81fa2 X-MS-TrafficTypeDiagnostic: CH2PR12MB3765: X-Microsoft-Antispam-PRVS: X-MS-Exchange-Transport-Forked: True X-MS-Oob-TLC-OOBClassifiers: OLM:1417; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gOcEGoFsZSXASUtMDhF4S1095FCTAPkMLqFMRQO4SmNuEz+WfuDVOXHh3GxLc6AbW1OTve+RGT+5CLJPoNX35wVOg5+Nk1q2oxnQRTd33nvt/FQIoi++2vS/8NMkkHD9UKAsEIpugLCZbJ0CRmSEy27mYbaHqVh7SAsg+o+c46m/g2QGlkSDvG2ig7juEv+/6bAnDh+a7mT3pBpNN+4bcrIpMZRklXgz2SwKfToYrDBasMjH8GJEZZ0ndNBtC3q3AhPWJomaVOscHuB5s13TCVY5LMDL4gTjgsM3xXbL5gcTqLF+hb8xeBrlaflK4c0qmWdLzOeMieAby89tC7w2HmIO80/7hxV8cqa5kEs0OIRkKz8XPlAUXgTUSlBTTbka77/d4sInROxbOxGz/cXHrn1jy+19/CasBWYEN2SDXkvwTEITM5UWi4SmSgbAZuwi+iyY6d5jQZeNC6ErACdU1sWAzH9mhohBAoRpKRTEwTyg3SV+Hd19BR+gEw7s32WTn1PSMLb5fd8oyw6qWeU5bSHw798rw5hlWLmTApq7/1ARuaZgTeSvpZr2+M5wsJexieBRfM4qYeZH9hjMhFpEserLI8LJTiOgEJci8iW1xkoISaaP//bxpLMPeLF8UtJW/oNNWkcJ+MVXIMbBBOjBKz1qPCknrSD2/a0j8qxjv1k= X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(346002)(396003)(376002)(136003)(39860400002)(36840700001)(46966006)(16526019)(47076005)(4744005)(186003)(82740400003)(36906005)(316002)(110136005)(336012)(82310400003)(2906002)(7696005)(356005)(36756003)(70586007)(70206006)(7636003)(26005)(86362001)(55016002)(426003)(8936002)(5660300002)(6666004)(8676002)(4326008)(1076003)(36860700001)(2616005)(6286002)(478600001); DIR:OUT; SFP:1101; X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2021 15:54:00.2817 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d4ec26e0-0f73-4747-353b-08d931a81fa2 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT037.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB3765 Subject: [dts] [PATCH] tests/nic_single_core_perf: set burst and mbcache for ConnectX nics X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Setting burst and mbcache improves performance and reduces fluctuations. Signed-off-by: Ali Alnubani --- tests/TestSuite_nic_single_core_perf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/TestSuite_nic_single_core_perf.py b/tests/TestSuite_nic_single_core_perf.py index 5083831d..dee189e5 100644 --- a/tests/TestSuite_nic_single_core_perf.py +++ b/tests/TestSuite_nic_single_core_perf.py @@ -248,6 +248,9 @@ class TestNicSingleCorePerf(TestCase): param += " --rxq=1 --txq=1" # workaround for that testpmd can't forward packets in io forward mode param += " --port-topology=loop" + # improves performance and reduces fluctuations + elif self.nic in ['ConnectX5_MT4121', 'ConnectX4_LX_MT4117']: + param += " --burst=64 --mbcache=512" self.throughput[fwd_config] = dict() for frame_size in list(self.test_parameters[fwd_config].keys()): -- 2.17.1