==== 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 448, accept 39, send 1892, recv 32, close 39, drop 0 10.04 real 28.81 user 1.21 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 53262, accept 19310, send 34622, recv 30987, close 40130, drop 0 0m10.03s real 0m20.85s user 0m11.68s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 144672, splice 1263, unsplice 0, max 0, idle 0, accept 10, send 24031, recv 11, close 140609, drop 0 10.05 real 21.07 user 12.61 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 52321, splice 2326, unsplice 6458, max 0, idle 0, accept 10, send 31357, recv 8964, close 29606, drop 0 10.05 real 25.54 user 8.85 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 67827, splice 1299, unsplice 0, max 19, idle 0, accept 1338, send 56471, recv 7169, close 37216, drop 0 10.07 real 21.74 user 12.79 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 46493, splice 1526, unsplice 0, max 0, idle 24, accept 2905, send 34780, recv 5165, close 32093, drop 0 10.05 real 23.12 user 12.91 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 132, accept 10, send 354, recv 4, close 0, drop 10 10.03 real 13.43 user 26.66 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 21, splice 10, unsplice 0, max 0, idle 0, accept 13, send 296175, recv 127830, close 0, drop 18 10.08 real 5.27 user 16.95 sys