==== 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 ld: warning: tcpthread.c:655 (/home/src/regress/sys/netinet/tcpthread/tcpthread.c:655)(tcpthread.o:(main)): warning: rand_r() is not random, it is deterministic. time ./tcpthread count: connect 690, accept 51, send 366, recv 59, close 339, drop 0 10.02 real 29.86 user 0.02 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 59128, accept 18457, send 46943, recv 30189, close 40784, drop 0 0m10.03s real 0m19.48s user 0m12.55s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 34850, splice 2277, unsplice 0, max 0, idle 0, accept 1548, send 221290, recv 84768, close 43120, drop 0 10.05 real 11.23 user 11.06 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 62513, splice 393, unsplice 1949, max 0, idle 0, accept 10, send 41319, recv 67, close 37967, drop 0 10.07 real 26.40 user 9.58 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 10, splice 7, unsplice 0, max 0, idle 0, accept 6, send 9, recv 3, close 5, drop 0 10.08 real 32.65 user 7.34 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 14, splice 8, unsplice 0, max 0, idle 0, accept 6, send 16, recv 4, close 5, drop 0 10.04 real 31.92 user 8.09 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 1420, accept 1420, send 4829, recv 3452, close 0, drop 1420 10.01 real 20.73 user 18.58 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 302, splice 191, unsplice 0, max 0, idle 0, accept 203, send 19401, recv 489, close 0, drop 194 10.07 real 36.29 user 3.22 sys