From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0072.outbound.protection.outlook.com [157.56.110.72]) by dpdk.org (Postfix) with ESMTP id ABCC19583 for ; Mon, 7 Dec 2015 08:27:15 +0100 (CET) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@caviumnetworks.com; Received: from localhost.localdomain (122.167.201.216) by BY1PR0701MB1723.namprd07.prod.outlook.com (10.162.111.142) with Microsoft SMTP Server (TLS) id 15.1.337.19; Mon, 7 Dec 2015 07:27:10 +0000 Date: Mon, 7 Dec 2015 12:56:46 +0530 From: Jerin Jacob To: Thomas Monjalon Message-ID: <20151207072644.GA3950@localhost.localdomain> References: <1449417564-29600-1-git-send-email-jerin.jacob@caviumnetworks.com> <1631625.Dg38D5sl3P@xps13> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1631625.Dg38D5sl3P@xps13> User-Agent: Mutt/1.5.23 (2014-03-12) X-Originating-IP: [122.167.201.216] X-ClientProxiedBy: PN1PR01CA0041.INDPRD01.PROD.OUTLOOK.COM (25.164.136.141) To BY1PR0701MB1723.namprd07.prod.outlook.com (25.162.111.142) X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1723; 2:ZfVEV0/8tZzt6+jDoSSl1UQ3qBzYVo8StJAMWSoKZteudrdIok3xC8FgkD02tVwwLXWol6BwAOfn9f6jNLw7PzCN7emjTq1SPRImMjtGrEY0uuUmtcGecHbtCjD7anQHffWZ//zWbv0HE+SDds3U5Q==; 3:z1EZ30lNf50yU0rpPCwX3pOr+rl+T39B/NDtY3VfAuYH21KAdw9D08U1N9HGiLxUOQ+Y+IoZcB7Tb8mY1YKcPlNR+a9C53YVZSBDEUkPBNHbpr9NgaQqcA2p65ugGlBU; 25:vWJbBiLgGW4btrGTYQGfYjG+rw9mb1ZA/DBrLBLNItmuUH0JAEo+bfsV3NX6CS5jCQGE3Q3/Bisytqx3EMhnLrjirnDA2P8ymv3cKm0mt+lbe/wL9ws3j/v83lbRqrUAPx83tWAoC1+cRoNT/dijTPG9yWN+P+5XSLZAYMycdhqbTbi9kHdKyAZSaHHpoRcKfshuzAp2di1bo3bHqyeNgltcL2Mktm3bYpdVccL0O8OXislneYYlioKbGveRRhIF1KGiTtO/M9tMbGNaPFKxSQ== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY1PR0701MB1723; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1723; 20:7CBJ38BIKe+TLUrZ65rI2ev2+RvbfcTLfjjGuuAzvuY9scGWBg+NValLNd/WdvMHygpywuW40rl73aJ6FqZbtinZsvuHL5w61qnY5WsTGzfbzsFFuuMvX47heWeuV6L1HFeIdzZjpONF4BOns4wSrl50PZPrCcv/SoHcY6oOd2S8MTzI1qUN1iAw0Ov0OhCenyvYj9Dk9GGfS58BavFYOb6J+A4/YDjHZkK3FzeT1P9j5nQuOupIz8K2xyhRVCVpW+mVyrvobMWUoqi3B6duFYi5U/3WkV7Qyk++/zTzBi1eX2eIXyHWiu2I5wMCtq0la14z2NqsNUkMPgJ3Ao71tjwKuZ4ZqlEY4wcqQQMpQr6HWMf5HhSiuHiEvx64f2CvG5v8hgPVYGWslrbsKGYNB2BynnR6QPmJ1cQAgheOlBI6T2bytV/4+FwceSDgwQmWYFZv2OpvYSKFvsc20I2mfzWRChXMVERhAp1vToW7SXek8VbxNuja22YI6utp6FaMJ9vR1hOb6McVZAfIBmrWGQnckMzfGvfTmSs1JhymKs4aDk6QqvnUmZEraDrY3hyT/nQeCeX3YlKDdyQF/BaKHsdCMtAWsN3PCKpFWtylYOU= 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:BY1PR0701MB1723; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0701MB1723; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1723; 4:Hm+g6d08Djlbj4l/cVfsPRPl06wDBmTXYgC4ut7hXUGGi6A4U1ZjZgbgLL7X25h6dp5eBYLSU9CE3ZilscZ9rCiiMkCIvUoa7OL9d5r2UidCCDYkHJ49nmJ51nFPxGtmKaK63Jvona5ObZbygmpqr/fkfAYXfM6JzXfKy6STgPC3fUsR7BNayB70ddF66BxnZmXzTLa2qTQ1qeRSn59RmoNpdqAew0HDVLFrxuh6MwH6AEP5b+373RauROgM3KI8vz56LradHv+VA330ELweXEw9g4eCbzS1eobhB6WYjFkex/jAhnd2ni0WnQ8qyysAHHBynNQHxBGRk8zWEhq6IGoahZB3iaD/HlA4PAlBJmbctgy00L+W+eT8NxyI1BQe X-Forefront-PRVS: 078310077C X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(6069001)(377424004)(189002)(199003)(24454002)(15395725005)(4001350100001)(5001960100002)(97736004)(105586002)(110136002)(189998001)(81156007)(106356001)(66066001)(47776003)(46406003)(42186005)(61506002)(33656002)(87976001)(1076002)(50466002)(15975445007)(97756001)(77096005)(54356999)(76176999)(83506001)(19580395003)(101416001)(86362001)(6116002)(5004730100002)(23726003)(3846002)(40100003)(5008740100001)(92566002)(50986999)(586003)(122386002)(2950100001)(1096002)(7099028); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR0701MB1723; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A: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; BY1PR0701MB1723; 23:PFxCuNlYeNke8lk1/BFMwpSLjRBBzGRB0v9JpnZ?= =?us-ascii?Q?CGLvgwL/06nCqVC19oZh2prJMzUkIgBMNV+8FuWZpulLz9Bq8yYFjTPrl3TE?= =?us-ascii?Q?6PweIzARnsRh/fPCEUThnPP4oW5b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BMEBrf2NhyzqDHrCPju74LknXBru5bsUv3oqVJMeFS2nQ/KpG?= =?us-ascii?Q?msDN8xOSu7HEs7TpPFBnRg9l/UFBKAuVXmQF5jC7LNGMRtB3l9pGrmyUm6oK?= =?us-ascii?Q?Mol7ru094FnjVqcauXc++nF9AB5HyAgUBVFhWNSWwm9FPNzpsrhqmR17s/Eq?= =?us-ascii?Q?DHsX8cWcRdUiyQO0qD51eYFRi0v4RnewaAf0L?= X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1723; 5:y/Hkq9DjEzI3BTvnBepE2ME/wBC0lJEThfbeEO6jOIt0SsRPnrslDhn8gGLtRwcswSPmpE4iHpEBUIo7qHhL7QJ46WI8Z9GJOhRc7H8I98HMxkp0g33Z3a3qVd6z86jqGCPIry5Vyms/TDFzxM6wqQ==; 24:gllzHzvTtWbQc0om2NWZmaGPC5xlbdLxi+txPmjnNUBb5JTSrAL/8EnsOXCIYLt58/ee51jOrBx67FNXIUWf9R4oYrP8KFhqZSe84omqa9Q= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Dec 2015 07:27:10.1720 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0701MB1723 Cc: dev@dpdk.org Subject: Re: [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: Mon, 07 Dec 2015 07:27:16 -0000 On Sun, Dec 06, 2015 at 05:30:50PM +0100, Thomas Monjalon wrote: > 2015-12-06 21:29, Jerin Jacob: > > 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. > > When introducing IBM Power8, we failed to clean the cache line size definition. > I promised to not forget this issue in this thread with Neil: > http://dpdk.org/ml/archives/dev/2014-December/009439.html > > It is defined in > config/defconfig_* > mk/machine/*/rte.vars.mk > mk/arch/*/rte.vars.mk > rte_memory.h > rte_kni_common.h > > It should be defined only in the config files. > When we will introduce a configure script, we should be able to detect it. > > Please Jerin, as ThunderX maintainer, may you help to fix this old mess? Yes Thomas, I will takeup this issue when we will have configure script. apart from that, content of the this patch will be still valid as the fix going to be generating cache line define from the config file. Jerin > Thanks