START sys/netinet/tcpthread 2025-01-15T05:36:13Z ==== 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 711, accept 119, send 804, recv 2, close 711, drop 0 10.02 real 29.91 user 0.05 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 259746, accept 19718, send 13271, recv 15810, close 259669, drop 0 0m10.05s real 0m11.53s user 0m24.76s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 80, splice 9, unsplice 0, max 0, idle 0, accept 23, send 393033, recv 272281, close 58, drop 0 10.14 real 11.96 user 8.93 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 217844, splice 7, unsplice 224, max 0, idle 0, accept 10, send 17180, recv 16, close 208349, drop 0 10.04 real 29.32 user 14.49 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 257415, splice 353, unsplice 0, max 1, idle 0, accept 63, send 14082, recv 44, close 259511, drop 0 10.04 real 23.18 user 31.18 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 217399, splice 192, unsplice 0, max 0, idle 14, accept 1128, send 19163, recv 67, close 220730, drop 0 10.04 real 23.39 user 31.47 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 38716, accept 3559, send 91048, recv 7381, close 0, drop 1696 10.02 real 18.52 user 26.15 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 10, splice 3, unsplice 0, max 0, idle 0, accept 3, send 97, recv 2, close 0, drop 7 10.15 real 43.71 user 6.22 sys PASS sys/netinet/tcpthread Duration 1m21.60s