From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 52BF94C91; Wed, 12 Sep 2018 12:15:46 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Sep 2018 03:15:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,364,1531810800"; d="scan'208";a="262797312" Received: from irsmsx108.ger.corp.intel.com ([163.33.3.3]) by fmsmga006.fm.intel.com with ESMTP; 12 Sep 2018 03:15:44 -0700 Received: from irsmsx112.ger.corp.intel.com (10.108.20.5) by IRSMSX108.ger.corp.intel.com (163.33.3.3) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 12 Sep 2018 11:15:43 +0100 Received: from irsmsx107.ger.corp.intel.com ([169.254.10.116]) by irsmsx112.ger.corp.intel.com ([169.254.1.163]) with mapi id 14.03.0319.002; Wed, 12 Sep 2018 11:15:43 +0100 From: "Iremonger, Bernard" To: "phil.yang@arm.com" , "dev@dpdk.org" CC: "gavin.hu@arm.com" , "stable@dpdk.org" Thread-Topic: [PATCH v2] app/testpmd: optimize membuf pool allocation Thread-Index: AQHUSjue4xbgIOGEYkWxENEvm3+asqTsbjHA Date: Wed, 12 Sep 2018 10:15:42 +0000 Message-ID: <8CEF83825BEC744B83065625E567D7C260CEF262@IRSMSX107.ger.corp.intel.com> References: <1535362398-6526-1-git-send-email-phil.yang@arm.com> <1536717266-6363-1-git-send-email-phil.yang@arm.com> In-Reply-To: <1536717266-6363-1-git-send-email-phil.yang@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMmY4ZTdmZjMtMzM1Ny00NDQyLWE1YTItYmI0ZTMyOTc5NDQ3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoib2NvQ2R4YVRSSkRrM2FyRmNsRmdZWjJjbmk3c2NFcmh2RGpLWGhVUzVPZGEzdG9ZbWJjOVh2Q3dmTDNUYkRzbiJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-stable] [PATCH v2] app/testpmd: optimize membuf pool allocation X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Sep 2018 10:15:46 -0000 > -----Original Message----- > From: phil.yang@arm.com [mailto:phil.yang@arm.com] > Sent: Wednesday, September 12, 2018 2:54 AM > To: dev@dpdk.org > Cc: Iremonger, Bernard ; gavin.hu@arm.com; > stable@dpdk.org; phil.yang@arm.com > Subject: [PATCH v2] app/testpmd: optimize membuf pool allocation >=20 > By default, testpmd will create membuf pool for all NUMA nodes and ignore= EAL > configuration. >=20 > Count the number of available NUMA according to EAL core mask or core lis= t > configuration. Optimized by only creating membuf pool for those nodes. >=20 > Fixes: c9cafcc ("app/testpmd: fix mempool creation by socket id") >=20 > Signed-off-by: Phil Yang > Acked-by: Gavin Hu Acked-by: Bernard Iremonger