START sys/netinet/tcpthread 2025-01-13T03:28:19Z ==== run-default ==== cc -O2 -pipe -g -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /usr/src/regress/sys/netinet/tcpthread/tcpthread.c cc -o tcpthread tcpthread.o -lpthread ld: warning: tcpthread.c:645 (/usr/src/regress/sys/netinet/tcpthread/tcpthread.c:645)(tcpthread.o:(main)): warning: rand_r() is not random, it is deterministic. time ./tcpthread count: connect 521, accept 6, send 39, recv 1, close 521, drop 0 10.04 real 29.99 user 0.02 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 184773, accept 9352, send 191825, recv 131064, close 184685, drop 0 0m10.07s real 0m06.45s user 0m14.32s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 310152, splice 107, unsplice 0, max 0, idle 0, accept 988, send 18989, recv 1034, close 301046, drop 0 10.09 real 18.34 user 16.70 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 63, splice 7, unsplice 20, max 0, idle 0, accept 22, send 8, recv 53, close 51, drop 0 10.06 real 33.69 user 6.51 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 289079, splice 210, unsplice 0, max 8, idle 0, accept 2248, send 19560, recv 2273, close 286317, drop 0 10.04 real 29.19 user 25.63 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 10, splice 5, unsplice 0, max 0, idle 0, accept 4, send 2, recv 1, close 5, drop 0 10.11 real 35.72 user 14.74 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 69, accept 10, send 321, recv 5, close 0, drop 10 10.02 real 9.08 user 41.06 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 19, splice 10, unsplice 0, max 0, idle 0, accept 12, send 469951, recv 175662, close 0, drop 14 10.05 real 2.20 user 19.03 sys PASS sys/netinet/tcpthread Duration 1m21.56s