==== 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:649 (/home/src/regress/sys/netinet/tcpthread/tcpthread.c:649)(tcpthread.o:(main)): warning: rand_r() is not random, it is deterministic. time ./tcpthread count: connect 1, accept 1, send 5, recv 0, close 1, drop 0 10.01 real 30.07 user 0.00 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 206353, accept 100, send 136664, recv 0, close 73265, drop 0 0m10.11s real 0m16.89s user 0m15.52s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 166761, splice 780, unsplice 0, max 0, idle 0, accept 10, send 27355, recv 5, close 157963, drop 0 10.05 real 20.92 user 13.99 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 76, splice 11, unsplice 31, max 0, idle 0, accept 25, send 1577, recv 24, close 29, drop 0 10.15 real 35.16 user 4.82 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 360, splice 249, unsplice 0, max 243, idle 0, accept 263, send 5433, recv 166, close 182, drop 0 10.08 real 27.35 user 12.30 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 4431, splice 961, unsplice 0, max 0, idle 662, accept 1220, send 89163, recv 15459, close 683, drop 0 10.03 real 21.12 user 15.63 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 1378, accept 1373, send 4226, recv 3048, close 0, drop 1373 10.02 real 20.58 user 18.82 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 225, splice 148, unsplice 0, max 0, idle 0, accept 153, send 15493, recv 384, close 0, drop 148 10.05 real 36.59 user 3.25 sys