==== 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 168, accept 168, send 160, recv 324, close 168, drop 0 10.01 real 26.79 user 3.18 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 11434, accept 10588, send 485319, recv 204018, close 10514, drop 0 0m10.01s real 0m12.95s user 0m10.29s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10, splice 3, unsplice 0, max 0, idle 0, accept 5, send 1, recv 1, close 6, drop 0 10.18 real 25.93 user 4.10 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 49796, splice 2577, unsplice 7296, max 0, idle 0, accept 10, send 35887, recv 6805, close 31088, drop 0 10.06 real 24.17 user 9.56 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 38484, splice 1375, unsplice 0, max 75, idle 0, accept 2458, send 226731, recv 71009, close 28636, drop 0 10.13 real 19.45 user 14.76 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 19799, splice 2939, unsplice 0, max 0, idle 3, accept 823, send 7499, recv 1709, close 24245, drop 0 10.15 real 19.93 user 17.52 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 1343, accept 1343, send 4124, recv 2917, close 0, drop 1343 10.03 real 20.38 user 18.82 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 10, splice 7, unsplice 0, max 0, idle 0, accept 7, send 239, recv 5, close 0, drop 9 10.17 real 30.68 user 9.31 sys