START sys/netinet/tcpthread 2025-01-13T19:37:57Z ==== 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 1259, accept 1, send 7, recv 0, close 1259, drop 0 10.01 real 30.09 user 0.02 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 100, accept 100, send 18, recv 0, close 50, drop 0 0m10.21s real 0m22.92s user 0m07.20s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 42039, splice 176, unsplice 0, max 0, idle 0, accept 684, send 766060, recv 673705, close 47097, drop 0 10.06 real 12.18 user 12.36 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 335576, splice 19, unsplice 1065, max 0, idle 0, accept 252, send 13546, recv 270, close 324413, drop 0 10.13 real 37.64 user 8.35 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 629, splice 11, unsplice 0, max 2, idle 0, accept 176, send 954682, recv 581719, close 615, drop 0 10.05 real 14.33 user 17.40 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 255476, splice 91, unsplice 0, max 0, idle 3, accept 10, send 15377, recv 431, close 257807, drop 0 10.03 real 31.55 user 21.94 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 1738, accept 10, send 1980, recv 4, close 0, drop 10 10.01 real 8.60 user 40.32 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 1679, splice 375, unsplice 0, max 0, idle 0, accept 533, send 56985, recv 1291, close 0, drop 484 10.07 real 26.52 user 22.64 sys PASS sys/netinet/tcpthread Duration 1m21.30s