START sys/netinet/tcpthread 2025-01-22T02:51: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 497, accept 3, send 596, recv 0, close 3, drop 0 10.02 real 29.92 user 0.08 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 466900, accept 234, send 1589, recv 76, close 466820, drop 0 0m10.20s real 0m12.55s user 0m27.09s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 543495, splice 6, unsplice 0, max 0, idle 0, accept 6, send 1582, recv 0, close 541936, drop 0 10.09 real 19.10 user 20.74 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 2042, splice 14, unsplice 1237, max 0, idle 0, accept 62, send 1032156, recv 884755, close 519, drop 0 10.04 real 20.99 user 11.03 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 54, splice 6, unsplice 0, max 0, idle 0, accept 9, send 32, recv 49, close 32, drop 0 10.08 real 37.08 user 13.10 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 427287, splice 1849, unsplice 0, max 0, idle 0, accept 10, send 37296, recv 36, close 429834, drop 0 10.04 real 32.21 user 22.79 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 27, recv 5, close 0, drop 10 10.10 real 49.97 user 0.03 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 77, splice 10, unsplice 0, max 0, idle 0, accept 15, send 502419, recv 308534, close 0, drop 35 10.02 real 4.85 user 34.64 sys PASS sys/netinet/tcpthread Duration 1m21.35s