START sys/netinet/tcpthread 2025-02-10T19:35:42Z ==== 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:655 (/usr/src/regress/sys/netinet/tcpthread/tcpthread.c:655)(tcpthread.o:(main)): warning: rand_r() is not random, it is deterministic. time ./tcpthread count: connect 2981, accept 1, send 7, recv 0, close 2979, drop 0 10.01 real 30.07 user 0.15 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 100, accept 100, send 28, recv 0, close 50, drop 0 0m10.21s real 0m23.19s user 0m06.84s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 95616, splice 107, unsplice 0, max 0, idle 0, accept 564, send 2741, recv 1068, close 98465, drop 0 10.02 real 16.27 user 16.46 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 10, splice 0, unsplice 4, max 0, idle 0, accept 0, send 0, recv 0, close 5, drop 0 10.22 real 40.10 user 0.05 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 58, splice 6, unsplice 0, max 0, idle 0, accept 11, send 9, recv 49, close 47, drop 0 10.09 real 36.65 user 13.40 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 5323, splice 1177, unsplice 0, max 0, idle 991, accept 1326, send 269529, recv 132721, close 918, drop 0 10.09 real 28.24 user 20.69 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 53, accept 10, send 290, recv 4, close 0, drop 10 10.01 real 9.18 user 40.84 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 56, splice 10, unsplice 0, max 0, idle 0, accept 10, send 585609, recv 459594, close 0, drop 36 10.01 real 2.93 user 23.59 sys PASS sys/netinet/tcpthread Duration 1m21.40s