Date: Tue, 6 Nov 2018 00:20:53 +0300 From: Lev Serebryakov <lev@FreeBSD.org> To: freebsd-net@freebsd.org Subject: What is status of `pkt-gen' on FreeBSD? Message-ID: <3010669715.20181106002053@serebryakov.spb.ru>
next in thread | raw e-mail | index | archive | help
Hello Freebsd-net, Is `pkt-gen' (for netmap) supported on FreeBSD? ${SRCTOP}/tools/tools/netmap/pkt-gen.c is very old and could not be built (I've checked stable/11, stable/12 and head). ${PORTS}/net/pkt-gen is not so old, but more than year old + patches pkt-gen from github could be built on CURRENT, but can not finish transmission: 236.545902 main_thread [2605] 0 pps (0 pkts 0 bps in 1031501 usec) 0.00 avg_batch 99999 min_space 237.000000 sender_body [1687] pending tx tail 446 head 448 on ring 0 237.000007 sender_body [1687] pending tx tail 446 head 448 on ring 0 237.000011 sender_body [1687] pending tx tail 446 head 448 on ring 0 237.000016 sender_body [1687] pending tx tail 446 head 448 on ring 0 237.000020 sender_body [1687] pending tx tail 446 head 448 on ring 0 237.607508 main_thread [2605] 0 pps (0 pkts 0 bps in 1061606 usec) 0.00 avg_batch 99999 min_space 238.000000 sender_body [1687] pending tx tail 446 head 448 on ring 0 238.000005 sender_body [1687] pending tx tail 446 head 448 on ring 0 238.000009 sender_body [1687] pending tx tail 446 head 448 on ring 0 238.000013 sender_body [1687] pending tx tail 446 head 448 on ring 0 238.000017 sender_body [1687] pending tx tail 446 head 448 on ring 0 (forever) and can not be used in benchmarking scripts... Which one should I use? How could I be sure that transmission of given number of packets will be finished in finite time no matter what? Is this problem with tx queue really driver problem or netmap problem? -- Best regards, Lev mailto:lev@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3010669715.20181106002053>