==== 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.04 real 29.99 user 0.01 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 12086, accept 12086, send 6120, recv 18073, close 12012, drop 0 0m10.33s real 0m24.33s user 0m08.35s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 146, splice 19, unsplice 0, max 0, idle 0, accept 43, send 343293, recv 152534, close 102, drop 0 10.11 real 14.67 user 8.36 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 439, splice 22, unsplice 266, max 0, idle 0, accept 108, send 251966, recv 39159, close 174, drop 0 10.08 real 23.76 user 7.63 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 748, splice 444, unsplice 0, max 399, idle 0, accept 482, send 244663, recv 84679, close 365, drop 0 10.07 real 23.90 user 10.88 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 3537, splice 1672, unsplice 0, max 0, idle 1443, accept 1718, send 124051, recv 23361, close 859, drop 0 10.11 real 26.66 user 10.60 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 1319, accept 1318, send 3993, recv 2852, close 0, drop 1314 10.02 real 19.97 user 19.59 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 10, splice 3, unsplice 0, max 0, idle 0, accept 7, send 147, recv 1, close 0, drop 7 10.14 real 32.98 user 6.81 sys