From: ALOK TIWARI <alok.a.tiwari@oracle.com>
To: Qinxin Xia <xiaqinxin@huawei.com>, baohua@kernel.org
Cc: yangyicong@huawei.com, hch@lst.de, iommu@lists.linux.dev,
jonathan.cameron@huawei.com, prime.zeng@huawei.com,
fanghao11@huawei.com, linux-kernel@vger.kernel.org,
linuxarm@huawei.com
Subject: Re: [PATCH v2 0/4] dma mapping benchmark: add support for dma_map_sg
Date: Tue, 6 May 2025 17:50:37 +0530 [thread overview]
Message-ID: <fd0dfb53-127f-4529-adf8-db03269d5798@oracle.com> (raw)
In-Reply-To: <20250506030100.394376-1-xiaqinxin@huawei.com>
On 06-05-2025 08:30, Qinxin Xia wrote:
> Modify the framework to adapt to more map modes, add benchmark
> support for dma_map_sg, and add support sg map mode in ioctl.
>
> The result:
> [root@localhost]# ./dma_map_benchmark -m 1 -g 8 -t 8 -s 30 -d 2
> dma mapping mode: DMA_MAP_SG_MODE
> dma mapping benchmark: threads:8 seconds:30 node:-1 dir:FROM_DEVICE granule/sg_nents: 8
> average map latency(us):1.4 standard deviation:0.3
> average unmap latency(us):1.3 standard deviation:0.3
> [root@localhost]# ./dma_map_benchmark -m 0 -g 8 -t 8 -s 30 -d 2
> dma mapping mode: DMA_MAP_SINGLE_MODE
> dma mapping benchmark: threads:8 seconds:30 node:-1 dir:FROM_DEVICE granule/sg_nents: 8
> average map latency(us):1.0 standard deviation:0.3
> average unmap latency(us):1.3 standard deviation:0.5
>
> ---
> Changes since V1:
> - Address the comments from Masami, added some comments and changed the unmap type to void.
> - Link: https://urldefense.com/v3/__https://lore.kernel.org/lkml/20250212022718.1995504-1-xiaqinxin@huawei.com/__;!!ACWV5N9M2RV99hQ!PZwCK7yspP9AzXLsodEKNp6_pWU8ir6IKfsJQJIpvfLQdOrNgjLpwNySORdXdT1JJFAbo82SMmIlnnYI3tSpGQ$
>
> Qinxin Xia (4):
> dma-mapping: benchmark: Add padding to ensure uABI remained consistent
> dma mapping benchmark: modify the framework to adapt to more map modes
> dma-mapping: benchmark: add support for dma_map_sg
> dma mapping benchmark:add support for dma_map_sg
I noticed the subject lines use both "dma-mapping" and "dma mapping" ?
Could we make them consistent?
>
> include/linux/map_benchmark.h | 46 +++-
> kernel/dma/map_benchmark.c | 222 ++++++++++++++++--
> .../testing/selftests/dma/dma_map_benchmark.c | 16 +-
> 3 files changed, 249 insertions(+), 35 deletions(-)
>
> --
> 2.33.0
>
>
Thanks,
Alok
next prev parent reply other threads:[~2025-05-06 12:21 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-06 3:00 Qinxin Xia
2025-05-06 3:00 ` [PATCH v2 1/4] dma-mapping: benchmark: Add padding to ensure uABI remained consistent Qinxin Xia
2025-05-07 1:52 ` Barry Song
2025-05-07 2:08 ` Barry Song
2025-05-07 9:10 ` Qinxin Xia
2025-05-07 9:09 ` Qinxin Xia
2025-05-06 3:00 ` [PATCH v2 2/4] dma mapping benchmark: modify the framework to adapt to more map modes Qinxin Xia
2025-05-07 2:30 ` Barry Song
2025-05-07 9:14 ` Qinxin Xia
2025-05-06 3:00 ` [PATCH v2 3/4] dma-mapping: benchmark: add support for dma_map_sg Qinxin Xia
2025-05-07 2:39 ` Barry Song
2025-05-07 9:17 ` Qinxin Xia
2025-05-06 3:01 ` [PATCH v2 4/4] dma mapping benchmark:add " Qinxin Xia
2025-05-07 2:44 ` Barry Song
2025-05-07 9:18 ` Qinxin Xia
2025-05-06 12:20 ` ALOK TIWARI [this message]
2025-05-06 12:25 ` [PATCH v2 0/4] dma mapping benchmark: add " Qinxin Xia
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=fd0dfb53-127f-4529-adf8-db03269d5798@oracle.com \
--to=alok.a.tiwari@oracle.com \
--cc=baohua@kernel.org \
--cc=fanghao11@huawei.com \
--cc=hch@lst.de \
--cc=iommu@lists.linux.dev \
--cc=jonathan.cameron@huawei.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxarm@huawei.com \
--cc=prime.zeng@huawei.com \
--cc=xiaqinxin@huawei.com \
--cc=yangyicong@huawei.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
all inboxes | Powered by JetHome®