START sys/netinet/tcpthread 2025-01-23T05:30:13Z ==== 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 501, accept 36, send 515, recv 1, close 36, drop 0 10.01 real 30.06 user 0.00 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 231558, accept 15465, send 8846, recv 13401, close 231502, drop 0 0m10.07s real 0m11.68s user 0m23.63s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 70171, splice 196, unsplice 0, max 0, idle 0, accept 1781, send 523533, recv 258980, close 75705, drop 0 10.15 real 10.24 user 12.64 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 327533, splice 9, unsplice 180, max 0, idle 0, accept 10, send 22147, recv 9, close 313434, drop 0 10.04 real 28.00 user 17.11 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 265725, splice 262, unsplice 0, max 6, idle 0, accept 2071, send 21667, recv 1983, close 261001, drop 0 10.04 real 31.21 user 23.34 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 22, splice 6, unsplice 0, max 0, idle 0, accept 8, send 2, recv 15, close 13, drop 0 10.11 real 36.53 user 13.73 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 14, recv 5, close 0, drop 10 10.10 real 50.01 user 0.03 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 2751, splice 1044, unsplice 0, max 0, idle 0, accept 1192, send 151283, recv 3046, close 0, drop 1183 10.01 real 34.27 user 13.46 sys PASS sys/netinet/tcpthread Duration 1m21.62s