==== 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 567, accept 62, send 282, recv 0, close 567, drop 0 10.03 real 29.98 user 0.05 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 42400, accept 20076, send 6385, recv 18648, close 42305, drop 0 0m10.02s real 0m17.43s user 0m17.06s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 84804, splice 675, unsplice 0, max 0, idle 0, accept 2629, send 282863, recv 163551, close 91466, drop 0 10.03 real 9.16 user 12.91 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 1030, splice 48, unsplice 601, max 0, idle 0, accept 246, send 212259, recv 34647, close 403, drop 0 10.07 real 24.53 user 8.85 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 1156, splice 702, unsplice 0, max 659, idle 0, accept 762, send 247488, recv 91638, close 430, drop 0 10.02 real 24.75 user 10.34 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 14079, splice 2902, unsplice 0, max 0, idle 3, accept 4414, send 2028, recv 5301, close 19954, drop 0 10.03 real 20.54 user 16.71 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 7862, accept 3285, send 68448, recv 6868, close 0, drop 2172 10.02 real 18.87 user 18.56 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 66, splice 10, unsplice 0, max 0, idle 0, accept 54, send 330922, recv 127879, close 0, drop 58 10.05 real 6.49 user 14.72 sys