DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Hunt, David" <david.hunt@intel.com>
To: "Sexton, Rory" <rory.sexton@intel.com>, dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH v2 3/3] doc: update vm_power_manager cmdline options in doc
Date: Thu, 25 Jun 2020 11:21:21 +0100	[thread overview]
Message-ID: <40553267-8d8d-cee8-37cc-8e9249a9b529@intel.com> (raw)
In-Reply-To: <20200518103902.27927-3-rory.sexton@intel.com>


On 18/5/2020 11:39 AM, Sexton, Rory wrote:
> Signed-off-by: Rory Sexton <rory.sexton@intel.com>
> ---
>   doc/guides/sample_app_ug/vm_power_management.rst | 13 +++++--------
>   1 file changed, 5 insertions(+), 8 deletions(-)
>
> diff --git a/doc/guides/sample_app_ug/vm_power_management.rst b/doc/guides/sample_app_ug/vm_power_management.rst
> index e98277ccb..dd0f46158 100644
> --- a/doc/guides/sample_app_ug/vm_power_management.rst
> +++ b/doc/guides/sample_app_ug/vm_power_management.rst
> @@ -410,20 +410,17 @@ There are a couple of command line parameters for enabling the out-of-band
>   monitoring of branch ratios on cores doing busy polling using PMDs as
>   described below:
>   
> -``--core-list {list of cores}``
> +``--core-branch-ratio {list of cores}:{branch ratio for listed cores}``
>      Specify the list of cores to monitor the ratio of branch misses
>      to branch hits.  A tightly-polling PMD thread has a very low
>      branch ratio, therefore the core frequency scales down to the
>      minimum allowed value. On receiving packets, the code path changes,
>      causing the branch ratio to increase. When the ratio goes above
>      the ratio threshold, the core frequency scales up to the maximum
> -   allowed value.
> -
> -``--branch-ratio {ratio}``
> -   Specify a floating-point number that identifies the threshold at which
> -   to scale up or down for the given workload. The default branch ratio
> -   is 0.01 and needs adjustment for different workloads.
> -
> +   allowed value. The specified branch-ratio is a floating point number
> +   that identifies the threshold at which to scale up or down for the
> +   elements of the core-list. If not included the default branch ratio of
> +   0.01 but will need adjustment for different workloads

Could I suggest adding something along the following lines for further info?

"This parameter can be used multiple times for different sets of cores.
The branch ratio mechanism can also be useful for non-PMD cores and 
hyper-threaded
environments where C-States are disabled."


Reviewed-by: David Hunt <david.hunt@intel.com>






  reply	other threads:[~2020-06-25 10:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-18 10:39 [dpdk-dev] [PATCH v2 1/3] examples/vm_power_manager: Make branch ratio threshold per core Sexton, Rory
2020-05-18 10:39 ` [dpdk-dev] [PATCH v2 2/3] examples/vm_power_manager: Allowing power managing of idle cores Sexton, Rory
2020-06-25 10:17   ` Hunt, David
2020-05-18 10:39 ` [dpdk-dev] [PATCH v2 3/3] doc: update vm_power_manager cmdline options in doc Sexton, Rory
2020-06-25 10:21   ` Hunt, David [this message]
2020-06-25 10:14 ` [dpdk-dev] [PATCH v2 1/3] examples/vm_power_manager: Make branch ratio threshold per core Hunt, David

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=40553267-8d8d-cee8-37cc-8e9249a9b529@intel.com \
    --to=david.hunt@intel.com \
    --cc=dev@dpdk.org \
    --cc=rory.sexton@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).