==== 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 498, accept 14, send 593, recv 1, close 13, drop 0 10.01 real 29.95 user 0.05 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 23109, accept 21040, send 251611, recv 10445, close 20973, drop 0 0m10.03s real 0m17.28s user 0m14.31s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 47, splice 13, unsplice 0, max 0, idle 0, accept 21, send 325427, recv 148668, close 40, drop 0 10.03 real 13.31 user 8.29 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 53492, splice 1688, unsplice 5398, max 0, idle 0, accept 10, send 37791, recv 7925, close 30487, drop 0 10.03 real 26.67 user 8.24 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 393, splice 301, unsplice 0, max 266, idle 0, accept 320, send 192142, recv 124390, close 340, drop 0 10.04 real 25.51 user 10.87 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 440, splice 246, unsplice 0, max 0, idle 219, accept 264, send 24307, recv 1120, close 158, drop 0 10.08 real 28.66 user 10.82 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 4, recv 6, close 0, drop 10 10.12 real 40.06 user 0.01 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 18, splice 10, unsplice 0, max 0, idle 0, accept 12, send 328274, recv 106075, close 0, drop 14 10.03 real 6.52 user 17.64 sys