START sys/netinet/tcpthread 2025-02-05T16:09:20Z ==== 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 1302, accept 1, send 23, recv 0, close 1293, drop 0 10.01 real 30.02 user 0.02 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 142450, accept 9326, send 1220509, recv 883589, close 142371, drop 0 0m10.06s real 0m04.16s user 0m19.15s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 97, splice 7, unsplice 0, max 0, idle 0, accept 6, send 29, recv 87, close 80, drop 0 10.13 real 24.18 user 5.85 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 1091, splice 55, unsplice 274, max 0, idle 0, accept 117, send 2974803, recv 458919, close 209, drop 0 10.06 real 25.01 user 14.69 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 136984, splice 4022, unsplice 0, max 0, idle 0, accept 4211, send 40547, recv 3322, close 144510, drop 0 10.03 real 36.24 user 14.40 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 300753, splice 4653, unsplice 0, max 0, idle 6, accept 4901, send 75225, recv 3176, close 290633, drop 0 10.06 real 43.56 user 10.23 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 90642, accept 4518, send 132896, recv 6562, close 0, drop 2638 10.02 real 18.09 user 32.24 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 10, splice 5, unsplice 0, max 0, idle 0, accept 6, send 189, recv 3, close 0, drop 9 10.15 real 36.86 user 13.25 sys PASS sys/netinet/tcpthread Duration 1m21.29s