[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <af0d6b3e-85d0-9b61-4acd-5eef1375f934@gmail.com>
Date: Tue, 21 Dec 2021 15:43:29 +0000
From: Pavel Begunkov <asml.silence@...il.com>
To: io-uring@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Jakub Kicinski <kuba@...nel.org>,
Jonathan Lemon <jonathan.lemon@...il.com>,
"David S . Miller" <davem@...emloft.net>,
Willem de Bruijn <willemb@...gle.com>,
Eric Dumazet <edumazet@...gle.com>,
David Ahern <dsahern@...nel.org>, Jens Axboe <axboe@...nel.dk>
Subject: Re: [RFC v2 00/19] io_uring zerocopy tx
On 12/21/21 15:35, Pavel Begunkov wrote:
> Update on io_uring zerocopy tx, still RFC. For v1 and design notes see
[...]
>
> Benchmarks for dummy netdev, UDP/IPv4, payload size=4096:
> -n<N> is how many requests we submit per syscall. From io_uring perspective -n1
> is wasteful and far from optimal, but included for comparison.
> -z0 disables zerocopy, just normal io_uring send requests
> -f makes to flush "buffer free" notifications for every request
[...]> https://github.com/isilence/linux/tree/zc_v2
> https://github.com/isilence/liburing/tree/zc_v2
>
> The Benchmark is <liburing>/test/send-zc,
>
> send-zc [-f] [-n<N>] [-z0] -s<payload size> -D<dst ip> (-6|-4) [-t<sec>] udp
Attaching a standalone send-zc for convenience.
gcc -luring -O2 -o send-zc ./send-zc.c
--
Pavel Begunkov
View attachment "send-zc.c" of type "text/x-csrc" (8350 bytes)
Powered by blists - more mailing lists