START sys/netinet/tcpthread 2025-02-10T14:49:38Z ==== 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 501, accept 25, send 507, recv 2, close 24, drop 0 10.02 real 29.96 user 0.04 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 33654, accept 30468, send 381229, recv 13546, close 30417, drop 0 0m10.13s real 0m13.79s user 0m19.33s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 109881, splice 103, unsplice 0, max 0, idle 0, accept 1357, send 346112, recv 213340, close 115138, drop 0 10.03 real 10.91 user 13.71 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 517, splice 10, unsplice 99, max 0, idle 0, accept 91, send 3311, recv 48, close 151, drop 0 10.18 real 33.57 user 6.62 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 19, splice 5, unsplice 0, max 0, idle 0, accept 8, send 8, recv 10, close 16, drop 0 10.12 real 36.62 user 13.78 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 37, splice 6, unsplice 0, max 0, idle 0, accept 15, send 12, recv 31, close 30, drop 0 10.08 real 37.09 user 13.28 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 9, recv 5, close 0, drop 10 10.12 real 50.05 user 0.01 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 1006, splice 305, unsplice 0, max 0, idle 0, accept 408, send 36914, recv 857, close 0, drop 401 10.04 real 26.23 user 22.78 sys PASS sys/netinet/tcpthread Duration 1m21.81s