==== 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 1, accept 1, send 1, recv 0, close 1, drop 0 10.03 real 30.00 user 0.02 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 51734, accept 20098, send 45935, recv 36569, close 39709, drop 0 0m10.02s real 0m20.66s user 0m11.73s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 77, splice 15, unsplice 0, max 0, idle 0, accept 28, send 343801, recv 165160, close 52, drop 0 10.08 real 14.37 user 7.65 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 30220, splice 1363, unsplice 3220, max 0, idle 0, accept 2641, send 7086, recv 3110, close 33446, drop 0 10.02 real 27.49 user 9.62 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 27038, splice 2267, unsplice 0, max 46, idle 0, accept 3725, send 264680, recv 65615, close 22631, drop 0 10.06 real 18.91 user 12.94 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 4116, splice 895, unsplice 0, max 0, idle 588, accept 1051, send 114650, recv 36447, close 1068, drop 0 10.09 real 21.04 user 15.87 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 32, accept 10, send 278, recv 5, close 0, drop 10 10.02 real 13.21 user 26.70 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1421, splice 825, unsplice 0, max 0, idle 0, accept 899, send 56539, recv 2385, close 0, drop 814 10.05 real 22.63 user 15.21 sys