START sys/netinet/tcpthread 2025-02-01T19:35:58Z ==== 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 501, accept 1, send 508, recv 1, close 1, drop 0 10.01 real 30.07 user 0.01 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 13578, accept 13578, send 6740, recv 20237, close 13528, drop 0 0m10.45s real 0m23.44s user 0m08.28s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 300761, splice 14, unsplice 0, max 0, idle 0, accept 288, send 2864, recv 280, close 300259, drop 0 10.06 real 21.49 user 15.08 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 211373, splice 7, unsplice 50, max 0, idle 0, accept 229, send 689, recv 122, close 212458, drop 0 10.12 real 37.39 user 7.95 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 340, splice 13, unsplice 0, max 3, idle 0, accept 89, send 945084, recv 580306, close 295, drop 0 10.01 real 14.60 user 20.12 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 5787, splice 1562, unsplice 0, max 0, idle 1283, accept 1739, send 314330, recv 193685, close 1125, drop 0 10.02 real 30.32 user 17.36 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 1431, accept 1428, send 6343, recv 4306, close 0, drop 1426 10.01 real 19.96 user 29.56 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 10, splice 3, unsplice 0, max 0, idle 0, accept 6, send 15, recv 0, close 0, drop 5 10.15 real 43.35 user 6.69 sys PASS sys/netinet/tcpthread Duration 1m21.56s