START sys/netinet/tcpthread 2025-01-10T05:41:41Z ==== 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:645 (/usr/src/regress/sys/netinet/tcpthread/tcpthread.c:645)(tcpthread.o:(main)): warning: rand_r() is not random, it is deterministic. time ./tcpthread count: connect 499, accept 30, send 545, recv 1, close 30, drop 0 10.04 real 30.01 user 0.13 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 11089, accept 10723, send 507564, recv 336331, close 10670, drop 0 0m11.02s real 0m12.46s user 0m14.09s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 239924, splice 75, unsplice 0, max 0, idle 0, accept 1165, send 20053, recv 1175, close 228374, drop 0 10.03 real 19.35 user 15.26 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 327, splice 26, unsplice 8835186, max 0, idle 0, accept 86, send 261399, recv 207215, close 254, drop 0 10.05 real 14.66 user 14.85 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 560, splice 209, unsplice 0, max 168, idle 0, accept 289, send 674028, recv 402905, close 236, drop 0 10.10 real 14.90 user 19.22 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 115690, splice 527, unsplice 0, max 0, idle 2, accept 2579, send 616, recv 2609, close 124312, drop 0 10.07 real 32.75 user 20.55 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 53, accept 10, send 283, recv 7, close 0, drop 10 10.01 real 8.69 user 40.67 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 32, splice 10, unsplice 0, max 0, idle 0, accept 10, send 254949, recv 193730, close 0, drop 19 10.02 real 1.62 user 21.07 sys PASS sys/netinet/tcpthread Duration 1m22.46s