==== 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 552, accept 1, send 381, recv 0, close 179, drop 0 10.02 real 30.00 user 0.03 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 54861, accept 19225, send 41901, recv 31442, close 38923, drop 0 0m10.15s real 0m20.01s user 0m12.24s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 71219, splice 2086, unsplice 0, max 0, idle 0, accept 1532, send 7227, recv 10, close 80286, drop 0 10.05 real 17.82 user 14.62 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 66987, splice 410, unsplice 2072, max 0, idle 0, accept 1937, send 40980, recv 2003, close 42512, drop 0 10.05 real 26.05 user 9.19 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 6848, splice 679, unsplice 0, max 425, idle 0, accept 947, send 39443, recv 692, close 488, drop 0 10.16 real 28.13 user 10.80 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 4002, splice 1161, unsplice 0, max 0, idle 764, accept 1245, send 87540, recv 4199, close 669, drop 0 10.05 real 27.09 user 10.75 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 17, recv 5, close 0, drop 10 10.21 real 40.05 user 0.04 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 10, splice 5, unsplice 0, max 0, idle 0, accept 7, send 425, recv 5, close 0, drop 9 10.07 real 27.37 user 12.36 sys