START sys/netinet/tcpthread 2025-01-30T01:42: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: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 588, accept 39, send 12, recv 42, close 584, drop 0 10.01 real 29.97 user 0.04 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 12912, accept 12479, send 507785, recv 300667, close 12415, drop 0 0m10.61s real 0m12.20s user 0m14.44s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 284, splice 8, unsplice 0, max 0, idle 0, accept 55, send 39, recv 275, close 305, drop 0 10.11 real 23.56 user 6.53 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 433, splice 10, unsplice 345, max 0, idle 0, accept 123, send 405348, recv 294865, close 338, drop 0 10.06 real 22.63 user 9.61 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 7477, splice 321, unsplice 0, max 95, idle 0, accept 1113, send 19054, recv 455, close 728, drop 0 10.18 real 20.80 user 29.56 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 223004, splice 165, unsplice 0, max 0, idle 3, accept 2453, send 17100, recv 2473, close 224213, drop 0 10.07 real 29.87 user 24.81 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 36958, accept 3750, send 88608, recv 7381, close 0, drop 1701 10.02 real 18.77 user 25.66 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 55, splice 10, unsplice 0, max 0, idle 0, accept 35, send 546782, recv 181870, close 0, drop 50 10.08 real 3.71 user 18.68 sys PASS sys/netinet/tcpthread Duration 1m22.24s