START sys/netinet/tcpthread 2025-02-16T19:39:14Z ==== 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 501, accept 1, send 507, recv 1, close 1, drop 0 10.02 real 30.11 user 0.00 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 10333, accept 10107, send 929778, recv 584081, close 10049, drop 0 0m10.01s real 0m12.29s user 0m14.64s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 278475, splice 35, unsplice 0, max 0, idle 0, accept 10, send 3691, recv 2384, close 279233, drop 0 10.02 real 21.02 user 14.81 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 107396, splice 100, unsplice 2988, max 0, idle 0, accept 841, send 3767, recv 2454, close 107980, drop 0 10.07 real 27.09 user 15.24 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 228055, splice 221, unsplice 0, max 2, idle 0, accept 1694, send 423581, recv 211882, close 233861, drop 0 10.10 real 22.37 user 24.50 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 237691, splice 86, unsplice 0, max 0, idle 3, accept 558, send 6968, recv 314, close 239348, drop 0 10.06 real 47.49 user 8.95 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 132, accept 10, send 383, recv 5, close 0, drop 10 10.01 real 9.64 user 40.15 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 10, splice 5, unsplice 0, max 0, idle 0, accept 6, send 726099, recv 379847, close 0, drop 3 10.05 real 3.62 user 24.15 sys PASS sys/netinet/tcpthread Duration 1m21.08s