From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v4] ip_pipeline: add script file for pipeline to core mappings Date: Tue, 14 Jun 2016 21:19:14 +0200 Message-ID: <1524427.y1CRJHmLpk@xps13> References: <1464685085-95410-1-git-send-email-jasvinder.singh@intel.com> <1465574105-148429-1-git-send-email-jasvinder.singh@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org, Jasvinder Singh To: cristian.dumitrescu@intel.com, Guruprasad Mukundarao Return-path: Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id E76669AE6 for ; Tue, 14 Jun 2016 21:19:15 +0200 (CEST) Received: by mail-wm0-f42.google.com with SMTP id m124so4708462wme.1 for ; Tue, 14 Jun 2016 12:19:15 -0700 (PDT) In-Reply-To: <1465574105-148429-1-git-send-email-jasvinder.singh@intel.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" 2016-06-10 16:55, Jasvinder Singh: > From: Guruprasad Mukundarao >=20 > This script parses the application configuration file and detects all= the > pipelines specified therein, and then, it generates all the possible = mappings > of those pipelines on the specified CPU core-list. >=20 > As a result, each of the possible pipeline-to-core mappings is saved = as > separate output configuration file. For example- if input file is > edge_router_downstream.cfg with 3 pipeline (excluding pipeline 0) and= > core-list is =E2=80=9C1, 2=E2=80=9D, following combinations will be g= enerated- >=20 > Pipeline 1 Pipeline 2 Pipeline 3 > Core =3D 1 Core =3D 1 Core =3D 2 > Core =3D 1 Core =3D 2 Core =3D 1 > Core =3D 2 Core =3D 1 Core =3D 1 > Core =3D 2 Core =3D 2 Core =3D 1 > Core =3D 2 Core =3D 1 Core =3D 2 > Core =3D 1 Core =3D 2 Core =3D 2 > Core =3D C1 Core =3D C1H Core =3D C2 > Core =3D C1 Core =3D C2 Core =3D C1H > Core =3D C2 Core =3D C1 Core =3D C1H >=20 > This script will help users to analyse the performance of application= by > evaluating all the generated configuration files with different > pipelines-to-core mappings and obtaining the application configuratio= n file > with best performance. >=20 > To run the script, issue the following command; >=20 > ./pipeline-to-core-mapping.py -i -pc "sc" >=20 > Some optional arguments are as follows: > -h, --help show this help message and exit > -ht {ON,OFF}, --hyper-thread {ON,OFF} > enable/disable hyper threading. default is ON= > -nO, --no-output-file > disable output config file generation. Output= file > generation is enabled by default >=20 > Signed-off-by: Guruprasad Mukundarao > Acked-by: Cristian Dumitrescu Applied I am not sure we are still in the scope of an example here. ip_pipeline looks to be a complete DPDK application.