From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: cristian.dumitrescu@intel.com,
Guruprasad Mukundarao <guruprasadx.rao@intel.com>
Cc: dev@dpdk.org, Jasvinder Singh <jasvinder.singh@intel.com>
Subject: Re: [dpdk-dev] [PATCH v4] ip_pipeline: add script file for pipeline to core mappings
Date: Tue, 14 Jun 2016 21:19:14 +0200 [thread overview]
Message-ID: <1524427.y1CRJHmLpk@xps13> (raw)
In-Reply-To: <1465574105-148429-1-git-send-email-jasvinder.singh@intel.com>
2016-06-10 16:55, Jasvinder Singh:
> From: Guruprasad Mukundarao <guruprasadx.rao@intel.com>
>
> 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.
>
> 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 “1, 2”, following combinations will be generated-
>
> Pipeline 1 Pipeline 2 Pipeline 3
> Core = 1 Core = 1 Core = 2
> Core = 1 Core = 2 Core = 1
> Core = 2 Core = 1 Core = 1
> Core = 2 Core = 2 Core = 1
> Core = 2 Core = 1 Core = 2
> Core = 1 Core = 2 Core = 2
> Core = C1 Core = C1H Core = C2
> Core = C1 Core = C2 Core = C1H
> Core = C2 Core = C1 Core = C1H
>
> 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 configuration file
> with best performance.
>
> To run the script, issue the following command;
>
> ./pipeline-to-core-mapping.py -i <input_configuration_file> -pc "s<socket-id>c<core-id>"
>
> 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
>
> Signed-off-by: Guruprasad Mukundarao <guruprasadx.rao@intel.com>
> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Applied
I am not sure we are still in the scope of an example here.
ip_pipeline looks to be a complete DPDK application.
prev parent reply other threads:[~2016-06-14 19:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-06 18:32 [dpdk-dev] [PATCH] ip_pipeline: add scripts " Jasvinder Singh
2016-05-06 19:04 ` [dpdk-dev] [PATCH v2] ip_pipeline: add script " Jasvinder Singh
2016-05-31 8:58 ` [dpdk-dev] [PATCH v3] " Jasvinder Singh
2016-05-31 12:23 ` Mcnamara, John
2016-06-10 15:55 ` [dpdk-dev] [PATCH v4] " Jasvinder Singh
2016-06-14 19:19 ` Thomas Monjalon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1524427.y1CRJHmLpk@xps13 \
--to=thomas.monjalon@6wind.com \
--cc=cristian.dumitrescu@intel.com \
--cc=dev@dpdk.org \
--cc=guruprasadx.rao@intel.com \
--cc=jasvinder.singh@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).