==== 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 851, accept 64, send 391, recv 32, close 565, drop 0 10.03 real 15.34 user 8.47 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 120282, accept 61892, send 170805, recv 59678, close 119778, drop 0 0m10.07s real 0m09.10s user 0m18.20s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 12575, splice 6141, unsplice 0, max 0, idle 0, accept 6217, send 37790, recv 9669, close 20863, drop 0 10.10 real 13.54 user 9.09 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 13169, splice 4460, unsplice 7819, max 0, idle 0, accept 5145, send 27158, recv 4300, close 19243, drop 0 10.03 real 17.09 user 13.98 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 17816, splice 8130, unsplice 0, max 2830, idle 0, accept 8627, send 78552, recv 10850, close 25299, drop 0 10.05 real 15.43 user 14.56 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 10209, splice 4858, unsplice 0, max 0, idle 0, accept 4947, send 47534, recv 9269, close 14357, drop 0 10.02 real 16.80 user 13.93 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2927, accept 2673, send 123958, recv 4286, close 0, drop 2667 10.02 real 17.81 user 14.52 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1857, splice 842, unsplice 0, max 0, idle 0, accept 1115, send 210490, recv 109848, close 0, drop 2522 10.03 real 14.68 user 17.30 sys