==== 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 834, accept 69, send 411, recv 36, close 556, drop 0 10.02 real 14.73 user 8.70 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123627, accept 61468, send 149731, recv 60885, close 120901, drop 0 0m10.07s real 0m09.31s user 0m18.67s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 13180, splice 6148, unsplice 0, max 0, idle 0, accept 6280, send 37040, recv 7753, close 21982, drop 0 10.02 real 13.82 user 10.11 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 11651, splice 4943, unsplice 8790, max 0, idle 0, accept 5672, send 27431, recv 6139, close 17207, drop 0 10.08 real 16.79 user 14.95 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 14054, splice 6283, unsplice 0, max 2298, idle 0, accept 7355, send 59706, recv 9856, close 20567, drop 0 10.02 real 15.67 user 15.57 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 16421, splice 7378, unsplice 0, max 0, idle 0, accept 8033, send 76049, recv 12313, close 23887, drop 0 10.06 real 14.54 user 16.47 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2908, accept 2680, send 124212, recv 4598, close 0, drop 2669 10.02 real 17.54 user 15.76 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2587, splice 1330, unsplice 0, max 0, idle 0, accept 1785, send 170502, recv 61073, close 0, drop 3739 10.14 real 15.25 user 17.28 sys