==== 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 783, accept 74, send 345, recv 35, close 578, drop 0 10.04 real 14.74 user 9.60 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 121763, accept 63161, send 166907, recv 62620, close 120922, drop 0 0m10.07s real 0m09.56s user 0m18.07s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 15915, splice 6876, unsplice 0, max 0, idle 0, accept 6901, send 42260, recv 8130, close 25637, drop 0 10.18 real 13.36 user 10.58 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15682, splice 5759, unsplice 9574, max 0, idle 0, accept 6244, send 35125, recv 5916, close 22132, drop 0 10.12 real 16.40 user 14.98 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 19386, splice 8271, unsplice 0, max 2683, idle 0, accept 8782, send 76043, recv 11694, close 25917, drop 0 10.05 real 15.11 user 15.19 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 22985, splice 9096, unsplice 0, max 0, idle 1, accept 9213, send 101521, recv 12485, close 30331, drop 0 10.03 real 13.63 user 16.29 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3149, accept 2732, send 127835, recv 4476, close 0, drop 2724 10.02 real 17.89 user 15.53 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 3053, splice 1432, unsplice 0, max 0, idle 0, accept 2034, send 136551, recv 25302, close 0, drop 4279 10.05 real 16.27 user 15.92 sys