==== 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 983, accept 327, send 324, recv 327, close 982, drop 0 10.01 real 29.99 user 0.15 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 23434, accept 21283, send 235738, recv 11524, close 21216, drop 0 0m10.02s real 0m17.14s user 0m14.48s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10, splice 3, unsplice 0, max 0, idle 0, accept 5, send 10, recv 2, close 6, drop 0 10.21 real 29.97 user 0.11 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 54, splice 10, unsplice 21, max 0, idle 0, accept 17, send 835, recv 22, close 21, drop 0 10.17 real 34.91 user 5.12 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 9797, splice 1631, unsplice 0, max 0, idle 0, accept 2543, send 428456, recv 94670, close 13236, drop 0 10.05 real 15.35 user 17.74 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 41075, splice 1526, unsplice 0, max 0, idle 19, accept 116, send 34831, recv 1909, close 26239, drop 0 10.07 real 21.37 user 15.28 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 23, recv 5, close 0, drop 10 10.08 real 40.08 user 0.03 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 87, splice 14, unsplice 0, max 0, idle 0, accept 10, send 39964, recv 13080, close 0, drop 67 10.03 real 9.82 user 29.21 sys