START sys/netinet/tcpthread 2025-01-31T04:35:35Z ==== 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 594, accept 34, send 43, recv 34, close 594, drop 0 10.03 real 30.09 user 0.03 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 8469, accept 8213, send 515409, recv 370405, close 8157, drop 0 0m10.59s real 0m11.90s user 0m12.99s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 342540, splice 47, unsplice 0, max 0, idle 0, accept 602, send 24465, recv 607, close 326740, drop 0 10.04 real 18.72 user 17.52 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 318379, splice 11, unsplice 334, max 0, idle 0, accept 10, send 23422, recv 14, close 303589, drop 0 10.04 real 28.53 user 16.84 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 146051, splice 306, unsplice 0, max 22, idle 0, accept 2881, send 216637, recv 132390, close 143552, drop 0 10.03 real 19.12 user 21.29 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 3830, splice 2017, unsplice 0, max 0, idle 1434, accept 2145, send 219976, recv 125733, close 2166, drop 0 10.07 real 27.40 user 20.22 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 19069, accept 3217, send 71295, recv 6765, close 0, drop 1564 10.02 real 18.34 user 27.75 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 11, splice 8, unsplice 0, max 0, idle 0, accept 7, send 413180, recv 171012, close 0, drop 4 10.05 real 3.26 user 21.69 sys PASS sys/netinet/tcpthread Duration 1m21.99s