START sys/netinet/tcpthread 2025-01-24T05:29:42Z ==== 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:649 (/usr/src/regress/sys/netinet/tcpthread/tcpthread.c:649)(tcpthread.o:(main)): warning: rand_r() is not random, it is deterministic. time ./tcpthread count: connect 663, accept 90, send 777, recv 0, close 663, drop 0 10.03 real 30.04 user 0.07 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 12008, accept 11593, send 519582, recv 326434, close 11533, drop 0 0m10.09s real 0m13.02s user 0m14.25s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 304564, splice 93, unsplice 0, max 0, idle 0, accept 965, send 24190, recv 968, close 289361, drop 0 10.03 real 19.20 user 15.51 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 97458, splice 51, unsplice 4821, max 0, idle 0, accept 1630, send 6421, recv 1046, close 101299, drop 0 10.03 real 24.61 user 17.63 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 197, splice 19, unsplice 0, max 7, idle 0, accept 54, send 463277, recv 418795, close 152, drop 0 10.01 real 25.46 user 17.23 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 4658, splice 1874, unsplice 0, max 0, idle 1548, accept 1985, send 239557, recv 136022, close 1190, drop 0 10.04 real 27.33 user 19.77 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 33931, accept 4447, send 110785, recv 9783, close 0, drop 2128 10.02 real 18.65 user 24.86 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 45, splice 12, unsplice 0, max 0, idle 0, accept 10, send 360212, recv 288724, close 0, drop 17 10.02 real 2.61 user 22.51 sys PASS sys/netinet/tcpthread Duration 1m21.35s