From: Pavel Begunkov <asml.silence@gmail.com>
To: vitalif@yourcmc.ru, io-uring@vger.kernel.org
Subject: Re: io_uring zero-copy send test results
Date: Sun, 6 Apr 2025 23:01:50 +0100 [thread overview]
Message-ID: <d7a31a1e-87bd-4a3b-abbb-f1e26b2a03f8@gmail.com> (raw)
In-Reply-To: <f7e03e2c113fbbf45a4910538a9528ef@yourcmc.ru>
On 4/6/25 22:08, vitalif@yourcmc.ru wrote:
> Hi again!
>
> More interesting data for you. :-)
>
> We tried iommu=pt.
What kernel version you use? I'm specifically interested whether it has:
6fe4220912d19 ("io_uring/notif: implement notification stacking")
That would explain why it's slow even with huge pages.
...
> Xeon Gold 6342 + Mellanox ConnectX-6 Dx
>
> 4096 8192 10000 12000 16384 32768 65435
> zc MB/s 2060 2950 2927 2934 2945 2945 2947
> zc CPU 99% 62% 59% 29% 22% 23% 11%
> send MB/s 2950 2949 2950 2950 2949 2949 2949
> send CPU 64% 44% 50% 46% 51% 49% 45%
>
> Xeon Gold 6342 + Mellanox ConnectX-6 Dx + iommu=pt
>
> 4096 8192 10000 12000 16384 32768 65435
> zc MB/s 2165 2277 2790 2802 2871 2945 2944
> zc CPU 99% 89% 75% 65% 53% 34% 36%
> send MB/s 2902 2912 2945 2943 2927 2935 2941
> send CPU 80% 63% 55% 64% 78% 68% 65%
>
> Here, disabling iommu actually makes things worse - CPU usage increases in all tests. The default mode is optimal.
That doesn't make sense. Do you see anything odd in the profile?
--
Pavel Begunkov
next prev parent reply other threads:[~2025-04-06 22:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-05 16:58 io_uring zero-copy send test results vitalif
2025-04-05 18:11 ` Pavel Begunkov
2025-04-05 21:46 ` vitalif
2025-04-06 21:54 ` Pavel Begunkov
2025-04-06 21:08 ` vitalif
2025-04-06 22:01 ` Pavel Begunkov [this message]
2025-04-08 12:43 ` vitalif
2025-04-09 9:24 ` Pavel Begunkov
2025-04-18 8:50 ` vitalif
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=d7a31a1e-87bd-4a3b-abbb-f1e26b2a03f8@gmail.com \
--to=asml.silence@gmail.com \
--cc=io-uring@vger.kernel.org \
--cc=vitalif@yourcmc.ru \
/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