From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id EAE2DA0350; Wed, 1 Jul 2020 16:05:16 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id ED0781C434; Wed, 1 Jul 2020 16:05:15 +0200 (CEST) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80059.outbound.protection.outlook.com [40.107.8.59]) by dpdk.org (Postfix) with ESMTP id 0B1DC1C01E for ; Wed, 1 Jul 2020 16:05:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2hjRRvLvowtE0B0lh78yS9U1pJt3csfMDLlzQ3kPgLc=; b=ra68PQ98UL7yUZsV+4imXiMyWU808afhpy/uktKYwbgu+ouhC7rw8kCwlt3nJUkEGbLQ+F4ilmM15OuBqAigLT9JnnTjlzSvu/qL2WIot72d5eqycCgIKxS2tf5LsK7CtDpTu+gYDIUwtHRhWtBsubx0xy7MTPkQ5SVgB90krio= Received: from AM4PR0202CA0006.eurprd02.prod.outlook.com (2603:10a6:200:89::16) by VI1PR08MB2688.eurprd08.prod.outlook.com (2603:10a6:802:19::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.26; Wed, 1 Jul 2020 14:05:12 +0000 Received: from AM5EUR03FT015.eop-EUR03.prod.protection.outlook.com (2603:10a6:200:89:cafe::c2) by AM4PR0202CA0006.outlook.office365.com (2603:10a6:200:89::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3153.20 via Frontend Transport; Wed, 1 Jul 2020 14:05:12 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dpdk.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dpdk.org; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT015.mail.protection.outlook.com (10.152.16.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.20 via Frontend Transport; Wed, 1 Jul 2020 14:05:12 +0000 Received: ("Tessian outbound e44de778b77e:v62"); Wed, 01 Jul 2020 14:05:12 +0000 X-CR-MTA-TID: 64aa7808 Received: from 85485d4d4c65.3 by 64aa7808-outbound-1.mta.getcheckrecipient.com id C2A827CC-1AFC-460A-81A5-FE0E7A1D4DD1.1; Wed, 01 Jul 2020 14:05:07 +0000 Received: from EUR02-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 85485d4d4c65.3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 01 Jul 2020 14:05:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XdYOhpfjl2yGeO2A8ZkjIcwXP/UzVispZAYDGexD4mR3Qr2TP8pw8B15Dvxz0zmx+YRZpaADUzSMHp2mTgZFyWISPm3zPW6lCuPK5HtyFQ8LF9nKb/zzjHVoBRj7vZCmMjknWZ+1cdxo7rg0PM770YQFdfI1KNtgf+B7qjvSHscwuP++eM2Y9OBTQdEchOIsLhbOMTfM650y0R9xYsR8Ph5Z6EEtTPHpWlBa57j8jRoWedIRqwe4gz46Un9j+tleVin76RQukfBpGwfEe8cdXCrdgJ4oEpkRZViQ4gE6bv0QIuJ/aSxCrxz/GNTl2C/UEjcPPl67OFVL9AhNGoGapQ== 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=2hjRRvLvowtE0B0lh78yS9U1pJt3csfMDLlzQ3kPgLc=; b=NxKtSCcCtZXlBW9B3U7b8B2FBF67ecI7/QKhx2SnqG3rAfnla0/Ka4zclvVBQULKctIt6cWLvVP2VnqEb8p5c4XFGovKqtld6XB+BMkCDtbIOfj2aa7nJuyMnVOBgewVchwz/ob8+SoE1VxNp7L48PWrV9giAYnOLJOFHXZ1kcEcoCz2Mc6dQOkw3Eq/AremAwmHfg3chZj1CJHqEnFaFjyo6UjXaHOWzofqG8OyM0uWNWGMj5cOLaQsp7S7O3MXkdVVroq3mpuADRm84PpbITc5SKyFERTgmZjZXaKWfBxpORg08aE6v4yWr24RfINVASrswUbysiGHa8p9q3sJ4w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2hjRRvLvowtE0B0lh78yS9U1pJt3csfMDLlzQ3kPgLc=; b=ra68PQ98UL7yUZsV+4imXiMyWU808afhpy/uktKYwbgu+ouhC7rw8kCwlt3nJUkEGbLQ+F4ilmM15OuBqAigLT9JnnTjlzSvu/qL2WIot72d5eqycCgIKxS2tf5LsK7CtDpTu+gYDIUwtHRhWtBsubx0xy7MTPkQ5SVgB90krio= Received: from AM4PR0802MB2212.eurprd08.prod.outlook.com (2603:10a6:200:59::8) by AM0PR08MB3634.eurprd08.prod.outlook.com (2603:10a6:208:d6::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.21; Wed, 1 Jul 2020 14:05:04 +0000 Received: from AM4PR0802MB2212.eurprd08.prod.outlook.com ([fe80::9130:1e61:ef03:c4e1]) by AM4PR0802MB2212.eurprd08.prod.outlook.com ([fe80::9130:1e61:ef03:c4e1%3]) with mapi id 15.20.3131.030; Wed, 1 Jul 2020 14:05:03 +0000 From: Honnappa Nagarahalli To: "Ananyev, Konstantin" , "dev@dpdk.org" CC: Feifei Wang , nd , Honnappa Nagarahalli , nd Thread-Topic: [PATCH] test/ring: add stress test for ST peek API Thread-Index: AQHWTvqxVSFwpX8xa0e1Pc5gOO0NEajxwWQggADHG4CAADqaMA== Date: Wed, 1 Jul 2020 14:05:03 +0000 Message-ID: References: <20200630162139.19512-1-konstantin.ananyev@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 62f1bc32-9a89-4a9d-a43f-caf284f0bbfd.0 x-checkrecipientchecked: true Authentication-Results-Original: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=arm.com; x-originating-ip: [217.140.111.135] x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 989ac615-ad26-4398-76e1-08d81dc7c589 x-ms-traffictypediagnostic: AM0PR08MB3634:|VI1PR08MB2688: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:6790;OLM:6790; x-forefront-prvs: 04519BA941 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: BlLvDmYz6HYwHWCDkEj0v7cbpKIFTVJ6wXgjifLA9+Y0lBqpCu82QC5obUAYeSbJiQYJsBZwsFtFJvwEGOUBlESzCdfgsY0SHwAYRa6AtuT9JP1JXvXgaNMQ5tEDe0VN2S5fTTmQ1RI2ynLvJWJtRbsCySLPoGl9mfZVYGe7zhvlDM/zh6OKYLI7fSUWYsYd2IQlgsPXsu9WDZsJQHWYfYGtgLnJ7L4aPLbOw7WZOMB0mKIgHzZUlYthDW7cg9Vu0TxhRSRIf2apSeZnigqMPEOk11CbxAYfwHfUqP6FTNvS4Y86CJ4o1bcKiuJjKvwpITLQSWyn0TxdFZhZHK9keCtj2IbgfaClBnUb6MXx7epoO9qQ2qzF2mYtRJQyF+l4zsJJV6oRP2Hzi8GKpm+Bew== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM4PR0802MB2212.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(39860400002)(376002)(396003)(346002)(136003)(366004)(8676002)(186003)(54906003)(110136005)(8936002)(4326008)(52536014)(55016002)(6506007)(5660300002)(2906002)(7696005)(71200400001)(26005)(9686003)(66446008)(66556008)(64756008)(66476007)(316002)(66946007)(83380400001)(33656002)(478600001)(86362001)(76116006); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: +gvJUg/YU4RoKUg5Bc4yxRrcm9wOANblLNDKRiDVqrC4Y0Bcs0WhmHNJUZj1Jt0NgY/wQCAT6GG6WphwBzhX49z4fkUwPy+we9+KVJI3h6qPbQWrPpSbMMLUyVayLQPsJ2dpnkE8HSkfZMMMk4t87LwGBbtuy/7IjDpTj6NB0LLS/DXKh7Y/uUzyLdUchDeZ7jmxPWDGUygyjjKU/sIBvCSKi8mAdovRTXmzJXwX1nlSZ24y3nmQI/2wHAh1pJc+osAsp0a0Fg8Sxt98MgEFo7HPnAIyIgNn6XagopH6kkJYwYykL5E9S8ININnT9SXinzcmtizMUZk+HxnQ3VQhFPILgzpejmhnj7ZUiRGnY1azkBIpbO6lIVdpcFdZ6ApkteqjzAKyjZVv/Gp4YhJVa3XnAb9/L3eFZBVXZT/U+1PfP/GSBvKPDqeyy4bdGWPIMiR9LvtEiGbOxOEcsQF7EZnuRCwqyGOdkYRHDvEvtJqexKRGz3Ci2bRXNLvRHmWo Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3634 Original-Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT015.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFTY:; SFS:(4636009)(396003)(346002)(39860400002)(376002)(136003)(46966005)(81166007)(2906002)(83380400001)(336012)(110136005)(70206006)(33656002)(52536014)(54906003)(86362001)(356005)(70586007)(82310400002)(5660300002)(478600001)(36906005)(47076004)(8676002)(55016002)(7696005)(26005)(316002)(186003)(82740400003)(6506007)(8936002)(9686003)(4326008); DIR:OUT; SFP:1101; X-MS-Office365-Filtering-Correlation-Id-Prvs: 1bb33026-94ad-407e-032f-08d81dc7c096 X-Forefront-PRVS: 04519BA941 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WReVQJep4pNcHCpWzDHn6vz1ip/E6ub/QdFxolr2BG3FSaio3cAFWPkRTsg44lfXGoTBpKeOBEq/nI7eXB321ykFtvt7sccyV8Tujh9rpGaKEpRYStCNjdzJ+hSdqWdN4XymQYspzlgvaeTmZDIdu2EG/m7viEcbgSjPlJxiH5oUjwbAl9CKIqUBtl0GTtXS4jfV3mmGU6Hf9XMB0phrwnb0pkLjiX7nYeHH7Umbl26p/aaUVLVcuu+tSPfX/O5Nt+g1KACcadF4PvTBpiNTFHwAlVWk+2hqLxtSDO3E/dCCX+EH9MLHg8zPKvth2hvS+BavEJmoyeZHeAL5sLLepQz5BqrHIgKC2Hp71zB4qT1FY10btx8EXl/FIvBgUxD0C4p3OUl7/bcqpGglYWbYa5yQxHxhpZbLRNfz66LFi7lsRauxfg2JDMjzdHFdSF8K6znmoxOxJLRikyKA+t4+VLWHe8PRT8eDm6RvjZEaiqg= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jul 2020 14:05:12.2198 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 989ac615-ad26-4398-76e1-08d81dc7c589 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM5EUR03FT015.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2688 Subject: Re: [dpdk-dev] [PATCH] test/ring: add stress test for ST peek API X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > > > > Subject: [PATCH] test/ring: add stress test for ST peek API > > > > > > Introduce new test case to test ST peek API. > > > > > > Signed-off-by: Konstantin Ananyev > > > --- > > > > > > This patch depends on the following patch: > > > "ring: fix error vlaue of tail in the peek API for ST mode" > > > (http://patches.dpdk.org/patch/72374/) > > > to run successfully. > > > > > > app/test/Makefile | 1 + > > > app/test/meson.build | 1 + > > > app/test/test_ring_st_peek_stress.c | 54 > +++++++++++++++++++++++++++++ > > > app/test/test_ring_stress.c | 3 ++ > > > app/test/test_ring_stress.h | 1 + > > > 5 files changed, 60 insertions(+) > > > create mode 100644 app/test/test_ring_st_peek_stress.c > > > > > > diff --git a/app/test/Makefile b/app/test/Makefile index > > > 7b96a03a6..37bdaf891 100644 > > > --- a/app/test/Makefile > > > +++ b/app/test/Makefile > > > @@ -83,6 +83,7 @@ SRCS-y +=3D test_ring_hts_stress.c SRCS-y +=3D > > > test_ring_perf.c SRCS-y +=3D test_ring_peek_stress.c SRCS-y +=3D > > > test_ring_rts_stress.c > > > +SRCS-y +=3D test_ring_st_peek_stress.c > > > SRCS-y +=3D test_ring_stress.c > > > SRCS-y +=3D test_pmd_perf.c > > > > > > diff --git a/app/test/meson.build b/app/test/meson.build index > > > 5233ead46..4ec7da6b2 100644 > > > --- a/app/test/meson.build > > > +++ b/app/test/meson.build > > > @@ -108,6 +108,7 @@ test_sources =3D files('commands.c', > > > 'test_ring_peek_stress.c', > > > 'test_ring_perf.c', > > > 'test_ring_rts_stress.c', > > > + 'test_ring_st_peek_stress.c', > > I think we should rename test_ring_peek_stress.c to > test_ring_mpmc_hts_peek_stress.c to be consistent with this? >=20 > Ok, maybe then: > 'test_ring_st_peek_stress.c' and 'test_ring_mt_peek_stress.c' > to keep naming convention the same? Ok, I am fine. >=20 > > > > > 'test_ring_stress.c', > > > 'test_rwlock.c', > > > 'test_sched.c',