START sys/netinet/tcpthread 2025-01-25T06:42:36Z ==== 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 1599, accept 499, send 504, recv 499, close 1598, drop 0 10.01 real 29.86 user 0.25 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 9008, accept 8657, send 601907, recv 366218, close 8595, drop 0 0m10.02s real 0m13.74s user 0m11.79s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 254063, splice 1299, unsplice 0, max 0, idle 0, accept 10, send 38555, recv 28, close 238628, drop 0 10.04 real 20.16 user 14.01 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 212, splice 32, unsplice 104, max 0, idle 0, accept 43, send 546340, recv 329980, close 52, drop 0 10.07 real 24.30 user 8.72 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 76, splice 15, unsplice 0, max 5, idle 0, accept 19, send 386858, recv 187879, close 32, drop 0 10.07 real 23.41 user 11.87 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 79128, splice 2113, unsplice 0, max 0, idle 4, accept 1210, send 53295, recv 2553, close 55031, drop 0 10.08 real 24.07 user 12.91 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 23, accept 10, send 279, recv 4, close 0, drop 10 10.01 real 13.17 user 26.65 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 25, splice 10, unsplice 0, max 0, idle 0, accept 13, send 382956, recv 106601, close 0, drop 18 10.01 real 6.05 user 22.04 sys PASS sys/netinet/tcpthread Duration 1m21.47s