START sys/netinet/tcpthread 2025-02-08T00:24:14Z ==== 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 736, accept 1, send 37, recv 0, close 706, drop 0 10.01 real 29.98 user 0.01 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 187077, accept 8338, send 188476, recv 130279, close 186988, drop 0 0m10.06s real 0m07.07s user 0m13.63s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 339225, splice 118, unsplice 0, max 0, idle 0, accept 974, send 31232, recv 966, close 316644, drop 0 10.03 real 18.21 user 17.70 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 2167, splice 17, unsplice 1515, max 0, idle 0, accept 304, send 396723, recv 182185, close 786, drop 0 10.06 real 21.06 user 12.38 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 166620, splice 175, unsplice 0, max 15, idle 0, accept 2723, send 216871, recv 91900, close 167499, drop 0 10.03 real 18.70 user 23.35 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 8088, splice 2061, unsplice 0, max 0, idle 1342, accept 2324, send 277392, recv 108415, close 2351, drop 0 10.04 real 27.16 user 20.44 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 146, accept 10, send 510, recv 2, close 0, drop 10 10.02 real 9.66 user 40.26 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 10, splice 3, unsplice 0, max 0, idle 0, accept 6, send 27, recv 3, close 0, drop 9 10.19 real 50.09 user 0.05 sys PASS sys/netinet/tcpthread Duration 1m21.54s