==== 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 585, accept 49, send 315, recv 69, close 296, drop 0 10.02 real 29.98 user 0.03 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 10066, accept 10053, send 5228, recv 15151, close 9996, drop 0 0m10.02s real 0m24.67s user 0m07.26s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 93, splice 7, unsplice 0, max 0, idle 0, accept 74, send 82, recv 84, close 141, drop 0 10.04 real 25.37 user 4.64 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 63493, splice 1616, unsplice 4713, max 0, idle 0, accept 3686, send 39446, recv 4034, close 37169, drop 0 10.14 real 26.56 user 8.03 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 10, splice 5, unsplice 0, max 0, idle 0, accept 4, send 29, recv 0, close 2, drop 0 10.13 real 32.40 user 7.59 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 17874, splice 2193, unsplice 0, max 0, idle 1, accept 684, send 6323, recv 871, close 21749, drop 0 10.12 real 19.53 user 18.28 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 5735, accept 2225, send 55240, recv 5329, close 0, drop 1548 10.03 real 19.01 user 19.75 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 14, splice 8, unsplice 0, max 0, idle 0, accept 9, send 292579, recv 145684, close 0, drop 3 10.06 real 3.91 user 15.74 sys