==== 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 473, accept 23, send 1204, recv 16, close 23, drop 0 10.01 real 29.55 user 0.52 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 23148, accept 21009, send 232887, recv 10662, close 20944, drop 0 0m10.11s real 0m16.39s user 0m14.19s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 130140, splice 1447, unsplice 0, max 0, idle 0, accept 3148, send 22003, recv 3631, close 128710, drop 0 10.04 real 21.12 user 12.08 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 67881, splice 1756, unsplice 5766, max 0, idle 0, accept 10, send 46338, recv 8549, close 39198, drop 0 10.06 real 24.58 user 9.35 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 61473, splice 1014, unsplice 0, max 25, idle 0, accept 1580, send 51583, recv 3511, close 33602, drop 0 10.03 real 21.91 user 12.73 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 47144, splice 1791, unsplice 0, max 0, idle 41, accept 12, send 48559, recv 2954, close 30586, drop 0 10.05 real 22.02 user 12.46 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 4528, accept 2443, send 59339, recv 5820, close 0, drop 1745 10.02 real 18.34 user 19.51 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 21, splice 7, unsplice 0, max 0, idle 0, accept 12, send 353387, recv 125518, close 0, drop 12 10.08 real 5.08 user 15.73 sys