==== 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 525, accept 13, send 316, recv 18, close 219, drop 0 10.01 real 29.99 user 0.03 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 78378, accept 22741, send 66497, recv 41778, close 47664, drop 0 0m10.03s real 0m15.45s user 0m13.41s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 138185, splice 342, unsplice 0, max 0, idle 0, accept 10, send 20205, recv 10, close 133900, drop 0 10.05 real 21.09 user 13.92 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 54981, splice 70, unsplice 953, max 0, idle 0, accept 10, send 29086, recv 75, close 39778, drop 0 10.05 real 28.25 user 8.87 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 52054, splice 736, unsplice 0, max 12, idle 0, accept 1295, send 43498, recv 1344, close 34292, drop 0 10.05 real 21.98 user 13.28 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 2958, splice 1421, unsplice 0, max 0, idle 1063, accept 1623, send 76576, recv 17301, close 839, drop 0 10.03 real 27.07 user 10.58 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 23, accept 10, send 261, recv 7, close 0, drop 10 10.00 real 13.76 user 26.20 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 10, splice 3, unsplice 0, max 0, idle 0, accept 6, send 109, recv 3, close 0, drop 9 10.17 real 37.71 user 2.16 sys