START sys/netinet/tcpthread 2025-02-16T18:11:59Z ==== 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:655 (/usr/src/regress/sys/netinet/tcpthread/tcpthread.c:655)(tcpthread.o:(main)): warning: rand_r() is not random, it is deterministic. time ./tcpthread count: connect 727, accept 1, send 44, recv 0, close 693, drop 0 10.02 real 29.89 user 0.02 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 13474, accept 13474, send 6686, recv 20060, close 13424, drop 0 0m10.54s real 0m23.62s user 0m08.74s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 223060, splice 90, unsplice 0, max 0, idle 0, accept 508, send 30882, recv 506, close 201145, drop 0 10.03 real 19.24 user 15.04 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 121015, splice 75, unsplice 655, max 0, idle 0, accept 577, send 274941, recv 132557, close 125902, drop 0 10.03 real 20.58 user 13.82 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 493, splice 291, unsplice 0, max 231, idle 0, accept 314, send 499446, recv 468741, close 357, drop 0 10.04 real 24.02 user 19.65 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 10, splice 2, unsplice 0, max 0, idle 0, accept 2, send 1, recv 0, close 3, drop 0 10.16 real 35.92 user 14.28 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 1346, accept 1342, send 5834, recv 3621, close 0, drop 1341 10.02 real 20.12 user 29.12 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 501, splice 69, unsplice 0, max 0, idle 0, accept 108, send 7428, recv 181, close 0, drop 102 10.11 real 43.64 user 6.35 sys PASS sys/netinet/tcpthread Duration 1m22.05s