START sys/netinet/tcpthread 2025-02-06T05:24:30Z ==== 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 220, accept 219, send 198, recv 417, close 219, drop 0 10.03 real 26.32 user 3.69 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 11624, accept 11252, send 497051, recv 319990, close 11187, drop 0 0m10.01s real 0m12.63s user 0m14.72s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 271374, splice 104, unsplice 0, max 0, idle 0, accept 1103, send 21352, recv 1149, close 260181, drop 0 10.03 real 19.11 user 15.79 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 2089, splice 12, unsplice 1767, max 0, idle 0, accept 347, send 456218, recv 394683, close 1028, drop 0 10.04 real 18.50 user 11.83 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 2053, splice 843, unsplice 0, max 652, idle 0, accept 1005, send 797691, recv 362956, close 668, drop 0 10.04 real 14.98 user 19.74 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 3370, splice 1716, unsplice 0, max 0, idle 1370, accept 1852, send 194462, recv 135186, close 1896, drop 0 10.06 real 26.83 user 20.97 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 44, accept 10, send 276, recv 7, close 0, drop 10 10.02 real 10.60 user 39.14 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 10, splice 2, unsplice 0, max 0, idle 0, accept 2, send 142, recv 1, close 0, drop 1 10.18 real 44.08 user 6.11 sys PASS sys/netinet/tcpthread Duration 1m21.52s