==== 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 837, accept 82, send 396, recv 33, close 589, drop 0 10.04 real 15.57 user 9.11 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 121059, accept 62744, send 182413, recv 65207, close 119354, drop 0 0m10.08s real 0m08.66s user 0m18.43s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 16161, splice 6974, unsplice 0, max 0, idle 0, accept 7039, send 46690, recv 9829, close 25607, drop 0 10.03 real 13.97 user 9.38 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 16000, splice 4378, unsplice 9399, max 0, idle 0, accept 5191, send 34377, recv 4624, close 22057, drop 0 10.05 real 16.73 user 14.32 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 14488, splice 6556, unsplice 0, max 2472, idle 0, accept 6771, send 62719, recv 11003, close 18567, drop 0 10.22 real 16.13 user 14.95 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 16263, splice 6954, unsplice 0, max 0, idle 0, accept 7074, send 73281, recv 10764, close 21933, drop 0 10.02 real 15.60 user 15.65 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2993, accept 2654, send 121707, recv 4522, close 0, drop 2645 10.08 real 17.73 user 16.45 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2443, splice 1124, unsplice 0, max 0, idle 0, accept 1588, send 184402, recv 74660, close 0, drop 3460 10.08 real 15.74 user 16.95 sys