START sys/netinet/tcpthread 2025-02-07T16:38:21Z ==== 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:655 (/usr/src/regress/sys/netinet/tcpthread/tcpthread.c:655)(tcpthread.o:(main)): warning: rand_r() is not random, it is deterministic. time ./tcpthread count: connect 572, accept 27, send 16, recv 27, close 556, drop 0 10.01 real 30.00 user 0.07 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 100, accept 100, send 24, recv 0, close 50, drop 0 0m10.21s real 0m23.55s user 0m06.69s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 116180, splice 169, unsplice 0, max 0, idle 0, accept 1130, send 4620, recv 13, close 121624, drop 0 10.02 real 14.17 user 18.34 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 40, splice 5, unsplice 14, max 0, idle 0, accept 8, send 4, recv 30, close 25, drop 0 10.08 real 33.88 user 6.35 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 290313, splice 205, unsplice 0, max 0, idle 0, accept 516, send 20817, recv 507, close 287060, drop 0 10.05 real 29.56 user 26.16 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 200896, splice 266, unsplice 0, max 0, idle 6, accept 2804, send 22735, recv 2752, close 197184, drop 0 10.10 real 30.50 user 23.76 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 20, recv 5, close 0, drop 10 10.11 real 50.07 user 0.01 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 46, splice 12, unsplice 0, max 0, idle 0, accept 10, send 331696, recv 269166, close 0, drop 23 10.02 real 2.25 user 22.56 sys PASS sys/netinet/tcpthread Duration 1m21.71s