==== 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 800, accept 54, send 334, recv 23, close 574, drop 0 10.04 real 14.91 user 9.75 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124796, accept 60697, send 158408, recv 62197, close 119607, drop 0 0m10.09s real 0m09.47s user 0m17.84s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10780, splice 5338, unsplice 0, max 0, idle 0, accept 5234, send 30884, recv 8040, close 18130, drop 0 10.13 real 13.82 user 10.29 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 11145, splice 5031, unsplice 8083, max 0, idle 0, accept 5562, send 25799, recv 5540, close 16800, drop 0 10.02 real 16.97 user 15.96 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 14732, splice 7128, unsplice 0, max 2604, idle 0, accept 7480, send 55593, recv 11239, close 20914, drop 0 10.13 real 15.90 user 16.23 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 10678, splice 4968, unsplice 0, max 0, idle 0, accept 5403, send 52774, recv 8763, close 15927, drop 0 10.08 real 15.98 user 16.74 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2901, accept 2661, send 122588, recv 4648, close 0, drop 2653 10.02 real 18.68 user 16.09 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2895, splice 1399, unsplice 0, max 0, idle 0, accept 1877, send 143778, recv 36381, close 0, drop 3962 10.10 real 15.94 user 16.91 sys