==== 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 1182, accept 321, send 2183, recv 2, close 1182, drop 0 10.02 real 30.09 user 0.06 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 11594, accept 11594, send 5684, recv 17148, close 11521, drop 0 0m10.16s real 0m24.39s user 0m08.25s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 51, splice 7, unsplice 0, max 0, idle 0, accept 35, send 43, recv 42, close 68, drop 0 10.07 real 25.55 user 4.50 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 30447, splice 2112, unsplice 5271, max 0, idle 0, accept 745, send 6232, recv 3318, close 32105, drop 0 10.20 real 23.82 user 11.68 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 966, splice 349, unsplice 0, max 297, idle 0, accept 384, send 326526, recv 113184, close 239, drop 0 10.04 real 27.31 user 7.10 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 4102, splice 1763, unsplice 0, max 0, idle 1489, accept 1823, send 101759, recv 39025, close 1825, drop 0 10.05 real 25.29 user 11.67 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 15, recv 5, close 0, drop 10 10.12 real 39.98 user 0.04 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 31, splice 10, unsplice 0, max 0, idle 0, accept 23, send 283912, recv 105436, close 0, drop 26 10.03 real 6.40 user 18.32 sys