From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0062.outbound.protection.outlook.com [104.47.33.62]) by dpdk.org (Postfix) with ESMTP id 9575D5949 for ; Tue, 5 Jul 2016 15:14:22 +0200 (CEST) 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=56MIiHwk1vxstE50cCF6WsnjWPKoNWmiT88Q8hyQv/w=; b=fHLErAeA+t+D+Xi4Vv5wbmQLhndL8M33vXwAmS844jrml0t9icAI47OawhylA9jpdltD+nl0jglupi3Bt36aWzqZ8Azv/byon+aIUCw2LzyCvbUV8aWz94HwcmUlafbV3vR173RVk8jcW/G6eSlyDLoZzo5rhGc4G9aBZbB73+c= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from localhost.localdomain (111.93.218.67) by BY1PR0701MB1724.namprd07.prod.outlook.com (10.162.111.143) with Microsoft SMTP Server (TLS) id 15.1.528.16; Tue, 5 Jul 2016 13:14:17 +0000 Date: Tue, 5 Jul 2016 18:43:57 +0530 From: Jerin Jacob To: Yuanhan Liu CC: Ferruh Yigit , Thomas Monjalon , , , Pablo de Lara Message-ID: <20160705131356.GA12235@localhost.localdomain> References: <1464250025-9191-1-git-send-email-jerin.jacob@caviumnetworks.com> <1467288996-6109-1-git-send-email-jerin.jacob@caviumnetworks.com> <1752001.JOCExCpW7T@xps13> <577B7317.50608@intel.com> <20160705113246.GI26521@yliu-dev.sh.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20160705113246.GI26521@yliu-dev.sh.intel.com> User-Agent: Mutt/1.6.1 (2016-04-27) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BM1PR01CA0026.INDPRD01.PROD.OUTLOOK.COM (10.163.198.161) To BY1PR0701MB1724.namprd07.prod.outlook.com (10.162.111.143) X-MS-Office365-Filtering-Correlation-Id: 916a22af-2ed4-4730-2444-08d3a4d6466b X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1724; 2:yjUoHCbMLoyMkJH0fyAsNtA0q4oMSgNEed6vq4YLuj+Ax25W3t9Yoj9kOz3s1F8kxlIWq855Ofo0GALlXaN57f/MKlO7EbpbBBuZVV1QmQAouCJLlHATyUFoibmh9SZaCpiDe8kTb8vqV4vyS1REGO30KzKtbwDqABZ/kxMCzlOIMSSlpQlX3yJqUZOS8+8l; 3:NaN6B3Z+ZS462f6B1roVccT9xpkpsP6kRx/n7RS/hxUAgJZNQMR/UzNd4QY4N6wHvzNsWc4TGfu28LZjhLx1alewlyZqgleDecOpyC6FFO8vo7SBI5dk/kWJYMbefjEy X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY1PR0701MB1724; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1724; 25:u/J8DJpPhv1RU20ncWxOvod2GC71uSy3fTJdX6BTzbuWuXg2/eyYVxaudu0CZGdg/+IBEaStbLKvRi1ZY5ZVVL9L7Tr19Uegtww8bew1nOp5/kaMcB4aXT0V0+9yM3feHpY0xoh33JlYWY9N9kTAZF5BYbcIJs6nskDpnOK44bLpw5AmPXYLhaSGIx13ErWftpAiGPgqTr/2Z5cR8cAFYYX0DcXYrQDW3HwbUqOPA1ozP3XYyMmMvuMuOqew8Y0wloObLL1z1eWg8nz/JX7mhwMDXB1j/+2lH136FzIRwkTq+AOr8GgfoCICg/hzK/QI4KSjRItmooFk9bdfzs37pMgRxUlkYBabNAfAJCMO+OwEjKws85nB0lkHpZjvrZckTo/WBTEE+Wh3tWnGb98eRtJtLjDlb5UTPGV01c8unKUrDemrtNkj+nopMZIHHybbvI25wGcy8vQH2KCRRycHDrA6vArh8XAWb2OC7RXMmDHRQpa+BIlf6RH5W5hEFyuP3AmT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zQwPbwe7NfpuBLMoDTxm8qCOKstfM2FSStM05HwY7sZa7MN3Yl686ssrnVyULhs1P6S1QjFx+fsKl2WVIxudny9gvaaL+9p3qUsksCLWkJQKDyy0CP8X3V+yIJBUIFBZBsZdoJ/8= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(788757137089); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001); SRVR:BY1PR0701MB1724; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0701MB1724; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1724; 4:PHncSZlntKsgjS69EFTmeq1vzBJTv+njHq/0VEgSmsKMY5u9LeG4M0BD/yg67uxN6Me4tPisTUDu0MsyoovE6izGx90tOwoEDwchJUpwz5bmrXQkkZXNdQEPCn7u5oXiEKwGxOWqGCJKeNgMD+BzJKF5a5fpNz805rVE8V8s4guYCQGJLJbG1TCjo66NHmzzWh7Nc+E14KVROX+XLIwdOnXutvQgwh8U2wck/2GvZoOQCXWuerw6j/RPqzjx2mVsOWH0BYCj83/9F+Cuk6bmXeDmpeHQI7b9ItfoIe7up3oi6SPD6NtmMKa+OaZG8Maui7xKwwTIYV3kTo9ZywWiyuMZI30dCSE1jQVvjK/BQNA9vUzCRFgEMjBlJwdpcbxDpSqcWGk+//1TJvkIiT8DmEMVLVXWr92LQB6uemgYB5E= X-Forefront-PRVS: 0994F5E0C5 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6069001)(7916002)(199003)(377424004)(377454003)(24454002)(189002)(6116002)(586003)(1076002)(3846002)(8676002)(68736007)(2950100001)(33656002)(4001350100001)(97736004)(81156014)(189998001)(23676002)(101416001)(93886004)(4326007)(7736002)(50466002)(66066001)(5009440100003)(305945005)(106356001)(81166006)(83506001)(47776003)(7846002)(15395725005)(50986999)(54356999)(76176999)(19580405001)(77096005)(92566002)(61506002)(19580395003)(105586002)(15975445007)(2906002)(9686002)(110136002)(42186005)(2870700001)(7099028)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR0701MB1724; H:localhost.localdomain; 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: =?utf-8?B?MTtCWTFQUjA3MDFNQjE3MjQ7MjM6MjBGZzFQUFVubW5YZVlaUy9IZjA2REtZ?= =?utf-8?B?YTcwaGVJaHlFZUtHTHhCOE45VXRMdVpJaXViLzVZUGZTUXBOMzVlaWx3SFUw?= =?utf-8?B?UWV3N0t4Qk94UW9lTFlSRGFzODNiL3A1NVhvVngyeXJ2cnQ4bXU0TU1MY1Fk?= =?utf-8?B?akFZSnZjYWRnUXFYODBxUHgwOWE0ODFtZWZVMkJVSUNkQkFxMnBWMzhoK3Zs?= =?utf-8?B?ZkVKQWd0dWswbkFnYVVYUGorL0pvcjlwOGpnKzJ0dWV4d0kxbk5tazF1d3JL?= =?utf-8?B?VUcveDRkbU03UGdkcFhkU0FvaElXcUFlcU4xOEk5ZkU1ZDhGY2wyam1hZEth?= =?utf-8?B?MW5ONmQzTXd1c0ZVK2JzT0dCd0dCU1VlV1dCdGZNNWJ2Vjg5YU9GZ1BJZFR3?= =?utf-8?B?YWRMWk1kVUtlSlNpdklMdkF1UnQxM3N3aTBHSVBsdlpoc05HanlXWFNOaU81?= =?utf-8?B?bytaSjVRbDgrK0R1V2hjT3I5QjgrZW8yNzhiZk1PUXVUa1R3MEIvQVBZS3FO?= =?utf-8?B?dUo2dUJXelVzRWhlVVZ1aVk3aEQ3MVBwSUtRaXdOY0M1QVlwTWdZUFRHYVNj?= =?utf-8?B?NU1menAzZFpmZmpFZFR5cjdyOCtJOFlBQUtUeEZNeHQwSHVwU2hHNkFxQXdt?= =?utf-8?B?UkNMQ2l3bUx0a1hDTXhIZVRXcG9VUHh2NGVkTncwc3pyY1RMTlJE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RW2l/rMDyz1t2gQ3kDAp4a2lR/vyp0Hw05PHWAR2nG0N2d8QcA+ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jul 2016 13:14:17.0510 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0701MB1724 Subject: Re: [dpdk-dev] [PATCH v3] mempool: replace c memcpy code semantics with optimized rte_memcpy X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2016 13:14:23 -0000 On Tue, Jul 05, 2016 at 07:32:46PM +0800, Yuanhan Liu wrote: > On Tue, Jul 05, 2016 at 09:43:03AM +0100, Ferruh Yigit wrote: > > On 6/30/2016 6:28 PM, Thomas Monjalon wrote: > > > 2016-06-30 17:46, Jerin Jacob: > > >> Signed-off-by: Jerin Jacob > > >> Acked-by: Olivier Matz > > > > > > Applied, thanks > > > > > > > Hi Jerin, > > > > This commit cause a compilation error on target i686-native-linuxapp-gcc > > with gcc6. > > Besides that, I'm more curious to know have you actually seen any > performance boost? let me first address your curiosity, http://dpdk.org/dev/patchwork/patch/12993/( check the second comment) http://dpdk.org/ml/archives/dev/2016-June/042701.html Ferruh, I have tested on a x86 machine with gcc 6.1. I could n't see any issues with i686-native-linuxapp-gcc target Steps following to create gcc 6.1 toolchain https://sahas.ra.naman.ms/2016/05/31/building-gcc6-1-on-fedora-23/ (removed --disable-multilib to have support for -m32) ➜ [dpdk-master] $ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/opt/gcc-6.1.0/libexec/gcc/x86_64-pc-linux-gnu/6.1.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-6.1.0/configure --prefix=/opt/gcc-6.1.0 --enable-languages=c,c++ --enable-libmudflap --with-system-zlib Thread model: posix gcc version 6.1.0 (GCC) More over this issue seems like an issue from x86 rte_memcpy implementation. Jerin