All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Dengdui Huang <huangdengdui@huawei.com>
Cc: <dev@dpdk.org>, <konstantin.ananyev@huawei.com>,
	<wathsala.vithanage@arm.com>, <lihuisong@huawei.com>,
	<fengchengwen@huawei.com>, <haijie1@huawei.com>,
	<liuyonglong@huawei.com>
Subject: Re: [PATCH] examples/l3fwd: add option to set refetch offset
Date: Fri, 10 Jan 2025 09:20:36 -0800	[thread overview]
Message-ID: <20250110092036.23a762dd@hermes.local> (raw)
In-Reply-To: <20250110093715.4044681-1-huangdengdui@huawei.com>

On Fri, 10 Jan 2025 17:37:15 +0800
Dengdui Huang <huangdengdui@huawei.com> wrote:

> The prefetch window depending on the HW platform. It is difficult to
> measure the prefetch window of a HW platform. Therefore, the prefetch
> offset option is added to change the prefetch window. User can adjust
> the refetch offset to achieve the best prefetch effect.
> 
> In addition, this option is used only in the main loop.
> 
> Signed-off-by: Dengdui Huang <huangdengdui@huawei.com>
> ---

This will make it slower for many platforms.
GCC will unroll a loop of fixed small size, which is what we want.

  parent reply	other threads:[~2025-01-10 17:20 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-25  7:53 [PATCH] examples/l3fwd: optimize packet prefetch Dengdui Huang
2024-12-25 21:21 ` Stephen Hemminger
2025-01-08 13:42 ` Konstantin Ananyev
2025-01-09 11:31   ` huangdengdui
2025-01-10  9:37 ` [PATCH] examples/l3fwd: add option to set refetch offset Dengdui Huang
2025-01-10 17:19   ` Stephen Hemminger
2025-01-14  9:23     ` huangdengdui
2025-01-10 17:20   ` Stephen Hemminger [this message]
2025-01-14  9:22     ` huangdengdui
2025-01-14 16:07       ` Stephen Hemminger
2025-01-14 16:11         ` Stephen Hemminger
2025-02-19 16:44   ` Konstantin Ananyev

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=20250110092036.23a762dd@hermes.local \
    --to=stephen@networkplumber.org \
    --cc=dev@dpdk.org \
    --cc=fengchengwen@huawei.com \
    --cc=haijie1@huawei.com \
    --cc=huangdengdui@huawei.com \
    --cc=konstantin.ananyev@huawei.com \
    --cc=lihuisong@huawei.com \
    --cc=liuyonglong@huawei.com \
    --cc=wathsala.vithanage@arm.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.