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 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 /test/send-zc, > > send-zc [-f] [-n] [-z0] -s -D (-6|-4) [-t] udp Attaching a standalone send-zc for convenience. gcc -luring -O2 -o send-zc ./send-zc.c -- Pavel Begunkov