START	sys/netinet/tcpthread	2025-03-08T03:01:37Z

==== 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 2719, accept 2, send 15, recv 2, close 2719, drop 0
       10.03 real        29.92 user         0.08 sys

==== run-sock100 ====
ulimit -n 500; time  ./tcpthread -n100
count: connect 420950, accept 325, send 2116, recv 142, close 420888, drop 0
    0m10.16s real     0m15.49s user     0m21.39s system

==== run-splice ====
time  ./tcpthread -n10 -S2
count: connect 403441, splice 135, unsplice 0, max 0, idle 0, accept 170, send 3910, recv 550, close 403755, drop 0
       10.04 real        16.85 user        19.83 sys

==== run-unsplice ====
time  ./tcpthread -n10 -S2 -U1
count: connect 428136, splice 62, unsplice 318, max 0, idle 0, accept 10, send 2629, recv 791, close 428380, drop 0
       10.03 real        32.21 user        14.98 sys

==== run-max ====
time  ./tcpthread -n10 -S4 -M100 -s2 -r2
count: connect 1006, splice 520, unsplice 0, max 468, idle 0, accept 547, send 1029157, recv 901773, close 572, drop 0
       10.04 real        25.00 user        18.42 sys

==== run-idle ====
time  ./tcpthread -n10 -S4 -I100 -s2 -r2
count: connect 19, splice 7, unsplice 0, max 0, idle 0, accept 10, send 34, recv 9, close 10, drop 0
       10.06 real        36.75 user        13.15 sys

==== run-drop ====
time   ./tcpthread -n10 -D3 -o0
count: connect 2435, accept 2430, send 12844, recv 6885, close 0, drop 2430
       10.02 real        19.62 user        30.11 sys

==== run-splicedrop ====
time   ./tcpthread -n10 -S2 -D3 -o0
count: connect 10, splice 7, unsplice 0, max 0, idle 0, accept 6, send 155, recv 6, close 0, drop 9
       10.08 real        37.00 user        13.23 sys

PASS	sys/netinet/tcpthread	Duration 1m21.24s