START sys/netinet/tcpthread 2025-01-24T01:49: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 1030, accept 1, send 15, recv 1, close 1030, drop 0 10.01 real 30.00 user 0.08 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 13105, accept 13100, send 6486, recv 19483, close 13029, drop 0 0m10.01s real 0m24.58s user 0m07.37s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 543345, splice 7, unsplice 0, max 0, idle 0, accept 6, send 12, recv 3, close 543361, drop 0 10.09 real 23.55 user 16.00 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 291, splice 7, unsplice 282, max 0, idle 0, accept 6, send 3, recv 281, close 153, drop 0 10.14 real 33.97 user 5.86 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 88, splice 8, unsplice 0, max 0, idle 0, accept 10, send 31, recv 79, close 64, drop 0 10.06 real 37.62 user 12.35 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 407835, splice 2243, unsplice 0, max 0, idle 1, accept 650, send 40668, recv 29, close 400808, drop 0 10.05 real 25.93 user 27.22 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 19, recv 5, close 0, drop 10 10.12 real 49.93 user 0.02 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 10, splice 3, unsplice 0, max 0, idle 0, accept 3, send 98, recv 2, close 0, drop 6 10.16 real 45.04 user 5.15 sys PASS sys/netinet/tcpthread Duration 1m21.40s