From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0095.outbound.protection.outlook.com [157.56.110.95]) by dpdk.org (Postfix) with ESMTP id 3FEA79247 for ; Sun, 6 Dec 2015 17:00:07 +0100 (CET) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@caviumnetworks.com; Received: from localhost.localdomain.localdomain (122.167.201.216) by BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) with Microsoft SMTP Server (TLS) id 15.1.331.20; Sun, 6 Dec 2015 16:00:02 +0000 From: Jerin Jacob To: Date: Sun, 6 Dec 2015 21:29:22 +0530 Message-ID: <1449417564-29600-1-git-send-email-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.1.0 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [122.167.201.216] X-ClientProxiedBy: PN1PR01CA0038.INDPRD01.PROD.OUTLOOK.COM (25.164.136.138) To BLUPR0701MB1714.namprd07.prod.outlook.com (25.163.85.140) X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 2:rttpKMQOx1l9NcY6Duh+nkf1DZWBQ+5jjzRENHaec9+qFNGTd1js824P7DWVAsFEPPZrj3c9N6IbOfHxEfGhwJmHWIYiJ1dCP4GbkMasPmEFth0G3vpuVTz5OTvC/T/vtwHgAyZKdiXjvimLWItskg==; 3:HYSakdk27vqJGBtOfh0A2Q8ioS417bws04CU0M8s5DnzKx87KuE03CM67wczOlEGsBM/dOja9vg0M+6zkVSt/fU8OxNQGlZcajPZxacvvFOlVNFyBypX2zCYJu/ytHk2; 25:Q7ZpNMGW9dqwGraf5v8EYLoBy5hi9TIbOFEJyt0pP/QigdCezdNkQM/qCmx32BkxeXI576rkihYH3oOb1oTJQxrSSCULCkWh3tirvI8hyopLKUHQK0IY5C/HyY4giDEAp6D4ZMWjxL0hS2gnXi8dLaRfpQPDxyayJTw8Ir5tT9phccWxjAtuMX4o2Ly6D9YJCYXut2D+QKy78bC+WDvW21Hl7g34CfdAJW3NOXL5dCZhcKut/6KY9UJBuNt2WyMaE4GzEzrkoe+kiSszIyhlKg== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 20:qkgCz6FejHd7CpCqs1wqfdcuk6IjDfmJsIwjCuP+thwINmgk5skDziAhW2LeulV8Zy3UmNeNGdMBzfA86nCyWInYmw7bDrEZHMY6QVmqnKa2wvYbhqnjFr7xC+P2USBxRbj0BQz1/uGKRuKXhUYqC3eLqEUsMF8i8Bt2GDiPMesnlMhuHEUa9GcQuPDgbAWlw4NCuJTDHfe78BsScCnqTQQMCgfVWHApqidcRhpeN8DBBtiYFVKOUBbu444Hg4NJiieS2UoKtiDembmMXtPlXadNOhfMPCzb7DboE2sZCc8cuim2qS5dKZ/qmTzgg1zkB4Nd+ELLBLM3XFVnOhWHlZ5t9ccgSUdO83XwOVgOoBvfmyKMm0DR9FhztIblg/FBg5lctsPuAIrycTaeSdm1nz2Rafra4n7oyfkL0ftAnNe4rkQBRGGLwANT/JdlkNUbjvC0I+9H6Xx7m1E/uCG3+rc0zW/HZ0buhlOTD5MrM4jIpKSM4CTFCCfxRIOqWcSWPvMNgyjb9kCA0oTQMpndZXXIDWjt8XZEHtc2M3uBTbfyeR0t6qwCoqi++ZUw2ERGn6JATQ/iabh6nGalHgDn8dBLqzoxiamQLRPb6K83nH8= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(3002001)(10201501046); SRVR:BLUPR0701MB1714; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 4:Xcy/PVq9tb27kgawOTLPqJGYBgnm1c6YAozQHc70CHjT6UxYoRA6+shHZ7820eh9j8nci5kbOgffF2IkaUEIvGv4zi0FG66NQkEnI1zxZ7UK9eFW9BwDrfhC2xgGET5K+yq9UeLX4GkWcwraXtaTG7C52YN+yTll44UBkzRBYHIDCbGecGE3clEKIVDZLmA+6I54wPKi8Zivox2i1S0HG3HDkF7+sbNixa5cuntBUe+weD05l11LlvCLbfxsPIvlkv2LHbtHLaqXyUaJrPVEqppjPcCVf1Fln09KvOl+TBwnPDtLRqj6bnEN7t9jqT4fqbRa32MaMzwuWvXyTfukwe7VDl936kqy5ISddNxEK035TTz2co0I4N0HcEt6uTYQ X-Forefront-PRVS: 0782EC617F X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(6069001)(199003)(189002)(50466002)(2351001)(40100003)(92566002)(86362001)(5004730100002)(586003)(1096002)(4001430100002)(6116002)(3846002)(110136002)(5008740100001)(105586002)(97736004)(107886002)(5001960100002)(87976001)(81156007)(101416001)(106356001)(33646002)(189998001)(50226001)(66066001)(77096005)(122386002)(5003940100001)(229853001)(50986999)(48376002)(42186005)(47776003)(36756003)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1714; H:localhost.localdomain.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: caviumnetworks.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1714; 23:O9bJaT7jj1hANKcVWqO+hxeOrttAU0NsbmvPk9N?= =?us-ascii?Q?F9xjiyCyX+EckpJh48GbYcZTCN5aipr7evU9vfFMPpKD5BtYuTX6cqLSfzgQ?= =?us-ascii?Q?XVeAMeZN11W/QAewjiy7MIQ1e17Imf1ipeiTE/YRvm/0khs00YgrLxikbhm2?= =?us-ascii?Q?B5gBFIMWVh0JyiPE5eT7eac9oQLv9V/WHGq2SniPXTO6usqNmutg9H9fD6iR?= =?us-ascii?Q?qAZNr7CYNw8LaoYmQKrYeoibpkiZ+B343dqcZx560d50b4Yt/ncuzeSp+HwY?= =?us-ascii?Q?mIXWENT41OkoX0jF79snO+z6h0lnNh7zfH5qU/k+5q/H+qH/RzHpzofPTd1N?= =?us-ascii?Q?o+XGOisqAzDSnFma/tLsZrcL2hn4DMCPuBU6awjJXobGoVYup06OI12vmpRI?= =?us-ascii?Q?OvmPkkmpPv0t7TfPwNW1K9LvS9QacT7u4AUuvDTWZr3dFyume9jqlDz99yPQ?= =?us-ascii?Q?dEwenG7QSkfr8iw9Wt3gSnxHWyzL3hPY6pOcNYiqJTNAbdfwXbtCCpjSvcd/?= =?us-ascii?Q?M4PtbVmbaa6uVDN0Z9UjylXEkbl6rQi1+7hFQzZsnv+H/81lJaFyc16vmTN6?= =?us-ascii?Q?J8gE58SD0kT3pnns2uBuX1XsApP0nbLK1OzLRVxbHqjF+WpcjkcS+IQ2AcQk?= =?us-ascii?Q?HHSQlPTeVzD8Ek07HCtjgw+12xXa32FJp6Jc6d/0QnmYaSI0hYBEwyAjeA9a?= =?us-ascii?Q?OONmhSFXU3v3ZYitwtx3KV6srI7pl4j+wdtvZRynttgYusRHmN4mT8Hbe4L9?= =?us-ascii?Q?kCEbCl0z00pBVm1eSNRwq0qp0T+Bp9Rmiy3m7bf4nV9AeS7oqLNxuM6BnkvE?= =?us-ascii?Q?YWLQAUF/vmdk+hle+cDig8neLBNrUc3r7//J+dyFHeZDzN9/hXLd0Sd7+CIr?= =?us-ascii?Q?KZYSfELN6Gw0MNyitjEZR2KA0AvIGwu3OlQwfDN51HdlvtXQsGesVgkGozhj?= =?us-ascii?Q?Ukfx9CA9rOopQ1acdMJ80jeQPR28G9GrZwfw3vm7BHBI5gGRdPPAyN/shIy2?= =?us-ascii?Q?XE+siQdlNOIhL01XjvfA4EzCqzmjUt9m4o6nhei45e2fWig=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 5:Mi6f862HP4u9BK2mtWbLReeixUU4MwePgUarEaW5kHMkduKAst9CA0hTgxBfdjqimeDNSq8S5sljGPAfQjxzj45VRbLyonkUDANmGEgfng2o60J5oeCONWIgR8eD9fSukOYvAblWyFPqP1vKoNAtQw==; 24:+F7ZoO3hnbPyIA2OH9hNxi/q40kviVPjjoJH8OUL9UG55rQzIn8l6koLg+lQMyozduqWJtsE0SfPoYJkrh2My/5gocmS/LvD/jekNrs+TnY= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Dec 2015 16:00:02.1622 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1714 Subject: [dpdk-dev] [PATCH 0/2] fix performance/cache resource issues with 128-byte cache line targets 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: Sun, 06 Dec 2015 16:00:07 -0000 This patchset fixes performance/cache resource issues with 128-byte cache line targets found in mbuf and bitmap DPDK libraries Currently, we have two DPDK targets(ThunderX and ppc_64) which are based on 128-bytes cache line size target. This patchset doesn't introduce any performance degradation for 64-bytes cache line size targets. Jerin Jacob (2): mbuf: fix performance/cache resource issue with 128-byte cache line targets bitmap: optimize for 128-bytes cache line targets app/test/test_mbuf.c | 4 ++++ .../linuxapp/eal/include/exec-env/rte_kni_common.h | 4 ++++ lib/librte_mbuf/rte_mbuf.h | 2 ++ lib/librte_sched/rte_bitmap.h | 12 +++++++++--- 4 files changed, 19 insertions(+), 3 deletions(-) -- 2.1.0