START sys/netinet/tcpthread 2025-01-22T16:51:47Z ==== 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 1, accept 1, send 11, recv 0, close 1, drop 0 10.01 real 29.89 user 0.01 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 267250, accept 7891, send 726009, recv 563151, close 267190, drop 0 0m10.02s real 0m06.82s user 0m20.68s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10, splice 3, unsplice 0, max 0, idle 0, accept 3, send 1, recv 0, close 6, drop 0 10.14 real 24.66 user 5.35 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 825, splice 5, unsplice 231, max 0, idle 0, accept 34, send 22, recv 815, close 614, drop 0 10.03 real 34.40 user 5.81 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 3053, splice 83, unsplice 0, max 85, idle 0, accept 111, send 8485, recv 74, close 90, drop 0 10.11 real 30.34 user 19.59 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 16119, splice 1165, unsplice 0, max 0, idle 1061, accept 1193, send 401604, recv 268941, close 1209, drop 0 10.06 real 28.76 user 19.04 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 255943, accept 1020, send 291308, recv 3142, close 0, drop 813 10.02 real 17.61 user 30.89 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 35, splice 10, unsplice 0, max 0, idle 0, accept 17, send 975675, recv 288462, close 0, drop 30 10.05 real 3.18 user 29.62 sys PASS sys/netinet/tcpthread Duration 1m21.22s