==== 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 823, accept 81, send 419, recv 36, close 567, drop 0 10.01 real 15.50 user 9.14 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 122503, accept 63006, send 161607, recv 62357, close 121525, drop 0 0m10.06s real 0m09.16s user 0m18.46s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 17654, splice 7910, unsplice 0, max 0, idle 0, accept 7805, send 47539, recv 9343, close 28481, drop 0 10.18 real 13.32 user 10.68 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15602, splice 5133, unsplice 10194, max 0, idle 0, accept 6277, send 34090, recv 6046, close 21968, drop 0 10.02 real 16.45 user 15.11 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 15235, splice 6552, unsplice 0, max 2257, idle 0, accept 6597, send 68387, recv 9853, close 19703, drop 0 10.07 real 14.10 user 14.56 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 11521, splice 5147, unsplice 0, max 0, idle 0, accept 4633, send 60658, recv 9721, close 14266, drop 0 10.04 real 12.42 user 12.90 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2879, accept 2669, send 122923, recv 4851, close 0, drop 2663 10.02 real 13.96 user 12.47 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2499, splice 1013, unsplice 0, max 0, idle 0, accept 1360, send 214877, recv 95466, close 0, drop 3080 10.06 real 10.04 user 13.31 sys