From: Qiguo Chen <chen.qiguo@zte.com.cn>
To: sunyuechi@iscas.ac.cn, stanislaw.kardach@gmail.com,
stephen@networkplumber.org
Cc: dev@dpdk.org, bruce.richardson@intel.com,
Qiguo Chen <chen.qiguo@zte.com.cn>
Subject: [PATCH v2 0/1] Optimization Summary for RISC-V rte_memcpy
Date: Fri, 17 Oct 2025 17:36:16 +0800 [thread overview]
Message-ID: <20251017093617.1219267-1-chen.qiguo@zte.com.cn> (raw)
In-Reply-To: <20251016090934.1166954-2-chen.qiguo@zte.com.cn>
[-- Attachment #1.1.1: Type: text/plain, Size: 1008 bytes --]
Changes in v2:
1)Modify some codes and descriptions according to Sunyuechi's suggestions.
2)Removed benchmark_report.txt to avoid warnings.
[PATCH v1]
I've implemented optimizations to rte_memcpy targeting RISC-V architectures,
achieving an average 10%~15% reduction in execution time for data sizes between
129 to 1024 bytes( 1025~1600 gains little).
These enhancements draw inspiration from x86 implementations,
specifically focusing on:
1)Alignment Handling for Unaligned Scenarios
2)Vector Configuration Tuning
3)Strategic Prefetching with zicbop
- Patch 1: Cover letter
- Patch 2: Base implementation
- Patch 3: Benchmark report
Tested on Tested on SG2044 (VLEN=128)
Qiguo Chen (1):
riscv support rte_memcpy in vector
.mailmap | 1 +
config/riscv/meson.build | 14 ++
lib/eal/riscv/include/rte_memcpy.h | 310 ++++++++++++++++++++++++++++-
3 files changed, 323 insertions(+), 2 deletions(-)
--
2.21.0.windows.1
[-- Attachment #1.1.2: Type: text/html , Size: 1912 bytes --]
next prev parent reply other threads:[~2025-10-17 9:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-16 9:09 [PATCH v1 0/2] " Qiguo Chen
2025-10-16 9:09 ` [PATCH v1 1/2] riscv support rte_memcpy in vector Qiguo Chen
2025-10-17 5:29 ` sunyuechi
2025-10-17 10:10 ` chen.qiguo
2025-10-17 9:36 ` Qiguo Chen [this message]
2025-10-17 9:36 ` [PATCH v2 1/1] " Qiguo Chen
2025-10-16 9:09 ` [PATCH v1 2/2] benchmark report for rte_memcpy Qiguo Chen
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=20251017093617.1219267-1-chen.qiguo@zte.com.cn \
--to=chen.qiguo@zte.com.cn \
--cc=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
--cc=stanislaw.kardach@gmail.com \
--cc=stephen@networkplumber.org \
--cc=sunyuechi@iscas.ac.cn \
/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).