START sys/netinet/tcpthread 2025-01-06T05:39:00Z ==== 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:582 (/usr/src/regress/sys/netinet/tcpthread/tcpthread.c:582)(tcpthread.o:(main)): warning: rand_r() is not random, it is deterministic. time ./tcpthread count: connect 769, accept 20, send 27, recv 20, close 769 10.03 real 29.95 user 0.09 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 100, accept 100, send 21, recv 0, close 50 0m10.22s real 0m23.25s user 0m06.72s system ==== run-splice ==== time ./tcpthread -n10 -S1 count: connect 10, splice 5, unsplice 0, max 0, idle 0, accept 8, send 3, recv 1, close 9 10.12 real 23.62 user 6.45 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 396, splice 6, unsplice 723249, max 0, idle 0, accept 91, send 57, recv 387, close 471 10.09 real 32.86 user 7.45 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 10, splice 3, unsplice 0, max 0, idle 0, accept 4, send 3, recv 2, close 8 10.15 real 35.82 user 14.40 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 3721, splice 1633, unsplice 0, max 0, idle 1445, accept 1744, send 306187, recv 161558, close 1044 10.11 real 28.09 user 22.44 sys PASS sys/netinet/tcpthread Duration 1m01.67s