==== 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 493, accept 6, send 732, recv 2, close 6, drop 0 10.04 real 29.78 user 0.06 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 47301, accept 19441, send 45858, recv 34172, close 36147, drop 0 0m10.03s real 0m20.05s user 0m11.93s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 117370, splice 1714, unsplice 0, max 0, idle 0, accept 1447, send 23898, recv 1671, close 117930, drop 0 10.04 real 21.12 user 12.71 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 29705, splice 2064, unsplice 4458, max 0, idle 0, accept 4156, send 6246, recv 5490, close 34208, drop 0 10.17 real 26.15 user 9.35 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 712, splice 427, unsplice 0, max 374, idle 0, accept 458, send 253728, recv 103233, close 312, drop 0 10.05 real 23.49 user 11.18 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 4258, splice 1879, unsplice 0, max 0, idle 1590, accept 1960, send 128194, recv 27108, close 988, drop 0 10.10 real 26.74 user 9.79 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 195, accept 10, send 448, recv 4, close 0, drop 10 10.02 real 14.50 user 25.63 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 554, splice 318, unsplice 0, max 0, idle 0, accept 337, send 40917, recv 911, close 0, drop 331 10.04 real 29.03 user 9.90 sys