START sys/netinet/tcpthread 2025-02-22T06:46:12Z ==== 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 271, accept 185, send 7740, recv 174, close 185, drop 0 10.04 real 24.32 user 5.84 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 146282, accept 26450, send 4356, recv 25675, close 146185, drop 0 0m10.03s real 0m15.55s user 0m18.32s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 103, splice 15, unsplice 0, max 0, idle 0, accept 17, send 526425, recv 472888, close 66, drop 0 10.02 real 13.11 user 8.66 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 61, splice 12, unsplice 35, max 0, idle 0, accept 22, send 395648, recv 264154, close 36, drop 0 10.10 real 21.92 user 8.70 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 690, splice 414, unsplice 0, max 400, idle 0, accept 457, send 346519, recv 115016, close 289, drop 0 10.15 real 24.86 user 10.59 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 31121, splice 1770, unsplice 0, max 0, idle 2, accept 2090, send 1885, recv 3172, close 33272, drop 0 10.03 real 20.79 user 17.56 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 28, accept 10, send 483, recv 5, close 0, drop 10 10.01 real 12.25 user 27.81 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 290, splice 158, unsplice 0, max 0, idle 0, accept 169, send 20659, recv 448, close 0, drop 169 10.12 real 30.55 user 8.92 sys PASS sys/netinet/tcpthread Duration 1m21.70s