START	sys/netinet/tcpthread	2025-03-08T06:02:08Z

==== 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 499, accept 1, send 545, recv 1, close 1, drop 0
       10.03 real        29.91 user         0.07 sys

==== run-sock100 ====
ulimit -n 500; time  ./tcpthread -n100
count: connect 33813, accept 30723, send 398891, recv 13785, close 30658, drop 0
    0m10.03s real     0m14.59s user     0m18.84s system

==== run-splice ====
time  ./tcpthread -n10 -S2
count: connect 326709, splice 96, unsplice 0, max 0, idle 0, accept 10, send 23047, recv 18, close 312035, drop 0
       10.04 real        19.17 user        17.44 sys

==== run-unsplice ====
time  ./tcpthread -n10 -S2 -U1
count: connect 10, splice 3, unsplice 6, max 0, idle 0, accept 4, send 2, recv 1, close 5, drop 0
       10.16 real        33.71 user         6.38 sys

==== run-max ====
time  ./tcpthread -n10 -S4 -M100 -s2 -r2
count: connect 239920, splice 266, unsplice 0, max 5, idle 0, accept 743, send 18161, recv 42, close 241187, drop 0
       10.04 real        22.88 user        33.14 sys

==== run-idle ====
time  ./tcpthread -n10 -S4 -I100 -s2 -r2
count: connect 172293, splice 846, unsplice 0, max 0, idle 0, accept 3022, send 1672, recv 3155, close 183853, drop 0
       10.03 real        26.14 user        28.13 sys

==== run-drop ====
time   ./tcpthread -n10 -D3 -o0
count: connect 1290, accept 1285, send 5627, recv 3633, close 0, drop 1285
       10.01 real        19.79 user        28.94 sys

==== run-splicedrop ====
time   ./tcpthread -n10 -S2 -D3 -o0
count: connect 10, splice 4, unsplice 0, max 0, idle 0, accept 5, send 104, recv 3, close 0, drop 7
       10.14 real        36.23 user        13.73 sys

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