START sys/netinet/tcpthread 2025-01-25T03:58:34Z ==== 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 1022, accept 1, send 4, recv 1, close 1022, drop 0 10.01 real 30.09 user 0.02 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 252050, accept 9616, send 708869, recv 542139, close 251976, drop 0 0m10.03s real 0m06.40s user 0m20.23s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 535835, splice 9, unsplice 0, max 0, idle 0, accept 12, send 258, recv 50, close 535855, drop 0 10.04 real 12.53 user 27.31 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 2243, splice 23, unsplice 1263, max 0, idle 0, accept 36, send 1093113, recv 882355, close 402, drop 0 10.04 real 21.67 user 11.95 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 2592, splice 411, unsplice 0, max 314, idle 0, accept 419, send 1718637, recv 787637, close 339, drop 0 10.02 real 15.56 user 18.75 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 296686, splice 3038, unsplice 0, max 0, idle 2, accept 3756, send 24503, recv 4471, close 303021, drop 0 10.03 real 33.96 user 20.00 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 2774, accept 10, send 3230, recv 4, close 0, drop 10 10.03 real 10.39 user 39.54 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 36, splice 10, unsplice 0, max 0, idle 0, accept 11, send 851976, recv 258490, close 0, drop 29 10.02 real 4.70 user 30.70 sys PASS sys/netinet/tcpthread Duration 1m21.00s