From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=LQeDf4GwNJALg3/laCE8DWWJghWTW+NCIxghKGQMoDw=; b=k68qNP1cOrKY7LDip0HDl/jMaRbfMbDKV0aTq0TkW4sN3ZKnKPTlPtY2RvoU39URKs v735Rofo6IK9fTDgVCn7Yuo9C6rJSPpYOQNFbNCNKe+5PRHnVVdMkge2g1v/MyaGpfU2 pmtVPcOnHK9nc7B8365J5wwMQLJ4SDxB80g+Xb7rn+YiWC2W83/4cjRZcABRdvJtxaBW g1iBaRnj5HIlgQKcoTpCQ6MGGYTCRpSyZc23VdnqwlFgurTpNwSFeELC5u5OLthkprsD oKcHSKm3javpSsjeOsKo62jnq8tPBipU2pBwyodmkOW9FW1sz2d4kXH9U5Okt433ivZS o+eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=LQeDf4GwNJALg3/laCE8DWWJghWTW+NCIxghKGQMoDw=; b=Q4WgyILSte+2yPnA2Vf/bMGwGybAuj0hyPL2qVLgD7y7HgqJtXDvg9BsoLc9g2F5QN 2RMd/k0qklHnoVpu4dew57d2Y7HCB16SNX8fgTPYCcf75VabdGRodao4h+6IeQuKVt+6 oRy4Z2bYO+w5I1ZmYpeQ7noFKEMdzttOFXgeVf4DMH7cpiE4N1/t+8oGc+H9w85zEKMv dAgpM4aefLPr6GGPWnx3B+5XU/6eNPJWWGhVYtCuqjhSCMt5dcg1VYfbbgihR6hog/yf jfnFE21vAk5TomIRjv3ifL11JN5peNaycDTrny7fu9qcvOvKGo5+sQXSGqlufEkOjlsY YMEQ== X-Gm-Message-State: ALyK8tLuIf8s8W1QA5nIjcHz0hSNzi/hmmUQxhR0P9M+CcDubc2DDV7FXHetLN9lvDhioEl5 X-Received: by 10.28.105.216 with SMTP id z85mr8099858wmh.75.1465931955689; Tue, 14 Jun 2016 12:19:15 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id m87sm4195887wmi.22.2016.06.14.12.19.14 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 14 Jun 2016 12:19:14 -0700 (PDT) From: Thomas Monjalon To: cristian.dumitrescu@intel.com, Guruprasad Mukundarao Cc: dev@dpdk.org, Jasvinder Singh Date: Tue, 14 Jun 2016 21:19:14 +0200 Message-ID: <1524427.y1CRJHmLpk@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1465574105-148429-1-git-send-email-jasvinder.singh@intel.com> 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-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Subject: Re: [dpdk-dev] [PATCH v4] ip_pipeline: add script file for pipeline to core mappings 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: Tue, 14 Jun 2016 19:19:16 -0000 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.