START sys/netinet/tcpthread 2025-01-16T02:12: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 600, accept 28, send 9, recv 31, close 595, drop 0 10.04 real 30.17 user 0.02 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 261400, accept 18125, send 10539, recv 15172, close 261349, drop 0 0m10.05s real 0m11.01s user 0m25.40s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 293919, splice 131, unsplice 0, max 0, idle 0, accept 1117, send 21206, recv 1117, close 281884, drop 0 10.04 real 18.81 user 15.72 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 119529, splice 35, unsplice 394, max 0, idle 0, accept 1318, send 1695, recv 1008, close 124417, drop 0 10.03 real 32.79 user 9.98 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 52120, splice 828, unsplice 0, max 1, idle 0, accept 4194, send 529448, recv 278236, close 63484, drop 0 10.02 real 12.61 user 24.17 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 195395, splice 131, unsplice 0, max 0, idle 0, accept 2092, send 19920, recv 2285, close 193699, drop 0 10.03 real 32.04 user 20.34 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 1270, accept 1270, send 5331, recv 3449, close 0, drop 1270 10.03 real 19.49 user 29.02 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 10, splice 2, unsplice 0, max 0, idle 0, accept 3, send 7, recv 2, close 0, drop 8 10.03 real 50.10 user 0.07 sys PASS sys/netinet/tcpthread Duration 1m21.37s