On 11/23/2023 9:00 PM, Christoph Hellwig wrote: > The rest looks good, but that stats overhead seems pretty horrible.. On my setup Before[1]: 7.06M After[2]: 8.29M [1] # taskset -c 2,3 t/io_uring -b512 -d256 -c32 -s32 -p1 -F1 -B1 -O0 -n2 -u1 -r4 /dev/ng0n1 /dev/ng1n1 submitter=0, tid=2076, file=/dev/ng0n1, node=-1 submitter=1, tid=2077, file=/dev/ng1n1, node=-1 polled=1, fixedbufs=1/0, register_files=1, buffered=1, QD=256 Engine=io_uring, sq_ring=256, cq_ring=256 polled=1, fixedbufs=1/0, register_files=1, buffered=1, QD=256 Engine=io_uring, sq_ring=256, cq_ring=256 IOPS=6.95M, BW=3.39GiB/s, IOS/call=32/31 IOPS=7.06M, BW=3.45GiB/s, IOS/call=32/32 IOPS=7.06M, BW=3.45GiB/s, IOS/call=32/31 Exiting on timeout Maximum IOPS=7.06M [2] # taskset -c 2,3 t/io_uring -b512 -d256 -c32 -s32 -p1 -F1 -B1 -O0 -n2 -u1 -r4 /dev/ng0n1 /dev/ng1n1 submitter=0, tid=2123, file=/dev/ng0n1, node=-1 submitter=1, tid=2124, file=/dev/ng1n1, node=-1 polled=1, fixedbufs=1/0, register_files=1, buffered=1, QD=256 Engine=io_uring, sq_ring=256, cq_ring=256 IOPS=8.27M, BW=4.04GiB/s, IOS/call=32/31 IOPS=8.29M, BW=4.05GiB/s, IOS/call=32/31 IOPS=8.29M, BW=4.05GiB/s, IOS/call=31/31 Exiting on timeout Maximum IOPS=8.29M