==== 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 860, accept 88, send 373, recv 32, close 620, drop 0 10.03 real 15.34 user 6.46 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 121489, accept 63080, send 170798, recv 65619, close 120502, drop 0 0m10.07s real 0m09.04s user 0m18.37s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 15682, splice 7024, unsplice 0, max 0, idle 0, accept 6962, send 43324, recv 8333, close 25141, drop 0 10.02 real 13.37 user 9.58 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15351, splice 4778, unsplice 9659, max 0, idle 0, accept 5538, send 35028, recv 6097, close 20410, drop 0 10.05 real 17.32 user 13.58 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 18483, splice 7531, unsplice 0, max 2464, idle 0, accept 7917, send 76489, recv 9221, close 24271, drop 0 10.02 real 15.44 user 14.44 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 17959, splice 7111, unsplice 0, max 0, idle 0, accept 6995, send 76287, recv 12015, close 21820, drop 0 10.03 real 16.03 user 14.75 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2979, accept 2660, send 123469, recv 4627, close 0, drop 2652 10.02 real 17.59 user 15.28 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2751, splice 1116, unsplice 0, max 0, idle 0, accept 1752, send 163618, recv 57011, close 0, drop 3799 10.08 real 16.24 user 16.57 sys