From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0072.outbound.protection.outlook.com [104.47.33.72]) by dpdk.org (Postfix) with ESMTP id 2B2462030 for ; Sun, 3 Dec 2017 13:38:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=fdP2sOObX7NU5IRI4pPH06FNK1vb87KLaPQLN2TSgcA=; b=dSY6B1MpVVzHDsmt/SfMGA/8GnyaUPr/sdq4j5DbbgDeOy76XM5OKIxLIA3LJWZQpH5cFYBrb129TldSTYDc5EkKQlOII6LY78IappPl6u4U9f12F9lNmy6/O9F3nc8Fw9c1B7T8yNzUunqRcZeZr8kVaTCd5rKOMS2CnAa+jic= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin.domain.name (171.61.94.184) by BN3PR07MB2516.namprd07.prod.outlook.com (10.167.4.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.260.4; Sun, 3 Dec 2017 12:38:01 +0000 From: Jerin Jacob To: dev@dpdk.org Cc: thomas@monjalon.net, jia.he@hxt-semitech.com, Jerin Jacob Date: Sun, 3 Dec 2017 18:07:30 +0530 Message-Id: <20171203123730.26782-1-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.15.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [171.61.94.184] X-ClientProxiedBy: PN1PR0101CA0061.INDPRD01.PROD.OUTLOOK.COM (10.174.150.151) To BN3PR07MB2516.namprd07.prod.outlook.com (10.167.4.141) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4cb776e4-9fbe-4f9d-e40f-08d53a4ab220 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(5600026)(4604075)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603286); SRVR:BN3PR07MB2516; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2516; 3:XCZBLnVX2lXXfv58eEJkLAh0HbvB/3TK0iKONQ0cxoh8K06oJLCJrQpj5m/aAu7iZ/tcGe1a3g+yiDullBTvIreKLB4fPtIDlWYlA0k1Fj3uxMGDWL3zFCeuzfMM1o4otd8CEYby+QIPeFiMzw8ERo4uh3MmCx3BYjCdlgh6fC9N0rTkZr8RvZwfz/LC5J7b/Fqd8sid/VO3Y3oivvj4z3k/KmrUEud8SNZTiEr6abPDU1rYlcaXTjHQkcCf0SMA; 25:21w3t1Y0O3pS3hw89cZz3mz7rvu/dB4kxz1Yo2v6HUjdLIAv3IrnLZvWhdl8xoWysJKFH4zmRZ7bpcNDRdJmyX5SJzjx5zoFxjYanwNwknHdkqPElHKl6IM+Ly20xFnzYhwWcXu3F1aBo1Tq5YEIOLmkVLDVXvuq6DUZoQ34jmzpBtaaS2G56TGprRa4Kyl52hGzEszBgLYP1UC551Ad+6dOnUEr4IX0i/v1JUEYjAUcMvdAjT5Uxhw222i3HlQ6d5ed0L/fxeuQiElbUi4Osf1rJ3BgbXqwb39rCmDlW4YNCzluu1s7A5fBRtDWkLYtDSYl/2uSPsfA6xxQdKvkoA==; 31:UBZMlsshdAdpwHVAvtH2Drd7vNe7E/xxjlV0WG0AECAzHgGupFblrpxFtJBwpQte5Lg+dNWJ5FIqvwX82TMwJ3q9mbTVB4T30n+cdXSIMnBzt2E9w4rfntk1xNysAMkEMXJHw5s8Q6NEPbBBCOc3AaUy017ZsXNOTKfq795akF6W3cd9k32A708pk4HKOb0tSDHhGIdBthrKI8bM6D+1kmOc4fFX2uV2Ubv288BE9JM= X-MS-TrafficTypeDiagnostic: BN3PR07MB2516: X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2516; 20:oBnd7eJzQJKErN0t7IiPXVVICTvwPTc9wMXR6i9hVe4AkqNgZeupF604R/jkm8rVnxN5r7O8ImbwkfrOGXzwVwMjEDPnoL/KvlMr1A06mKw9zeMAnR+zlhHQ5sktNdIdb2b38wUD+ob1b2wxH6Y2WsUWZKgnvkYlIUBXb/fvpjghaN44+IFwUL+pSsXdRe1CZ9E8302JVx9cLs6hLEVMMZXp9w8Lis88STQq8zKngjyu4GhRfp1fDBzGv6iUkg+MFjGDhXqbpQ43VQE3eN5PDj8D+v4HBCWfULgCo+Xi5F2AEUhpsfKHhREtXsSZJYUpipggt8t/1h61/MzgtpqAYphfryA3tUsahyfTXaloYUb1f/X/AydaP7+3Q0Lfpqqu+DL92QDPz3w1B+l7ANeIDjnI664dQstAQW6hXi7yVnzwjo32q3QNww7POrvlgUEcuDC5P5k8YCzBPofVp8S9vAIB8Q3XJHGMvqhw3uAXKMr/Zfv/Cv11PTwhk14/jPrFiNAF10iPFOAgvDV8qJLdAIg8Z4Tcv9zTEEaai15vGT+YGoRt5axJZWwaOWBQdXzveCyWi6YrODQUJVAg0NIpEWRF3rNMmPM+7rcSTeQCTKc=; 4:JJ/nrdklH/vTG91PYFXOOimddbfwkwxXwQGLqCLF2f2md1iv7v6EqrWJ7duPwOBxRilSuWhZj9iT0nEu2lQUX895+MHl8PhUOEe9uTRofYC38ZgK5Gr4ToK61YTZAbDdEQxsCIDA4BGbQfon4e17UUGa2cKjxjASgbqyI5yMv7O4olYgvJcxXx+NahLc95MnEEBw6mJW4iP+Ut9t27sngA8yqznmLa5cVDF+boJkkM1SUbWxTFT7gdGO2PdoaSksrw5Od3N4fvKafc8ypjmPJA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(8121501046)(5005006)(93006095)(10201501046)(3231022)(3002001)(6041248)(20161123562025)(20161123558100)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123555025)(6072148)(201708071742011); SRVR:BN3PR07MB2516; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:BN3PR07MB2516; X-Forefront-PRVS: 05102978A2 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(376002)(366004)(346002)(199003)(189002)(189998001)(53416004)(36756003)(101416001)(2906002)(72206003)(66066001)(106356001)(478600001)(50226002)(33646002)(47776003)(97736004)(53936002)(105586002)(25786009)(966005)(107886003)(4326008)(53376002)(8936002)(68736007)(6916009)(51416003)(69596002)(52116002)(6512007)(6666003)(6116002)(81166006)(50466002)(81156014)(6506006)(16586007)(5660300001)(8676002)(42882006)(48376002)(2361001)(6306002)(305945005)(316002)(7736002)(16526018)(3846002)(1076002)(2351001)(6486002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR07MB2516; H:jerin.domain.name; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR07MB2516; 23:7c753vMn2kF3CVQkjSdET5s4KfLK1iLYQ7+sCANJ1?= =?us-ascii?Q?71XWCcUPN/oISWIfSOxP+H5oDlFzNSiV3gGlSYWB6+nAYWXLGhidTNScJHFv?= =?us-ascii?Q?F/UjgfkOnmdIWWhi7XPSFIgDHiVy3/LyZe6MNvHnjYJEyqiRTDajTJ/s8Qgl?= =?us-ascii?Q?xlxqoeaQZPrWcRXJyjFn0jV6zDi0vGsHN0ZkGFs9WuZmLBflOY373tzeU39H?= =?us-ascii?Q?VCoEjn1mxNLDlxhn8B5QvpiRxJMpZJuVRSz3VIBvAl9fKfA6m4DSTPshyxte?= =?us-ascii?Q?e7pfp9IZaxpNWGyMsY/dFFfV9CKHCz5k9E7DXE02gRc6CJy6/1FyjQMB/Njm?= =?us-ascii?Q?uTFs9parj3VhoQzU44fW60dlGpl9TSx5c28D34tel1bCRie7CfWcYU2blQnS?= =?us-ascii?Q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07MB2516; 6:Me0CYLT/5mN7yqVbpCNpjIecO1wjtfiZ0Bk69HqyhYhRluLlViGxTc8o4As151Zyo9PRXcxfQVJRq0DK3uSfasOrb+AOUZ7l2oG0LuXPT8L5N/k4NARwVIxqvvqvlZzYIGfJTx4rq0ydHuuYnjXwBs7FDRjsx3TXqP2N5SIU4yVf9wctlgpIHDF/JwComEmMDdd8n8NO0rTMKqE4XImBrS6Vl/4WsFm/zrBt5Hhq2ny7O05VXfEBqRQsW3hB9yylbP+tzpnPO0apUzhq405t1H2zy58UdrY80wISiKTBJ9O4zqeHb9TKCS+4L98PDJCdVlokPRetG1bxdvEGGHtiWW81SK/IwJuyPVeAZynmruA=; 5:n9tJJ0u7htuEHCBmFfNVO7GEToMNmRAvKz0xvL7WZoDH++7ptMDwaOSxl5JhRBbN5OLLbAzphmnyY0tewguGWso0Ng+sgHNAf2MTE+uSGDg1qnIaPDFU9EXy9kFvoBS7qKZJNx022+ksu42BJCNJkAN2uxoldFjTo8K5FrL0tOk=; 24:izWToUxxs+/vjQhUbaLD2TPR6MU9WcVzh94ehef/PXHcIOobnoHMQqtBl7EB3LgUgCNLxhMFfT1EJbWwVAENq7bhjkDiElMReHnwwLXBptU=; 7:zrZijXZIxFhftAQrUuc+o2njo6mPLqXBA9w8i+06j3w0rcV8Xz0Dfca5kuPk1j/eWKN5FRq+XteBemvhVpzgOLxr5vr7tDWiknQbLUZ7ro+OVQF/QNAhpDBPw8k8fR9od1CnSvxTEMg6HrlvY4rf3HD7ytmb/rReA85pYzrqWFYnHHvi1CrzyqJx0ahrFZsoPyzRruehvLD2JEaLbZn1sYmiSrabGTo1K+hBHpKa5V7yWEv5dUVcP9S5+/DTGO8F SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Dec 2017 12:38:01.5627 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4cb776e4-9fbe-4f9d-e40f-08d53a4ab220 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR07MB2516 Subject: [dpdk-dev] [PATCH] config/thunderx: disable c11 mem model ring implementation 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: Sun, 03 Dec 2017 12:38:05 -0000 On thunderx and octeontx, ring_perf_autotest and ring_pmd_perf_autotest test shows better performance when disabling CONFIG_RTE_RING_USE_C11_MEM_MODEL. On the other hand, Enabling CONFIG_RTE_RING_USE_C11_MEM_MODEL shows better performance on thunderx2. Since thunderx2 is using the default armv8 config, no particular change is required. Signed-off-by: Jerin Jacob --- This patch is depended on following patch from Jia He. support c11 memory model barrier in librte_ring http://dpdk.org/ml/archives/dev/2017-November/082368.html --- config/defconfig_arm64-thunderx-linuxapp-gcc | 1 + 1 file changed, 1 insertion(+) diff --git a/config/defconfig_arm64-thunderx-linuxapp-gcc b/config/defconfig_arm64-thunderx-linuxapp-gcc index 45038b119..60c68ec96 100644 --- a/config/defconfig_arm64-thunderx-linuxapp-gcc +++ b/config/defconfig_arm64-thunderx-linuxapp-gcc @@ -36,6 +36,7 @@ CONFIG_RTE_MACHINE="thunderx" CONFIG_RTE_CACHE_LINE_SIZE=128 CONFIG_RTE_MAX_NUMA_NODES=2 CONFIG_RTE_MAX_LCORE=96 +CONFIG_RTE_RING_USE_C11_MEM_MODEL=n # # Compile PMD for octeontx sso event device -- 2.15.1