From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerin Jacob Subject: [PATCH v2 0/4] fix performance/cache resource issues with 128-byte cache line targets Date: Thu, 10 Dec 2015 22:06:14 +0530 Message-ID: <1449765378-29563-1-git-send-email-jerin.jacob@caviumnetworks.com> References: <1449417564-29600-1-git-send-email-jerin.jacob@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain To: Return-path: Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0059.outbound.protection.outlook.com [207.46.100.59]) by dpdk.org (Postfix) with ESMTP id A1E048E60 for ; Thu, 10 Dec 2015 17:37:07 +0100 (CET) In-Reply-To: <1449417564-29600-1-git-send-email-jerin.jacob@caviumnetworks.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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. v1..v2 - Introduced new cache macro definitions as Suggested by Konstantin - Reduced the cache alignment requirement for 128-byte cache targets in slow-path data structures to save the memory - Verified x86(a 64byte cacheline target) does not have any impact on these changes by verifying the md5sum of app/test,app/testpmd, app/testacl binaries with or without this patch set Jerin Jacob (4): eal: Introduce new cache macro definitions mbuf: fix performance/cache resource issue with 128-byte cache line targets bitmap: optimize for 128-bytes cache line targets cache/slow path: reduce cache align requirement for 128-byte cache targets app/test/test_mbuf.c | 2 +- lib/librte_eal/common/include/rte_memory.h | 16 ++++++++++++++++ .../linuxapp/eal/include/exec-env/rte_kni_common.h | 4 +++- lib/librte_ether/rte_ethdev.h | 4 ++-- lib/librte_mbuf/rte_mbuf.h | 2 +- lib/librte_mempool/rte_mempool.h | 2 +- lib/librte_ring/rte_ring.h | 2 +- lib/librte_sched/rte_bitmap.h | 10 +++++----- 8 files changed, 30 insertions(+), 12 deletions(-) -- 2.1.0