START sys/netinet/tcpthread 2025-01-15T03:02:17Z ==== 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 232, accept 231, send 125, recv 348, close 231, drop 0 10.04 real 26.87 user 3.01 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 532199, accept 454, send 539492, recv 49, close 392, drop 0 0m10.03s real 0m19.01s user 0m20.61s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 541615, splice 7, unsplice 0, max 0, idle 0, accept 9, send 376, recv 4, close 541274, drop 0 10.04 real 18.36 user 21.12 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 447353, splice 265, unsplice 2364, max 0, idle 0, accept 112, send 1989, recv 3474, close 446158, drop 0 10.03 real 23.00 user 26.30 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 341001, splice 196, unsplice 0, max 6, idle 0, accept 335, send 570401, recv 340911, close 327224, drop 0 10.05 real 20.03 user 26.74 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 7955, splice 615, unsplice 0, max 0, idle 513, accept 658, send 121355, recv 16052, close 414, drop 0 10.08 real 32.14 user 17.64 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 1337, accept 1337, send 7043, recv 3732, close 0, drop 1337 10.09 real 20.08 user 29.96 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 10, splice 5, unsplice 0, max 0, idle 0, accept 4, send 240, recv 2, close 0, drop 8 10.12 real 36.69 user 13.35 sys PASS sys/netinet/tcpthread Duration 1m21.26s