START sys/netinet/tcpthread 2025-01-22T05:32:09Z ==== 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 500, accept 27, send 547, recv 0, close 27, drop 0 10.04 real 29.88 user 0.05 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 100, accept 100, send 27, recv 0, close 50, drop 0 0m10.21s real 0m23.27s user 0m06.95s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 78953, splice 343, unsplice 0, max 0, idle 0, accept 1732, send 301312, recv 146849, close 84596, drop 0 10.03 real 9.48 user 12.50 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 10, splice 2, unsplice 6, max 0, idle 0, accept 3, send 1, recv 0, close 1, drop 0 10.18 real 33.16 user 6.94 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 220236, splice 168, unsplice 0, max 4, idle 0, accept 2378, send 16826, recv 2437, close 221473, drop 0 10.03 real 29.88 user 23.68 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 4897, splice 2313, unsplice 0, max 0, idle 1880, accept 2513, send 283854, recv 120826, close 1331, drop 0 10.02 real 30.02 user 17.06 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 50, accept 10, send 366, recv 3, close 0, drop 10 10.02 real 9.43 user 39.33 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 2838, splice 1092, unsplice 0, max 0, idle 0, accept 1262, send 148327, recv 3367, close 0, drop 1163 10.03 real 24.78 user 21.95 sys PASS sys/netinet/tcpthread Duration 1m21.65s