lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b459bb29-717f-42f2-9f6a-56b1ca562d46@uwaterloo.ca>
Date: Thu, 28 Aug 2025 23:15:30 -0400
From: Martin Karsten <mkarsten@...terloo.ca>
To: Samiullah Khawaja <skhawaja@...gle.com>, Jakub Kicinski
 <kuba@...nel.org>, "David S . Miller" <davem@...emloft.net>,
 Eric Dumazet <edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>,
 almasrymina@...gle.com, willemb@...gle.com
Cc: Joe Damato <joe@...a.to>, netdev@...r.kernel.org
Subject: Re: [RFC PATCH net-next v2] Add `xsk_rr` an AF_XDP benchmark to
 measure latency

On 2025-08-28 18:25, Samiullah Khawaja wrote:
> Note: This is a benchmarking tool that is used for experiments in the
> upcoming Napi threaded busypoll series. Not intended to be merged.
> 
> xsk_rr is a benchmarking tool to measure latency using AF_XDP between
> two nodes. The benchmark can be run with different arguments to simulate
> traffic:
> 
> - Payload Size
> - Packet frequency (1/period)
> - Application Processing (delay)
> - Busy poll in separate core
> - Payload verification
> - Open Loop sampling
> 
> Server:
> chrt -f 50 taskset -c 3-5 tools/testing/selftests/bpf/xsk_rr -o 0 \
> 	-B <bytes> -i eth0 -4 -D <IP-dest> -S <IP-src> -M <MAC-dest> \
> 	-m <MAC-src> -p <PORT> -h -v -t
> 
> Client:
> chrt -f 50 taskset -c 3-5 tools/testing/selftests/bpf/xsk_rr -o 0 \
> 	-B <bytes> -i eth0 -4 -S <IP-src> -D <IP-dest> -m <MAC-src> \
> 	-M <MAC-dst> -p <PORT> -P <send-period-usecs> -d <recv-delay-usecs> \
> 	-T -l <sample capture length in seconds> -v -t
> 
> Sample Output:
> 
> min: 13069 max: 881340 avg: 13322 empty: 98
> count: 6249 p5: 13500
> count: 61508 p50: 14000
> count: 114428 p95: 14700
> count: 119153 p99: 14800
> rate: 12499
> outstanding packets: 3
> 
> Signed-off-by: Samiullah Khawaja <skhawaja@...gle.com>
> 
> ---
> 
> v2:
>   - Rebased
>   - Using needs wakeup
>   - Added PREFER_BUSY_POLL

I cannot find SO_PREFER_BUSY_POLL anywhere in the code?

Thanks,
Martin


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ