START sys/netinet/tcpthread 2025-01-25T19:32:03Z ==== 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 4143, accept 51, send 197, recv 0, close 4143, drop 0 10.02 real 29.89 user 0.10 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 100, accept 100, send 27, recv 0, close 50, drop 0 0m10.21s real 0m23.39s user 0m06.64s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 295, splice 181, unsplice 0, max 0, idle 0, accept 199, send 833047, recv 710223, close 220, drop 0 10.05 real 12.57 user 12.52 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 675, splice 5, unsplice 655, max 0, idle 0, accept 73, send 46, recv 667, close 493, drop 0 10.11 real 32.48 user 7.04 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 257570, splice 99, unsplice 0, max 0, idle 0, accept 1540, send 13337, recv 1537, close 260405, drop 0 10.04 real 32.42 user 21.85 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 24, splice 5, unsplice 0, max 0, idle 0, accept 8, send 5, recv 16, close 14, drop 0 10.06 real 36.32 user 13.95 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 1986, accept 10, send 2253, recv 5, close 0, drop 10 10.01 real 8.92 user 40.12 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 2642, splice 736, unsplice 0, max 0, idle 0, accept 913, send 113154, recv 2102, close 0, drop 880 10.06 real 42.51 user 7.11 sys PASS sys/netinet/tcpthread Duration 1m21.28s