START sys/netinet/tcpthread 2025-01-27T19:33: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 1, accept 1, send 6, recv 0, close 1, drop 0 10.01 real 29.97 user 0.00 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 10582, accept 10582, send 5218, recv 15707, close 10532, drop 0 0m10.37s real 0m23.30s user 0m07.74s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 310835, splice 9, unsplice 0, max 0, idle 0, accept 221, send 1916, recv 213, close 310653, drop 0 10.06 real 21.71 user 14.94 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 188782, splice 12, unsplice 45, max 0, idle 0, accept 225, send 726, recv 123, close 189950, drop 0 10.05 real 37.32 user 7.15 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 100025, splice 236, unsplice 0, max 0, idle 0, accept 1339, send 1522, recv 2746, close 103808, drop 0 10.09 real 29.30 user 23.40 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 5528, splice 1765, unsplice 0, max 0, idle 1429, accept 1970, send 347813, recv 161578, close 1287, drop 0 10.09 real 29.07 user 18.92 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 12, recv 5, close 0, drop 10 10.11 real 49.93 user 0.03 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 10, splice 2, unsplice 0, max 0, idle 0, accept 2, send 97, recv 1, close 0, drop 1 10.17 real 43.32 user 6.66 sys PASS sys/netinet/tcpthread Duration 1m21.68s