START sys/netinet/tcpthread 2025-02-01T06:13:38Z ==== 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 1, accept 1, send 10, recv 0, close 1, drop 0 10.01 real 29.97 user 0.00 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 141423, accept 29397, send 77570, recv 52311, close 103942, drop 0 0m10.03s real 0m18.07s user 0m14.88s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 258945, splice 1530, unsplice 0, max 0, idle 0, accept 10, send 41443, recv 4, close 238698, drop 0 10.04 real 20.10 user 13.91 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 1755, splice 74, unsplice 962, max 0, idle 0, accept 209, send 197880, recv 58963, close 560, drop 0 10.06 real 25.96 user 9.40 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 4324, splice 1181, unsplice 0, max 1092, idle 0, accept 1355, send 650797, recv 327173, close 1362, drop 0 10.04 real 12.35 user 18.40 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 18, splice 7, unsplice 0, max 0, idle 0, accept 6, send 38, recv 8, close 10, drop 0 10.16 real 32.76 user 7.32 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 3364, accept 1604, send 48935, recv 4931, close 0, drop 1452 10.02 real 18.26 user 21.13 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 51, splice 10, unsplice 0, max 0, idle 0, accept 16, send 125582, recv 75144, close 0, drop 34 10.02 real 8.18 user 24.52 sys PASS sys/netinet/tcpthread Duration 1m21.53s