==== 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:649 (/home/src/regress/sys/netinet/tcpthread/tcpthread.c:649)(tcpthread.o:(main)): warning: rand_r() is not random, it is deterministic. time ./tcpthread count: connect 1, accept 1, send 1, recv 0, close 1, drop 0 10.01 real 29.98 user 0.01 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 8900, accept 8655, send 450642, recv 232747, close 8593, drop 0 0m10.02s real 0m14.29s user 0m11.79s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 144609, splice 603, unsplice 0, max 0, idle 0, accept 508, send 19772, recv 549, close 139806, drop 0 10.05 real 21.44 user 13.92 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 27969, splice 1427, unsplice 6394, max 0, idle 0, accept 10, send 21150, recv 3565, close 22252, drop 0 10.05 real 27.88 user 7.92 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 17143, splice 1427, unsplice 0, max 46, idle 0, accept 2800, send 343555, recv 69963, close 17194, drop 0 10.03 real 19.15 user 12.67 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 14752, splice 2961, unsplice 0, max 0, idle 1, accept 74, send 705, recv 1079, close 20204, drop 0 10.04 real 19.29 user 18.54 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 33, accept 10, send 470, recv 5, close 0, drop 10 10.02 real 13.59 user 26.35 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 10, splice 9, unsplice 0, max 0, idle 0, accept 9, send 316956, recv 138298, close 0, drop 5 10.05 real 5.52 user 15.84 sys