==== run-default ==== cc -O2 -pipe -g -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /home/src/regress/sys/netinet/tcpthread/tcpthread.c cc -o tcpthread tcpthread.o -lpthread time ./tcpthread count: connect 813, accept 61, send 336, recv 25, close 590, drop 0 10.03 real 16.22 user 9.59 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 131085, accept 62794, send 149579, recv 61232, close 126434, drop 0 0m10.08s real 0m09.73s user 0m18.47s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 11302, splice 5793, unsplice 0, max 0, idle 0, accept 5764, send 35711, recv 7592, close 19702, drop 0 10.02 real 13.93 user 10.62 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 12874, splice 4290, unsplice 9230, max 0, idle 0, accept 5346, send 26844, recv 4752, close 19148, drop 0 10.05 real 17.59 user 15.44 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 12996, splice 6917, unsplice 0, max 2365, idle 0, accept 7149, send 49763, recv 9562, close 19647, drop 0 10.03 real 15.62 user 15.73 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 8090, splice 4092, unsplice 0, max 0, idle 0, accept 3685, send 46355, recv 8644, close 10951, drop 0 10.10 real 12.79 user 12.43 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3018, accept 2685, send 122938, recv 4942, close 0, drop 2670 10.06 real 13.48 user 12.85 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2239, splice 1093, unsplice 0, max 0, idle 0, accept 1276, send 201098, recv 76288, close 0, drop 2989 10.10 real 11.91 user 13.23 sys