START sys/netinet/tcpthread 2025-01-31T03:05:08Z ==== 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 794, accept 47, send 233, recv 64, close 592, drop 0 10.03 real 27.76 user 0.18 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 100, accept 100, send 30, recv 0, close 50, drop 0 0m10.77s real 0m19.54s user 0m05.13s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 57282, splice 1685, unsplice 0, max 0, idle 0, accept 234, send 2188, recv 598, close 61506, drop 0 10.04 real 11.50 user 11.66 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 135055, splice 662, unsplice 1154, max 0, idle 0, accept 819, send 49533, recv 1039, close 95515, drop 0 10.08 real 19.25 user 8.10 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 128663, splice 562, unsplice 0, max 85, idle 0, accept 705, send 213970, recv 53323, close 85274, drop 0 10.05 real 12.87 user 12.01 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 44, splice 23, unsplice 0, max 0, idle 17, accept 21, send 2082, recv 27, close 26, drop 0 10.23 real 19.79 user 7.08 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 8379, accept 1614, send 63913, recv 5535, close 0, drop 1422 10.01 real 15.72 user 21.32 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 23, splice 10, unsplice 0, max 0, idle 0, accept 7, send 164687, recv 38139, close 0, drop 19 10.05 real 4.74 user 21.98 sys PASS sys/netinet/tcpthread Duration 1m22.09s