==== 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 769, accept 85, send 325, recv 35, close 596, drop 0 10.01 real 15.44 user 10.32 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 125384, accept 61822, send 165753, recv 59730, close 122799, drop 0 0m10.07s real 0m09.59s user 0m18.29s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 14736, splice 6522, unsplice 0, max 0, idle 0, accept 6632, send 42875, recv 8506, close 23632, drop 0 10.04 real 13.78 user 11.45 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14913, splice 5121, unsplice 9750, max 0, idle 0, accept 5451, send 31430, recv 5683, close 20209, drop 0 10.03 real 16.40 user 15.29 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 13043, splice 5544, unsplice 0, max 1619, idle 0, accept 5637, send 52842, recv 7471, close 18288, drop 0 10.18 real 16.97 user 16.00 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 12464, splice 5773, unsplice 0, max 0, idle 1, accept 6127, send 53060, recv 10931, close 17688, drop 0 10.04 real 16.59 user 16.64 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2941, accept 2641, send 123713, recv 4361, close 0, drop 2631 10.02 real 18.11 user 16.62 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2618, splice 950, unsplice 0, max 0, idle 0, accept 1597, send 172428, recv 65328, close 0, drop 3618 10.05 real 15.82 user 17.26 sys