==== 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:645 (/home/src/regress/sys/netinet/tcpthread/tcpthread.c:645)(tcpthread.o:(main)): warning: rand_r() is not random, it is deterministic. time ./tcpthread count: connect 472, accept 29, send 1180, recv 14, close 29, drop 0 10.03 real 29.87 user 0.22 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 8593, accept 8373, send 466627, recv 239214, close 8302, drop 0 0m10.13s real 0m12.59s user 0m10.71s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 137079, splice 487, unsplice 0, max 0, idle 0, accept 10, send 21276, recv 3, close 133062, drop 0 10.04 real 21.45 user 13.30 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 27208, splice 917, unsplice 4734, max 0, idle 0, accept 3819, send 17658, recv 4161, close 22977, drop 0 10.04 real 32.00 user 4.72 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 17942, splice 789, unsplice 0, max 20, idle 0, accept 2092, send 465925, recv 75263, close 17211, drop 0 10.06 real 19.04 user 13.97 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 12, splice 8, unsplice 0, max 0, idle 0, accept 9, send 56, recv 2, close 9, drop 0 10.09 real 28.78 user 11.14 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 1316, accept 1316, send 4147, recv 3064, close 0, drop 1316 10.01 real 20.69 user 18.83 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 87, splice 10, unsplice 0, max 0, idle 0, accept 68, send 451179, recv 82782, close 0, drop 78 10.03 real 7.42 user 17.26 sys