From: Cong Wang <xiyou.wangcong@gmail.com>
To: Xin Long <lucien.xin@gmail.com>
Cc: network dev <netdev@vger.kernel.org>,
"David S . Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>,
Eric Dumazet <edumazet@google.com>,
Paolo Abeni <pabeni@redhat.com>, Moritz Buhl <mbuhl@openbsd.org>,
Tyler Fanelli <tfanelli@redhat.com>,
Pengtao He <hepengtao@xiaomi.com>,
linux-cifs@vger.kernel.org, Steve French <smfrench@gmail.com>,
Namjae Jeon <linkinjeon@kernel.org>,
Stefan Metzmacher <metze@samba.org>,
Paulo Alcantara <pc@manguebit.com>, Tom Talpey <tom@talpey.com>,
kernel-tls-handshake@lists.linux.dev,
Chuck Lever <chuck.lever@oracle.com>,
Jeff Layton <jlayton@kernel.org>,
Steve Dickson <steved@redhat.com>, Hannes Reinecke <hare@suse.de>,
Alexander Aring <aahringo@redhat.com>,
Sabrina Dubroca <sd@queasysnail.net>,
Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>,
Daniel Stenberg <daniel@haxx.se>,
Andy Gospodarek <andrew.gospodarek@broadcom.com>
Subject: Re: [PATCH net-next 0/5] net: implement the QUIC protocol in linux kernel
Date: Fri, 13 Sep 2024 18:05:41 -0700 [thread overview]
Message-ID: <ZuThZdPILnCKpOmO@pop-os.localdomain> (raw)
In-Reply-To: <cover.1725935420.git.lucien.xin@gmail.com>
On Mon, Sep 09, 2024 at 10:30:15PM -0400, Xin Long wrote:
> 4. Performance testing via iperf
>
> The performance testing was conducted using iperf [5] over a 100G
> physical NIC, evaluating various packet sizes and MTUs:
>
> - QUIC vs. kTLS:
>
> UNIT size:1024 size:4096 size:16384 size:65536
> Gbits/sec QUIC | kTLS QUIC | kTLS QUIC | kTLS QUIC | kTLS
> ────────────────────────────────────────────────────────────────────
> mtu:1500 1.67 | 2.16 3.04 | 5.04 3.49 | 7.84 3.83 | 7.95
> ────────────────────────────────────────────────────────────────────
> mtu:9000 2.17 | 2.41 5.47 | 6.19 6.45 | 8.66 7.48 | 8.90
>
> - QUIC(disable_1rtt_encryption) vs. TCP:
>
> UNIT size:1024 size:4096 size:16384 size:65536
> Gbits/sec QUIC | TCP QUIC | TCP QUIC | TCP QUIC | TCP
> ────────────────────────────────────────────────────────────────────
> mtu:1500 2.17 | 2.49 3.59 | 8.36 6.09 | 15.1 6.92 | 16.2
> ────────────────────────────────────────────────────────────────────
> mtu:9000 2.47 | 2.54 7.66 | 7.97 14.7 | 20.3 19.1 | 31.3
>
>
> The performance gap between QUIC and kTLS may be attributed to:
>
> - The absence of Generic Segmentation Offload (GSO) for QUIC.
> - An additional data copy on the transmission (TX) path.
> - Extra encryption required for header protection in QUIC.
> - A longer header length for the stream data in QUIC.
>
This is not appealing.
However, I can offer you one more possible advantage of in-kernel QUIC.
You can think about adding iouring support for QUIC socket, because that
could possibly chain the socket fastpath operations together which opens
the door for more optimization.
Just my two cents.
Thanks!
next prev parent reply other threads:[~2024-09-14 1:05 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-10 2:30 [PATCH net-next 0/5] net: implement the QUIC protocol in linux kernel Xin Long
2024-09-10 2:30 ` [PATCH net-next 1/5] net: define IPPROTO_QUIC and SOL_QUIC constants for QUIC protocol Xin Long
2024-09-10 2:30 ` [PATCH net-next 2/5] net: include quic.h in include/uapi/linux " Xin Long
2024-09-10 2:30 ` [PATCH net-next 3/5] net: implement QUIC protocol code in net/quic directory Xin Long
2024-09-10 3:30 ` D. Wythe
2024-09-10 15:17 ` Xin Long
2024-09-10 2:30 ` [PATCH net-next 4/5] net: integrate QUIC build configuration into Kconfig and Makefile Xin Long
2024-09-12 0:00 ` Jakub Kicinski
2024-09-12 14:57 ` Xin Long
2025-03-07 14:42 ` Stefan Metzmacher
2025-03-08 0:38 ` Xin Long
2024-09-10 2:30 ` [PATCH net-next 5/5] Documentation: introduce quic.rst to provide description of QUIC protocol Xin Long
2024-09-14 1:05 ` Cong Wang [this message]
2024-09-16 15:32 ` [PATCH net-next 0/5] net: implement the QUIC protocol in linux kernel Xin Long
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=ZuThZdPILnCKpOmO@pop-os.localdomain \
--to=xiyou.wangcong@gmail.com \
--cc=aahringo@redhat.com \
--cc=andrew.gospodarek@broadcom.com \
--cc=chuck.lever@oracle.com \
--cc=daniel@haxx.se \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=hare@suse.de \
--cc=hepengtao@xiaomi.com \
--cc=jlayton@kernel.org \
--cc=kernel-tls-handshake@lists.linux.dev \
--cc=kuba@kernel.org \
--cc=linkinjeon@kernel.org \
--cc=linux-cifs@vger.kernel.org \
--cc=lucien.xin@gmail.com \
--cc=marcelo.leitner@gmail.com \
--cc=mbuhl@openbsd.org \
--cc=metze@samba.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=pc@manguebit.com \
--cc=sd@queasysnail.net \
--cc=smfrench@gmail.com \
--cc=steved@redhat.com \
--cc=tfanelli@redhat.com \
--cc=tom@talpey.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