==== 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 831, accept 52, send 360, recv 33, close 562, drop 0 10.03 real 15.68 user 7.98 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 128088, accept 62302, send 144384, recv 60597, close 124727, drop 0 0m10.08s real 0m09.80s user 0m17.91s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 12539, splice 5716, unsplice 0, max 0, idle 0, accept 5967, send 31586, recv 7555, close 21781, drop 0 10.17 real 13.76 user 9.71 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 21764, splice 6288, unsplice 14473, max 0, idle 0, accept 7979, send 41322, recv 6511, close 31607, drop 0 10.07 real 15.49 user 15.64 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 10387, splice 5032, unsplice 0, max 1743, idle 0, accept 5704, send 42822, recv 8204, close 15674, drop 0 10.03 real 16.40 user 15.70 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 11000, splice 5403, unsplice 0, max 0, idle 0, accept 5846, send 42970, recv 8123, close 17300, drop 0 10.07 real 16.78 user 15.20 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2850, accept 2610, send 121775, recv 4536, close 0, drop 2597 10.02 real 18.07 user 15.61 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 3278, splice 1463, unsplice 0, max 0, idle 0, accept 2110, send 204021, recv 80314, close 0, drop 4451 10.22 real 14.25 user 17.06 sys