==== 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 797, accept 75, send 357, recv 36, close 560, drop 0 10.03 real 14.90 user 9.25 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 120175, accept 63523, send 170207, recv 65277, close 119692, drop 0 0m10.08s real 0m09.03s user 0m17.70s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 11136, splice 5842, unsplice 0, max 0, idle 0, accept 5950, send 33465, recv 8639, close 19227, drop 0 10.03 real 13.49 user 9.95 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 16075, splice 6122, unsplice 10908, max 0, idle 0, accept 7266, send 36335, recv 7055, close 23371, drop 0 10.02 real 15.46 user 15.31 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 12151, splice 5920, unsplice 0, max 2234, idle 0, accept 6452, send 50030, recv 8780, close 17889, drop 0 10.02 real 15.46 user 15.97 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 9390, splice 4831, unsplice 0, max 0, idle 0, accept 5120, send 43594, recv 7996, close 14769, drop 0 10.03 real 16.17 user 15.98 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2879, accept 2642, send 122241, recv 4475, close 0, drop 2634 10.02 real 17.65 user 15.58 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2697, splice 1353, unsplice 0, max 0, idle 0, accept 1724, send 159864, recv 52553, close 0, drop 3738 10.06 real 15.30 user 16.67 sys