From: Marek Szyprowski <m.szyprowski@samsung.com>
To: Barry Song <21cnbao@gmail.com>, Qinxin Xia <xiaqinxin@huawei.com>
Cc: jonathan.cameron@huawei.com, wangzhou1@hisilicon.com,
iommu@lists.linux.dev, prime.zeng@huawei.com,
fanghao11@huawei.com, linux-kernel@vger.kernel.org,
linuxarm@huawei.com
Subject: Re: [PATCH v7 0/3] dma-mapping: benchmark: Add support for dma_map_sg
Date: Fri, 6 Mar 2026 08:54:47 +0100 [thread overview]
Message-ID: <636e131d-0a1c-4b88-8587-e56ff57540c0@samsung.com> (raw)
In-Reply-To: <CAGsJ_4wDs1f=oPzBkHHfRQp32EoGOV6JwhFYxZX=tBXyN-AFWg@mail.gmail.com>
On 25.02.2026 11:42, Barry Song wrote:
> On Wed, Feb 25, 2026 at 5:38 PM Qinxin Xia <xiaqinxin@huawei.com> 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 benchmark(SG_MODE): 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 benchmark(SINGLE_MODE): 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
>>
> + Marek,
>
> Hi Marek,
>
> Would you be willing to pick up Qinxin's series into the dma-mapping
> tree? I think that would be helpful, at least for my
> "dma-mapping: arm64: support batched cache sync" series[1] and for
> potential further optimizations to dma_map_sg().
>
> [1] https://lore.kernel.org/lkml/20251226225254.46197-1-21cnbao@gmail.com/
I would be easier for me to track that work if I were on CC:, but I will
take it.
Best regards
--
Marek Szyprowski, PhD
Samsung R&D Institute Poland
next prev parent reply other threads:[~2026-03-06 7:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-25 9:37 Qinxin Xia
2026-02-25 9:37 ` [PATCH v7 1/3] dma-mapping: benchmark: modify the framework to adapt to more map modes Qinxin Xia
2026-02-25 9:37 ` [PATCH v7 2/3] dma-mapping: benchmark: add support for dma_map_sg Qinxin Xia
2026-02-25 9:38 ` [PATCH v7 3/3] tools/dma: Add dma_map_sg support Qinxin Xia
2026-02-25 10:42 ` [PATCH v7 0/3] dma-mapping: benchmark: Add support for dma_map_sg Barry Song
2026-03-06 7:54 ` Marek Szyprowski [this message]
[not found] ` <CGME20260306085057eucas1p176a39f28514d3c7481f5813d597086ca@eucas1p1.samsung.com>
2026-03-06 8:50 ` Marek Szyprowski
2026-03-07 7:46 ` 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=636e131d-0a1c-4b88-8587-e56ff57540c0@samsung.com \
--to=m.szyprowski@samsung.com \
--cc=21cnbao@gmail.com \
--cc=fanghao11@huawei.com \
--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=wangzhou1@hisilicon.com \
--cc=xiaqinxin@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®