From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e23smtp02.au.ibm.com (e23smtp02.au.ibm.com [202.81.31.144]) by dpdk.org (Postfix) with ESMTP id D65E83239 for ; Thu, 31 Mar 2016 03:44:27 +0200 (CEST) Received: from localhost by e23smtp02.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 31 Mar 2016 11:44:25 +1000 Received: from d23dlp01.au.ibm.com (202.81.31.203) by e23smtp02.au.ibm.com (202.81.31.208) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 31 Mar 2016 11:44:24 +1000 X-IBM-Helo: d23dlp01.au.ibm.com X-IBM-MailFrom: chaozhu@linux.vnet.ibm.com X-IBM-RcptTo: dev@dpdk.org Received: from d23relay07.au.ibm.com (d23relay07.au.ibm.com [9.190.26.37]) by d23dlp01.au.ibm.com (Postfix) with ESMTP id 1DA862CE8057 for ; Thu, 31 Mar 2016 12:44:23 +1100 (EST) Received: from d23av04.au.ibm.com (d23av04.au.ibm.com [9.190.235.139]) by d23relay07.au.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u2V1iECQ2228602 for ; Thu, 31 Mar 2016 12:44:23 +1100 Received: from d23av04.au.ibm.com (localhost [127.0.0.1]) by d23av04.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u2V1hoAU025846 for ; Thu, 31 Mar 2016 12:43:50 +1100 Received: from ADMINIB2M8Q79C ([9.186.50.178]) by d23av04.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id u2V1hmbR024324; Thu, 31 Mar 2016 12:43:48 +1100 From: "Chao Zhu" To: "'Thomas Monjalon'" Cc: , "'David Marchand'" , "'Richardson, Bruce'" , "'Panu Matilainen'" References: <1458893513-22406-1-git-send-email-chaozhu@linux.vnet.ibm.com> <1458893513-22406-2-git-send-email-chaozhu@linux.vnet.ibm.com> <1697595.mIzdCROXzL@xps13> In-Reply-To: <1697595.mIzdCROXzL@xps13> Date: Thu, 31 Mar 2016 09:44:03 +0800 Message-ID: <000301d18aee$e86fddf0$b94f99d0$@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQItp83125RG13uAzzY6UC9jZLutHwFBFjJYAl3IpXQBmLfjAp6Q0QmA Content-Language: zh-cn X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 16033101-0005-0000-0000-000007363646 Subject: Re: [dpdk-dev] [PATCH 1/2] Fix CPU and memory parameters on IBM POWER8 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: Thu, 31 Mar 2016 01:44:28 -0000 Thomas, Seems I didn't get the messages from David. Anyway, I sent out an = updated patch. Thanks for reminder! -----Original Message----- From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]=20 Sent: 2016=C4=EA3=D4=C230=C8=D5 18:53 To: Chao Zhu Cc: dev@dpdk.org; David Marchand ; Richardson, Bruce ; Panu Matilainen = Subject: Re: [dpdk-dev] [PATCH 1/2] Fix CPU and memory parameters on IBM POWER8 2016-03-25 09:48, David Marchand: > On Fri, Mar 25, 2016 at 9:11 AM, Chao Zhu wrote: > > This patch fixes the max logic number and memory channel number=20 > > settings on IBM POWER8 platform. > > 1. The max number of logic cores of a POWER8 processor is 96. = Normally, > > there are two sockets on a server. So the max number of logic = cores > > are 192. So this parch set CONFIG_RTE_MAX_LCORE to 256. >=20 > This is a power8 configuration item, this should go to power8 config=20 > file, not common_base. >=20 > > 2. Currently, the max number of memory channels are hardcoded to 4. However, > > on a POWER8 machine, the max number of memory channels are 8. To = fix this, > > CONFIG_RTE_MAX_NCHANNELS is added to do the configuration. >=20 > I don't see any reason why we would need a max value for = force_nchannel. > We should just get rid of this check, this is an obscure parameter for = > most people, so people playing with it know what they are doing=20 > (hopefully ?). >=20 > On the other hand, if power8 has some specifics about it, maybe we=20 > should introduce some default value in a arch eal header for other=20 > dpdk components to use (like in mempool). > Thoughts ? Chao? We are running out of time for 16.04.