START sys/netinet/tcpthread 2025-01-27T05:32:33Z ==== 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 552, accept 16, send 10, recv 19, close 552, drop 0 10.03 real 29.90 user 0.06 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 11926, accept 11926, send 5886, recv 17704, close 11876, drop 0 0m10.50s real 0m23.58s user 0m08.39s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 425, splice 15, unsplice 0, max 0, idle 0, accept 93, send 496040, recv 456845, close 420, drop 0 10.05 real 12.20 user 12.04 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 115779, splice 27, unsplice 392, max 0, idle 0, accept 672, send 2535, recv 11, close 120675, drop 0 10.03 real 24.58 user 18.03 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 68, splice 12, unsplice 0, max 2, idle 0, accept 19, send 485819, recv 423972, close 46, drop 0 10.13 real 25.64 user 17.66 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 10, splice 2, unsplice 0, max 0, idle 0, accept 4, send 3, recv 2, close 4, drop 0 10.06 real 50.08 user 0.12 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 1298, accept 1293, send 5362, recv 3451, close 0, drop 1293 10.01 real 19.34 user 29.35 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 39, splice 11, unsplice 0, max 0, idle 0, accept 10, send 335447, recv 277910, close 0, drop 21 10.02 real 1.99 user 22.30 sys PASS sys/netinet/tcpthread Duration 1m21.94s