START sys/netinet/tcpthread 2025-02-14T18:17:29Z ==== 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 501, accept 11, send 534, recv 1, close 11, drop 0 10.01 real 30.19 user 0.00 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 349423, accept 100, send 270743, recv 0, close 117726, drop 0 0m10.05s real 0m11.97s user 0m16.90s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 62, splice 9, unsplice 0, max 0, idle 0, accept 14, send 661663, recv 463044, close 23, drop 0 10.04 real 11.92 user 10.01 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 3031, splice 11, unsplice 2204, max 0, idle 0, accept 164, send 808357, recv 688140, close 2000, drop 0 10.01 real 20.24 user 10.21 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 343433, splice 54, unsplice 0, max 11, idle 0, accept 455, send 14543, recv 400, close 333671, drop 0 10.07 real 30.93 user 24.78 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 376051, splice 550, unsplice 0, max 0, idle 48, accept 10, send 73422, recv 5592, close 340025, drop 0 10.03 real 24.83 user 29.74 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 15, recv 5, close 0, drop 10 10.10 real 50.10 user 0.02 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 36, splice 12, unsplice 0, max 0, idle 0, accept 10, send 643189, recv 403216, close 0, drop 17 10.02 real 2.04 user 27.94 sys PASS sys/netinet/tcpthread Duration 1m20.89s