START sys/netinet/tcpthread 2025-01-30T02:43: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: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 500, accept 2, send 561, recv 2, close 2, drop 0 10.01 real 29.89 user 0.05 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 13607, accept 13600, send 6873, recv 20361, close 13530, drop 0 0m10.02s real 0m24.62s user 0m07.50s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 83, splice 6, unsplice 0, max 0, idle 0, accept 5, send 2, recv 73, close 76, drop 0 10.05 real 24.31 user 5.65 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 398691, splice 6, unsplice 38, max 0, idle 0, accept 11, send 1342958, recv 207830, close 398888, drop 0 10.11 real 17.50 user 25.07 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 800, splice 101, unsplice 0, max 93, idle 0, accept 110, send 6179, recv 90, close 122, drop 0 10.10 real 31.08 user 18.93 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 319476, splice 3013, unsplice 0, max 0, idle 3, accept 3825, send 28574, recv 4449, close 321659, drop 0 10.03 real 33.48 user 20.07 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 503, accept 10, send 855, recv 6, close 0, drop 10 10.03 real 9.87 user 40.01 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 29, splice 10, unsplice 0, max 0, idle 0, accept 8, send 865395, recv 264147, close 0, drop 22 10.04 real 4.43 user 31.46 sys PASS sys/netinet/tcpthread Duration 1m21.17s