From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60044.outbound.protection.outlook.com [40.107.6.44]) by dpdk.org (Postfix) with ESMTP id CC3581B3B8 for ; Thu, 25 Apr 2019 07:15:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lRfgS5vj2qSCkwSWzcoh2jdbTl0e/HehTuqxpB3LzmY=; b=hzEhE5xcveSW11f6DmmhFPMqmKGyugQDvdlcfrJQGKKTJspwD+pvbOmq9+uPWy+pur21DPR4t0AGdRlx2HngrsvQ03AGp6hM1y+7hAaSX81X0APO8pEvRI8u0bdnYygj9pfmJMEAfMnTM18LgDdyhH4dnNMMCXSc4yFBV2OBidU= Received: from VE1PR08MB5149.eurprd08.prod.outlook.com (20.179.30.152) by VE1PR08MB4767.eurprd08.prod.outlook.com (10.255.113.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1813.16; Thu, 25 Apr 2019 05:15:20 +0000 Received: from VE1PR08MB5149.eurprd08.prod.outlook.com ([fe80::9b6:3403:4386:78]) by VE1PR08MB5149.eurprd08.prod.outlook.com ([fe80::9b6:3403:4386:78%2]) with mapi id 15.20.1813.017; Thu, 25 Apr 2019 05:15:20 +0000 From: Honnappa Nagarahalli To: "jerinj@marvell.com" , "paulmck@linux.ibm.com" CC: "konstantin.ananyev@intel.com" , "stephen@networkplumber.org" , "marko.kovacevic@intel.com" , "dev@dpdk.org" , "Gavin Hu (Arm Technology China)" , Dharmik Thakkar , Malvika Gupta , "bruce.richardson@intel.com" , nd , "thomas@monjalon.net" , nd Thread-Topic: [dpdk-dev] [PATCH v7 1/3] rcu: add RCU library supporting QSBR mechanism Thread-Index: AQHU+yXg5QbH4Hcb40myEqMCY5jrrw== Date: Thu, 25 Apr 2019 05:15:20 +0000 Message-ID: References: <20181122033055.3431-1-honnappa.nagarahalli@arm.com> <20190423043130.18153-1-honnappa.nagarahalli@arm.com> <20190423043130.18153-2-honnappa.nagarahalli@arm.com> <20190423081048.GD3923@linux.ibm.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Honnappa.Nagarahalli@arm.com; x-originating-ip: [217.140.111.135] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: cf1aa288-bc17-4d55-ebee-08d6c93d0384 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:VE1PR08MB4767; x-ms-traffictypediagnostic: VE1PR08MB4767: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr nodisclaimer: True x-microsoft-antispam-prvs: x-forefront-prvs: 0018A2705B x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(346002)(376002)(366004)(39860400002)(136003)(199004)(189003)(72206003)(93886005)(99286004)(55016002)(6246003)(73956011)(2501003)(102836004)(5660300002)(9686003)(53936002)(74316002)(8936002)(186003)(6116002)(2906002)(3846002)(4326008)(14454004)(508600001)(26005)(52536014)(33656002)(7736002)(305945005)(486006)(6506007)(66066001)(11346002)(54906003)(14444005)(25786009)(7696005)(476003)(110136005)(97736004)(316002)(86362001)(66446008)(68736007)(66476007)(66946007)(66556008)(64756008)(76116006)(81156014)(76176011)(81166006)(446003)(6436002)(71190400001)(229853002)(256004)(71200400001); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR08MB4767; H:VE1PR08MB5149.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: XzHjNpmTP0CswFH04XKNzcPvCxBBsYN6ycZK5elKun6hZN5MVaBBIeCok8tEgxaxyiynulqXwHxsR3MK5W8J6RSXTex2exoUI/1Qh3ButSTY4FyCct3G18YerypGDKQIMEZg/o6HEYzGfo8O+y1PEThiPmX3yZn87VD+ZC8nTUQBbitn2n6wosM56CAg2SBbE512UKaU0em2//X627rBCXdTL7GpM5Wsf4wegvAtY1XEWr7aOR4aYcgQtx9UntNYPIK/1/gqzxQQRl6/tDULxrxCVjhSix6pWhYvwbRP1VZ2Pe5Crc38oO/QS04zzfd2FLMLeIHO8dnavYAWceQV5hfPe5bp9GC3DSIvQPmgcbilmeVvCJE9GPx+fMleGBhGxb9o2CK9kKoUeqsBF3caTxQZFlI7WutlIOVU1n7+5UM= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: cf1aa288-bc17-4d55-ebee-08d6c93d0384 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Apr 2019 05:15:20.7353 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB4767 Subject: Re: [dpdk-dev] [PATCH v7 1/3] rcu: add RCU library supporting QSBR mechanism 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: , X-List-Received-Date: Thu, 25 Apr 2019 05:15:23 -0000 > > > > > > On Mon, Apr 22, 2019 at 11:31:28PM -0500, Honnappa Nagarahalli > wrote: > > > > Add RCU library supporting quiescent state based memory > > > > reclamation > > > method. > > > > This library helps identify the quiescent state of the reader > > > > threads so that the writers can free the memory associated with > > > > the lock less data structures. > > > > > > > > Signed-off-by: Honnappa Nagarahalli > > > > Reviewed-by: Steve Capper > > > > Reviewed-by: Gavin Hu > > > > Reviewed-by: Ola Liljedahl > > > > Acked-by: Konstantin Ananyev > > > > > > Much better! > > > > > > Acked-by: Paul E. McKenney > > > > > Thanks a lot, appreciate your feedback. > > > > Any views from maintainers on including this library into RC3? IMO, > > this library is independent and should not affect existing code. >=20 > Tested rcu_qsbr_autotest and rcu_qsbr_perf_autotest UT on a armv8.2 > machine(octeontx2). > Found rcu_qsbr_perf_autotest() runs successfully on 24 cores. > There is come issue with rcu_qsbr_autotest on 24 cores. It works fine upt= o 20 > cores. Thanks Jerin for running the test cases. I could reproduce the issue. It is= a test case issue, will fix in next version. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id AF2A4A05D3 for ; Thu, 25 Apr 2019 07:15:24 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0C7BF1B526; Thu, 25 Apr 2019 07:15:24 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60044.outbound.protection.outlook.com [40.107.6.44]) by dpdk.org (Postfix) with ESMTP id CC3581B3B8 for ; Thu, 25 Apr 2019 07:15:22 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lRfgS5vj2qSCkwSWzcoh2jdbTl0e/HehTuqxpB3LzmY=; b=hzEhE5xcveSW11f6DmmhFPMqmKGyugQDvdlcfrJQGKKTJspwD+pvbOmq9+uPWy+pur21DPR4t0AGdRlx2HngrsvQ03AGp6hM1y+7hAaSX81X0APO8pEvRI8u0bdnYygj9pfmJMEAfMnTM18LgDdyhH4dnNMMCXSc4yFBV2OBidU= Received: from VE1PR08MB5149.eurprd08.prod.outlook.com (20.179.30.152) by VE1PR08MB4767.eurprd08.prod.outlook.com (10.255.113.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1813.16; Thu, 25 Apr 2019 05:15:20 +0000 Received: from VE1PR08MB5149.eurprd08.prod.outlook.com ([fe80::9b6:3403:4386:78]) by VE1PR08MB5149.eurprd08.prod.outlook.com ([fe80::9b6:3403:4386:78%2]) with mapi id 15.20.1813.017; Thu, 25 Apr 2019 05:15:20 +0000 From: Honnappa Nagarahalli To: "jerinj@marvell.com" , "paulmck@linux.ibm.com" CC: "konstantin.ananyev@intel.com" , "stephen@networkplumber.org" , "marko.kovacevic@intel.com" , "dev@dpdk.org" , "Gavin Hu (Arm Technology China)" , Dharmik Thakkar , Malvika Gupta , "bruce.richardson@intel.com" , nd , "thomas@monjalon.net" , nd Thread-Topic: [dpdk-dev] [PATCH v7 1/3] rcu: add RCU library supporting QSBR mechanism Thread-Index: AQHU+yXg5QbH4Hcb40myEqMCY5jrrw== Date: Thu, 25 Apr 2019 05:15:20 +0000 Message-ID: References: <20181122033055.3431-1-honnappa.nagarahalli@arm.com> <20190423043130.18153-1-honnappa.nagarahalli@arm.com> <20190423043130.18153-2-honnappa.nagarahalli@arm.com> <20190423081048.GD3923@linux.ibm.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Honnappa.Nagarahalli@arm.com; x-originating-ip: [217.140.111.135] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: cf1aa288-bc17-4d55-ebee-08d6c93d0384 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:VE1PR08MB4767; x-ms-traffictypediagnostic: VE1PR08MB4767: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr nodisclaimer: True x-microsoft-antispam-prvs: x-forefront-prvs: 0018A2705B x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(346002)(376002)(366004)(39860400002)(136003)(199004)(189003)(72206003)(93886005)(99286004)(55016002)(6246003)(73956011)(2501003)(102836004)(5660300002)(9686003)(53936002)(74316002)(8936002)(186003)(6116002)(2906002)(3846002)(4326008)(14454004)(508600001)(26005)(52536014)(33656002)(7736002)(305945005)(486006)(6506007)(66066001)(11346002)(54906003)(14444005)(25786009)(7696005)(476003)(110136005)(97736004)(316002)(86362001)(66446008)(68736007)(66476007)(66946007)(66556008)(64756008)(76116006)(81156014)(76176011)(81166006)(446003)(6436002)(71190400001)(229853002)(256004)(71200400001); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR08MB4767; H:VE1PR08MB5149.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: XzHjNpmTP0CswFH04XKNzcPvCxBBsYN6ycZK5elKun6hZN5MVaBBIeCok8tEgxaxyiynulqXwHxsR3MK5W8J6RSXTex2exoUI/1Qh3ButSTY4FyCct3G18YerypGDKQIMEZg/o6HEYzGfo8O+y1PEThiPmX3yZn87VD+ZC8nTUQBbitn2n6wosM56CAg2SBbE512UKaU0em2//X627rBCXdTL7GpM5Wsf4wegvAtY1XEWr7aOR4aYcgQtx9UntNYPIK/1/gqzxQQRl6/tDULxrxCVjhSix6pWhYvwbRP1VZ2Pe5Crc38oO/QS04zzfd2FLMLeIHO8dnavYAWceQV5hfPe5bp9GC3DSIvQPmgcbilmeVvCJE9GPx+fMleGBhGxb9o2CK9kKoUeqsBF3caTxQZFlI7WutlIOVU1n7+5UM= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: cf1aa288-bc17-4d55-ebee-08d6c93d0384 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Apr 2019 05:15:20.7353 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB4767 Subject: Re: [dpdk-dev] [PATCH v7 1/3] rcu: add RCU library supporting QSBR mechanism 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" Message-ID: <20190425051520.ZiOI8nStYAlEM22teo-UE1fz_bCx1hG_-ZASpVsvWHg@z> > > > > > > On Mon, Apr 22, 2019 at 11:31:28PM -0500, Honnappa Nagarahalli > wrote: > > > > Add RCU library supporting quiescent state based memory > > > > reclamation > > > method. > > > > This library helps identify the quiescent state of the reader > > > > threads so that the writers can free the memory associated with > > > > the lock less data structures. > > > > > > > > Signed-off-by: Honnappa Nagarahalli > > > > Reviewed-by: Steve Capper > > > > Reviewed-by: Gavin Hu > > > > Reviewed-by: Ola Liljedahl > > > > Acked-by: Konstantin Ananyev > > > > > > Much better! > > > > > > Acked-by: Paul E. McKenney > > > > > Thanks a lot, appreciate your feedback. > > > > Any views from maintainers on including this library into RC3? IMO, > > this library is independent and should not affect existing code. >=20 > Tested rcu_qsbr_autotest and rcu_qsbr_perf_autotest UT on a armv8.2 > machine(octeontx2). > Found rcu_qsbr_perf_autotest() runs successfully on 24 cores. > There is come issue with rcu_qsbr_autotest on 24 cores. It works fine upt= o 20 > cores. Thanks Jerin for running the test cases. I could reproduce the issue. It is= a test case issue, will fix in next version.