From: Bruce Richardson <bruce.richardson@intel.com>
To: Khadem Ullah <14pwcse1224@uetpeshawar.edu.pk>
Cc: Ciara Loftus <ciara.loftus@intel.com>, <dev@dpdk.org>
Subject: Re: [PATCH 3/4] net/ice: remove SSE vector path
Date: Tue, 26 Aug 2025 13:05:26 +0100 [thread overview]
Message-ID: <aK2jBtI5qY4tnKEO@bricha3-mobl1.ger.corp.intel.com> (raw)
In-Reply-To: <CA++2-x4kcTQwBRKKvhqwjqMBQ2OAmiGtuagqSQ+6Tw74PRGRbg@mail.gmail.com>
On Tue, Aug 26, 2025 at 04:54:53PM +0500, Khadem Ullah wrote:
> On Tue, Aug 26, 2025 at 3:50 PM Bruce Richardson
> <[1]bruce.richardson@intel.com> wrote:
>
> > No problem.
> > BTW: Please don't top-post in replying - it's best practice to put
> > the reply below the text you are replying to. Thanks.
> Ohh, I got it :)
> I was triming the quotes when replying but in top-post format,
>
> will always try to avoid top-post in replying in future!
>
>
> > AVX2 was first available in systems starting in 2013, (and AMD
> systems
> > since 2015), so at this point it's been around a long time. The SSE
> code
> > paths in the drivers will only be used by systems which do not have
> AVX2 on
> > them - which should be relatively rare, I hope, at this point. There
> are no
> > features in the SSE driver that are not available in the AVX2 one,
> so, I'm
> > not aware of any reason why one would need to use the SSE code path
> in a
> > deployment of DPDK.
> Yes, I think all feaures in SSE do already exists in AVX2 paths.
> > Even without this patch, there will be no features added to the SSE
> code
> > paths in the drivers. Any new additions would just be to the AVX2 and
> > AVX-512 code paths. Even for systems without AVX2, if the SSE path is
> > removed the driver will fall-back to the scalar paths, which have far
> more
> > features available in them than the SSE codepaths, which were
> simplified for
> > performance reasons.
> Thanks for the update. I could not exaclty got the meaning of fall-back
> to the scalar path.
> Does that means that the driver automatically switches to the scalar
> path ?
> which is slower but includes all the necessary features that were
> simplified in the AVX2 path.
> I believe AVX2 provides an average performance much better for small
> frame or packet size (about 14 Gbps).
Yes, AXV2 and AVX-512 code paths have far higher performance than the
scalar paths. However, that performance comes at the cost of not supporting
all features. What the drivers then do at initialization time, is they
check the offloads requested by the app, and then select the highest
performance code path that can support those requested offloads.
The whole process should be transparent to the user - they just get the
best performance possible for their running conditions...
/Bruce
next prev parent reply other threads:[~2025-08-26 12:05 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-25 12:35 [PATCH 0/4] Remove SSE from some Intel drivers Ciara Loftus
2025-08-25 12:35 ` [PATCH 1/4] net/i40e: remove SSE vector path Ciara Loftus
2025-08-25 12:35 ` [PATCH 2/4] net/iavf: " Ciara Loftus
2025-08-25 12:35 ` [PATCH 3/4] net/ice: " Ciara Loftus
2025-08-26 7:31 ` Khadem Ullah
2025-08-26 7:54 ` Bruce Richardson
2025-08-26 9:29 ` Khadem Ullah
2025-08-26 10:50 ` Bruce Richardson
2025-08-26 11:54 ` Khadem Ullah
2025-08-26 12:05 ` Bruce Richardson [this message]
2025-08-26 12:38 ` Khadem Ullah
2025-08-26 12:02 ` Khadem Ullah
2025-08-25 12:35 ` [PATCH 4/4] doc: add release note entry for SSE removal Ciara Loftus
2025-08-25 13:20 ` Bruce Richardson
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=aK2jBtI5qY4tnKEO@bricha3-mobl1.ger.corp.intel.com \
--to=bruce.richardson@intel.com \
--cc=14pwcse1224@uetpeshawar.edu.pk \
--cc=ciara.loftus@intel.com \
--cc=dev@dpdk.org \
/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).