==== 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 539, accept 10, send 154, recv 15, close 399, drop 0 10.03 real 30.08 user 0.02 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 8161, accept 7692, send 412921, recv 251787, close 7635, drop 0 0m10.75s real 0m13.73s user 0m11.72s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10, splice 4, unsplice 0, max 0, idle 0, accept 4, send 0, recv 1, close 5, drop 0 10.11 real 25.79 user 4.39 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 2433, splice 120, unsplice 1651, max 0, idle 0, accept 540, send 567116, recv 148579, close 1173, drop 0 10.05 real 21.35 user 8.95 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 69156, splice 891, unsplice 0, max 30, idle 0, accept 2650, send 51379, recv 2725, close 35538, drop 0 10.02 real 22.09 user 12.97 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 54762, splice 1432, unsplice 0, max 0, idle 32, accept 500, send 47711, recv 5652, close 30640, drop 0 10.15 real 22.10 user 12.77 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 26, accept 10, send 481, recv 4, close 0, drop 10 10.03 real 14.12 user 25.92 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 32, splice 12, unsplice 0, max 0, idle 0, accept 10, send 100203, recv 42995, close 0, drop 19 10.02 real 9.96 user 27.35 sys