START sys/netinet/tcpthread 2025-01-30T23:19:34Z ==== 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 712, accept 69, send 8, recv 70, close 710, drop 0 10.02 real 29.95 user 0.07 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 162445, accept 9938, send 221621, recv 154204, close 162395, drop 0 0m10.08s real 0m06.73s user 0m14.24s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 216627, splice 191, unsplice 0, max 0, idle 0, accept 1326, send 19345, recv 1642, close 209328, drop 0 10.04 real 18.94 user 14.89 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 10, splice 3, unsplice 5, max 0, idle 0, accept 3, send 1, recv 0, close 3, drop 0 10.15 real 33.70 user 6.51 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 211466, splice 200, unsplice 0, max 4, idle 0, accept 2380, send 16720, recv 2398, close 212086, drop 0 10.03 real 29.46 user 23.96 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 10, splice 1, unsplice 0, max 0, idle 0, accept 3, send 1, recv 1, close 5, drop 0 10.16 real 35.35 user 14.79 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 13, recv 5, close 0, drop 10 10.10 real 50.04 user 0.03 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 1686, splice 747, unsplice 0, max 0, idle 0, accept 866, send 98977, recv 2359, close 0, drop 800 10.04 real 25.72 user 21.73 sys PASS sys/netinet/tcpthread Duration 1m21.70s