==== 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 776, accept 69, send 338, recv 32, close 555, drop 0 10.01 real 15.79 user 5.92 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 127226, accept 65126, send 154844, recv 62722, close 126393, drop 0 0m10.07s real 0m10.01s user 0m18.04s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 75592, splice 6225, unsplice 0, max 0, idle 0, accept 6278, send 71349, recv 7444, close 53749, drop 0 10.02 real 12.74 user 11.89 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 11182, splice 3255, unsplice 7500, max 0, idle 0, accept 3899, send 19519, recv 3768, close 16304, drop 0 10.04 real 17.11 user 13.77 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 11040, splice 5107, unsplice 0, max 1784, idle 0, accept 5855, send 43641, recv 6831, close 16800, drop 0 10.01 real 16.06 user 14.39 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 14648, splice 7345, unsplice 0, max 0, idle 0, accept 7110, send 65883, recv 10607, close 21945, drop 0 10.02 real 14.19 user 13.74 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2972, accept 2671, send 124730, recv 4525, close 0, drop 2660 10.08 real 18.37 user 14.43 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2274, splice 1073, unsplice 0, max 0, idle 0, accept 1471, send 190484, recv 85501, close 0, drop 3197 10.08 real 14.70 user 17.98 sys