==== 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 171, accept 170, send 130, recv 295, close 170, drop 0 10.01 real 27.18 user 2.90 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 164095, accept 100, send 105160, recv 0, close 62432, drop 0 0m10.12s real 0m18.00s user 0m13.89s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 67, splice 15, unsplice 0, max 0, idle 0, accept 24, send 363409, recv 151076, close 43, drop 0 10.14 real 13.43 user 7.74 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 262, splice 12, unsplice 134, max 0, idle 0, accept 59, send 5891, recv 53, close 41, drop 0 10.15 real 34.79 user 5.05 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 1263, splice 820, unsplice 0, max 728, idle 0, accept 858, send 289377, recv 106878, close 435, drop 0 10.09 real 25.29 user 9.37 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 4444, splice 1233, unsplice 0, max 0, idle 821, accept 1407, send 131481, recv 32636, close 1410, drop 0 10.12 real 20.69 user 15.89 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 4023, accept 2025, send 48957, recv 4867, close 0, drop 1445 10.01 real 19.08 user 18.85 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1003, splice 534, unsplice 0, max 0, idle 0, accept 589, send 37320, recv 1499, close 0, drop 543 10.08 real 23.10 user 15.25 sys