From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sesbmg23.ericsson.net (sesbmg23.ericsson.net [193.180.251.37]) by dpdk.org (Postfix) with ESMTP id 30F59201 for ; Sat, 3 Nov 2018 21:12:44 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1541275963; x=1543867963; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=cR1X/qM0ZGKVBB//ySyVF8KNOYgjl2MAVVpazyyZ6rM=; b=LdDqi7hoPzYs7CHCGvHh9lJP4etWt0Ms1E3lRVNMN8DbO6jZICox12S8AODH4lru Pbds1oybWbBdcrPEq9DRnqRwDIc14FOLYUTpQBIF1XrinqK4x36SSIeXEL28xtwC MG0ChLURoT2Klj4Z/q5opJXz3/5VhgqFyBc5GCQq4Ms=; X-AuditID: c1b4fb25-ad3ff7000000414e-09-5bde013b6c25 Received: from ESESBMB505.ericsson.se (Unknown_Domain [153.88.183.118]) by sesbmg23.ericsson.net (Symantec Mail Security) with SMTP id E0.0A.16718.B310EDB5; Sat, 3 Nov 2018 21:12:43 +0100 (CET) Received: from ESESBMB505.ericsson.se (153.88.183.172) by ESESBMB505.ericsson.se (153.88.183.172) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Sat, 3 Nov 2018 21:12:43 +0100 Received: from EUR03-DB5-obe.outbound.protection.outlook.com (153.88.183.157) by ESESBMB505.ericsson.se (153.88.183.172) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3 via Frontend Transport; Sat, 3 Nov 2018 21:12:43 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nJVWEyti08wR8rSIa58rXXUAahanY09tNRNmDeNyU2w=; b=H6X7dXLKL90kR1sOBme5RarVl02i5jBfZSNi8h5LLmEda1JDJ7+kKASkts/BHYYr1pSyVxD6Gs3kSi6+ZHsMLkxqjQVC4QSGQI4FKasamodLDRr/j2JXxJS+Y+xJwVB1Kroy7KWNha5iHdLK1apxzbD5mvAsQ2osHFkmtUI6gz8= Received: from HE1PR0701MB2394.eurprd07.prod.outlook.com (10.168.128.13) by HE1PR0701MB2489.eurprd07.prod.outlook.com (10.168.128.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1294.9; Sat, 3 Nov 2018 20:12:41 +0000 Received: from HE1PR0701MB2394.eurprd07.prod.outlook.com ([fe80::3c05:71b5:5c09:29e4]) by HE1PR0701MB2394.eurprd07.prod.outlook.com ([fe80::3c05:71b5:5c09:29e4%12]) with mapi id 15.20.1294.028; Sat, 3 Nov 2018 20:12:41 +0000 From: =?iso-8859-1?Q?Mattias_R=F6nnblom?= To: Thomas Monjalon , Jerin Jacob CC: "Gavin Hu (Arm Technology China)" , "dev@dpdk.org" , Honnappa Nagarahalli , "stable@dpdk.org" , Ola Liljedahl , "olivier.matz@6wind.com" , "chaozhu@linux.vnet.ibm.com" , "bruce.richardson@intel.com" , "konstantin.ananyev@intel.com" Thread-Topic: [dpdk-dev] [PATCH 1/2] ring: synchronize the load and store of the tail Thread-Index: AQHUbgeZgXYg3h5Zpk+L4BhhMKuRSaU+hBlw Date: Sat, 3 Nov 2018 20:12:40 +0000 Message-ID: References: <1537172244-64874-2-git-send-email-gavin.hu@arm.com> <1874944.OrACW1nkDZ@xps> <20181027150024.GA2294@jerin> <17713879.gC9jYcxDUo@xps> In-Reply-To: <17713879.gC9jYcxDUo@xps> Accept-Language: sv-SE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=mattias.ronnblom@ericsson.com; x-originating-ip: [95.197.39.110] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; HE1PR0701MB2489; 6:+r7vi421YQ1aOuzk97lJcfqEliK1rGbBZEtcaISzs5OgS+L/YHKFWhwX09AkyHp8oKZX5n+KYFwaOjcConPGF++HGygdxQ1xYev7sjnunghFJV2VOFAcugS7jdmHmighGnv00N1EyEg2f5d4v07Ej5yvqg3ebQneHhm1GjEefA7rXNIwsnTNxyuef6XixxPl0w8dmyD7R8aM8FHizehuvIyoDv6Pm8E/WB74LfQXyc9ksqDHtSGCFWew1RSrMPQVxEvfgKOF5PXilmcfvQ13sje+m5UpDq8SBN8+nWKoqMPjsmv4XsANQxcVy5Rfnq6bGDAgBTtR3bUFGDFDIy/lsPohEMRxPYEetgl32QyTkSlSCduCGtB3fbmDr82yBIdY0ajGjcN6T3iK95VrJQEJkRtw/62MFFAW2tG+PRMk0POjDdGFz1xtCsPbkQGeyMuJz5CF1XjxgrOQzN/FfOxvrg==; 5:TMh0XZrXcKBkGE5yf7/JNAZEjT93Ym1iG88Sr0mgbmDVgkLLjc1V9DdPbzusRS1NO5tG5sVS6Uu9zTKpf8kpMjShZVN2hDAMAKbTBmB1/ShpPvbwLX2rAGZJ8NsjPs7wz2JIFs8A9cccDHzlHi5Q8kNl1i1HBOEVe2H0cSNzPgo=; 7:HHBaZaLK1rTsPv+mDBDn/fUFDHNmUw6t/G2Sp20YmXWzI5bfAscEwekOFmkL2uT236DIF5UmaRGg7gImF5UVOmWLmrJcWSlYJ5pnmdjbJRLRxgLQfXd2P/MqQDTMY8TqAuEShb5CP+6b1wO0YiY9Lw== x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: ccc7f2dc-c3f3-4b5c-b76d-08d641c8b559 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020); SRVR:HE1PR0701MB2489; x-ms-traffictypediagnostic: HE1PR0701MB2489: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(104084551191319)(228905959029699)(180628864354917); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231382)(944501410)(52105095)(93006095)(93001095)(10201501046)(3002001)(148016)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201708071742011)(7699051)(76991095); SRVR:HE1PR0701MB2489; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0701MB2489; x-forefront-prvs: 08457955C4 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(136003)(396003)(346002)(376002)(39860400002)(13464003)(199004)(189003)(316002)(105586002)(33656002)(106356001)(71200400001)(71190400001)(14444005)(86362001)(256004)(476003)(93886005)(66066001)(486006)(99286004)(7696005)(478600001)(229853002)(7416002)(26005)(6506007)(53546011)(102836004)(7736002)(74316002)(305945005)(76176011)(5660300001)(53936002)(186003)(6246003)(14454004)(446003)(55016002)(6436002)(54906003)(110136005)(25786009)(97736004)(2906002)(6116002)(3846002)(68736007)(9686003)(8936002)(2900100001)(4326008)(81166006)(81156014)(11346002); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0701MB2489; H:HE1PR0701MB2394.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: 3Af8A+oj8q/qSKbooTWtHWOE+pol/dU++VyvVp43J5R5jk43f7ILimz4SxkZ7P4xpORCALm1FQcKCruPu5XIqddvcA2WLpGJg6ABQTDaYgBC0RxUCAV+f4cfm7r/Yg6snk1JE+qv1B3oD8cmfVjwwyI2rhH7xFSpo4ulzuDzuG8qWKP7rX5kpRAhjX79QyFrbJg/H00/wDkoyLri3O1xDaWmIZ8tZvIB2QIfDvuft6cXOrY+xymJbbJQQe2uBQWVAhFp27FtSorg8zd5wPtLpDq3QTdYmiuBXOHskSQM6ZrxbWSyVxBIG/gXBngD+AJ0sjlVAVU0d+DL2p5XgURGhQF6lpO9Kj0wj+aM/pwELEc= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: ccc7f2dc-c3f3-4b5c-b76d-08d641c8b559 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Nov 2018 20:12:40.9632 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0701MB2489 X-OriginatorOrg: ericsson.com X-Brightmail-Tracker: H4sIAAAAAAAAA02Sf0yMcRzH931+3D0dN1/p6rNytk7MqJTCM1n5vYdhzEY/V4dHRV12V+dX f0QtZFbh5FjSIStp1dVqhInozOJoc/2QSlGhWqlIk56es/nv9f6+P3t9P/vuy5COFtqVidUk 8lqNOk4lkVHG4Cq9VwBqC/Mx5q9ibUVB7KjxNMH2D1URrKWnD7HG7jQpm33Bnx2YMFHs6TPP aLbyVBnB/jkzIWWH2uupNTM4a2Yr4oqvFyOutD6T5sZv3Ka5mzW9BNdea6a4502XpTukobLV +/m4WD2vXRoYJYvpLzaTh784H+20NRIpyDw7AzEMYH8wlDllIBnjiJ8hKHiZRothBEGnadge bhLQ1HkKCYHCWSScv1eFxOYyAXfTu0gxfEaQ0lJHZCAHRoI3w1hPOimwEw6B79mThDBE4lck DJx8QQvFHLwbRq0F9qE9UHn2GiHyMnh4rlAqMIU9IM30ixK2leMoePTcT7zMgGDEekUizDjg hVDSaJt2IqyEj2NtlMAkdoHmrrxpJ2AMt2pekyIroPfTH1pwoilnTt128dgd3tT0SUVWwtu8 c0hkmwRGy8NF9oJBg8Gu2Qa5T0unXwKwBYGxd5ISC0/IafhpFyWA6VqFXRQBJVcf0CLPg6Lz HVQW8r3636oie4PNcEki8hIoyP9KCizHs8Fi7KJuIKoIKXS8bm989DI/b14bu0+nS9B4a/jE cjT1wZ5U/F5Qjd59W1uLMINUM+XpPz6EOdJqve5YfC0ChlQ5yX81TB3J96uPHee1CZHapDhe V4vcGErlIu9YaQ51xNHqRP4Qzx/mtf9agnFwTUHZbQ27NuVLIzeeLB2+3Xqgedawmdm6YnlL r6l7PHiQCRgY2jJ6Z12pm3RQ46PUb148xlUfvJhwJDd3fqZz6vYga+uw4m2cRx4eCSnM2uue U50ceMLqHd6RWrjh+Nn3OwlqkceRgIaWwPqkx3XuvqGeSkXE5PrI8t3c3KHqRZbi+8kqShej 9l1ManXqv+VATHZcAwAA Subject: Re: [dpdk-dev] [PATCH 1/2] ring: synchronize the load and store of the tail 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: Sat, 03 Nov 2018 20:12:44 -0000 > -----Original Message----- > From: dev On Behalf Of Thomas Monjalon > Sent: den 27 oktober 2018 17:13 > To: Jerin Jacob > Cc: Gavin Hu (Arm Technology China) ; dev@dpdk.org; > Honnappa Nagarahalli ; > stable@dpdk.org; Ola Liljedahl ; > olivier.matz@6wind.com; chaozhu@linux.vnet.ibm.com; > bruce.richardson@intel.com; konstantin.ananyev@intel.com > Subject: Re: [dpdk-dev] [PATCH 1/2] ring: synchronize the load and store = of > the tail >=20 > 27/10/2018 17:00, Jerin Jacob: > > From: Thomas Monjalon > > > 17/10/2018 08:35, Gavin Hu (Arm Technology China): > > > > Hi Jerin > > > > > > > > As the 1st one of the 3-patch set was not concluded, I submit this = 2- > patch series to unblock the merge. > > > > > > The thread is totally messed up because: > > > - there is no cover letter > > > - some different series (testpmd, i40e and doc) are in the sa= me > thread > > > - v4 replies to a different series > > > - this version should be a v5 but has no number > > > - this version replies to the v3 > > > - patchwork still shows v3 and "v5" > > > - replies from Ola are not quoting previous discussion > > > > > > Because of all of this, it is really difficult to follow. > > > This is probably the reason of the lack of review outside of Arm. > > > > > > One more issue: you must Cc the relevant maintainers. > > > Here: > > > - Olivier for rte_ring > > > - Chao for IBM platform > > > - Bruce and Konstantin for x86 > > > > > > Guys, it is really cool to have more Arm developpers in DPDK. > > > But please consider better formatting your discussions, it is really > > > important in our contribution workflow. > > > > > > I don't know what to do. > > > I suggest to wait for more feedbacks and integrate it in -rc2. > > > > This series has been acked and tested. Sure, if we are looking for > > some more feedback we can push to -rc2 if not it a good candidate to > > be selected for -rc1. >=20 > It has been acked and tested only for Arm platforms. > And Olivier, the ring maintainer, was not Cc. >=20 > I feel it is not enough. >=20 I've just run an out-of-tree test program I have for the DSW scheduler, whi= ch verify scheduler atomic semantics. The results are: Non-C11 mode: pass C11 mode before this patch set: fail C11 mode after this patch set: pass This suggests the current C11 mode is broken even on x86_64. I haven't been= following this thread closely, so maybe this is known already. I've also run an out-of-tree DSW throughput benchmark, and I've found that = going from Non-C11 to C11 gives a 4% slowdown. After this patch, the slowdo= wn is only 2,8%. GCC 7.3.0 and a Skylake x86_64.