START sys/netinet/tcpthread 2025-01-21T05:30:14Z ==== 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 1, accept 1, send 13, recv 0, close 1, drop 0 10.01 real 30.00 user 0.00 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 12134, accept 11771, send 511122, recv 318156, close 11693, drop 0 0m10.39s real 0m11.73s user 0m13.91s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 142839, splice 239, unsplice 0, max 0, idle 0, accept 935, send 3001, recv 457, close 148569, drop 0 10.10 real 27.76 user 5.20 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 307862, splice 17, unsplice 262, max 0, idle 0, accept 10, send 22322, recv 23, close 293918, drop 0 10.04 real 28.65 user 16.78 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 259017, splice 178, unsplice 0, max 4, idle 0, accept 1832, send 22606, recv 1579, close 254550, drop 0 10.03 real 31.69 user 22.54 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 6270, splice 865, unsplice 0, max 0, idle 578, accept 1244, send 142666, recv 51273, close 726, drop 0 10.02 real 20.56 user 27.74 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 14504, accept 3005, send 64078, recv 6767, close 0, drop 1553 10.02 real 19.41 user 27.84 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 18, splice 10, unsplice 0, max 0, idle 0, accept 13, send 444669, recv 181567, close 0, drop 15 10.05 real 2.14 user 18.29 sys PASS sys/netinet/tcpthread Duration 1m21.78s