START sys/netinet/tcpthread 2025-01-17T19:31:54Z ==== 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:649 (/usr/src/regress/sys/netinet/tcpthread/tcpthread.c:649)(tcpthread.o:(main)): warning: rand_r() is not random, it is deterministic. time ./tcpthread count: connect 1, accept 1, send 1, recv 0, close 1, drop 0 10.03 real 29.95 user 0.00 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 100, accept 100, send 22, recv 0, close 50, drop 0 0m10.21s real 0m23.32s user 0m06.84s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10, splice 2, unsplice 0, max 0, idle 0, accept 2, send 0, recv 0, close 4, drop 0 10.17 real 23.29 user 6.82 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 241446, splice 12, unsplice 240, max 0, idle 0, accept 10, send 11036, recv 5, close 238119, drop 0 10.03 real 31.10 user 12.79 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 264566, splice 135, unsplice 0, max 0, idle 0, accept 1527, send 16123, recv 1705, close 264752, drop 0 10.03 real 32.45 user 21.61 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 148594, splice 205, unsplice 0, max 0, idle 2, accept 844, send 7287, recv 545, close 152779, drop 0 10.06 real 33.26 user 19.14 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 1462, accept 1460, send 6581, recv 4430, close 0, drop 1457 10.01 real 19.93 user 28.89 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 33, splice 10, unsplice 0, max 0, idle 0, accept 20, send 684334, recv 302875, close 0, drop 25 10.01 real 2.86 user 20.45 sys PASS sys/netinet/tcpthread Duration 1m21.28s