==== 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 494, accept 29, send 692, recv 8, close 24, drop 0 10.02 real 29.80 user 0.12 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 195039, accept 100, send 126487, recv 0, close 72558, drop 0 0m10.10s real 0m17.77s user 0m14.47s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 38732, splice 1866, unsplice 0, max 0, idle 0, accept 3437, send 308025, recv 211607, close 47040, drop 0 10.04 real 10.27 user 10.83 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 57096, splice 1721, unsplice 4646, max 0, idle 0, accept 3724, send 36461, recv 4267, close 35527, drop 0 10.25 real 27.32 user 6.94 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 56545, splice 1752, unsplice 0, max 46, idle 0, accept 5013, send 51879, recv 5136, close 36079, drop 0 10.03 real 20.66 user 12.98 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 15565, splice 2543, unsplice 0, max 0, idle 2, accept 3404, send 1359, recv 4207, close 19742, drop 0 10.03 real 21.12 user 16.40 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 5981, accept 2707, send 56538, recv 5799, close 0, drop 1775 10.02 real 18.72 user 19.03 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 991, splice 543, unsplice 0, max 0, idle 0, accept 595, send 67097, recv 1532, close 0, drop 581 10.02 real 28.84 user 9.73 sys