==== 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 779, accept 90, send 377, recv 43, close 567, drop 0 10.02 real 16.15 user 6.37 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124591, accept 63293, send 172475, recv 62597, close 122647, drop 0 0m10.07s real 0m09.41s user 0m18.46s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 18530, splice 8180, unsplice 0, max 0, idle 0, accept 8321, send 51019, recv 9808, close 29561, drop 0 10.03 real 13.46 user 8.78 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15504, splice 5367, unsplice 9842, max 0, idle 0, accept 6112, send 35411, recv 6840, close 21082, drop 0 10.10 real 16.51 user 13.66 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 16761, splice 7105, unsplice 0, max 2559, idle 0, accept 7445, send 71839, recv 10577, close 21320, drop 0 10.22 real 15.51 user 14.44 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 18031, splice 7050, unsplice 0, max 0, idle 0, accept 7381, send 82909, recv 11728, close 23313, drop 0 10.16 real 15.35 user 14.49 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3044, accept 2665, send 123922, recv 4999, close 0, drop 2650 10.02 real 17.95 user 15.34 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2956, splice 1322, unsplice 0, max 0, idle 0, accept 1903, send 142665, recv 33882, close 0, drop 4136 10.14 real 16.80 user 15.68 sys