START sys/netinet/tcpthread 2025-02-10T05:32:20Z ==== 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 724, accept 25, send 247, recv 0, close 724, drop 0 10.01 real 30.04 user 0.09 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 226000, accept 15287, send 15188, recv 11000, close 225927, drop 0 0m10.05s real 0m11.69s user 0m23.80s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 155106, splice 253, unsplice 0, max 0, idle 0, accept 1210, send 346811, recv 190777, close 160769, drop 0 10.03 real 10.42 user 15.74 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 190711, splice 97, unsplice 5082, max 0, idle 0, accept 1878, send 58429, recv 1963, close 141993, drop 0 10.03 real 34.17 user 7.87 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 16, splice 7, unsplice 0, max 0, idle 0, accept 8, send 6, recv 11, close 10, drop 0 10.11 real 36.89 user 13.20 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 278160, splice 503, unsplice 0, max 0, idle 2, accept 2811, send 22010, recv 2908, close 272198, drop 0 10.08 real 30.18 user 24.93 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 32, accept 10, send 271, recv 5, close 0, drop 10 10.02 real 7.37 user 41.53 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 23, splice 13, unsplice 0, max 0, idle 0, accept 10, send 371034, recv 269580, close 0, drop 5 10.02 real 2.62 user 22.75 sys PASS sys/netinet/tcpthread Duration 1m21.45s