==== 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 740, accept 265, send 264, recv 265, close 740, drop 0 10.02 real 30.23 user 0.04 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 9332, accept 9117, send 436640, recv 228424, close 9066, drop 0 0m10.24s real 0m13.67s user 0m12.21s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 116, splice 11, unsplice 0, max 0, idle 0, accept 50, send 344510, recv 134495, close 123, drop 0 10.11 real 14.56 user 8.44 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 28, splice 8, unsplice 13, max 0, idle 0, accept 12, send 525, recv 7, close 20, drop 0 10.05 real 35.04 user 5.03 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 10, splice 4, unsplice 0, max 0, idle 0, accept 3, send 2, recv 1, close 3, drop 0 10.16 real 32.46 user 7.46 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 23126, splice 2126, unsplice 0, max 0, idle 20, accept 5309, send 27038, recv 7336, close 23819, drop 0 10.08 real 24.07 user 12.15 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2204, accept 2204, send 6998, recv 4986, close 0, drop 2204 10.08 real 20.45 user 18.54 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 10, splice 4, unsplice 0, max 0, idle 0, accept 8, send 202, recv 6, close 0, drop 9 10.07 real 31.83 user 8.19 sys