START sys/netinet/tcpthread 2025-01-26T19:31:02Z ==== 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 501, accept 1, send 510, recv 0, close 1, drop 0 10.01 real 29.97 user 0.05 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 219417, accept 14701, send 196675, recv 84978, close 168934, drop 0 0m10.03s real 0m15.65s user 0m15.38s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 1046, splice 19, unsplice 0, max 0, idle 0, accept 131, send 788145, recv 711716, close 677, drop 0 10.07 real 11.87 user 12.06 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 2383, splice 13, unsplice 2079, max 0, idle 0, accept 573, send 762268, recv 664818, close 1708, drop 0 10.03 real 19.43 user 11.12 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 1313, splice 219, unsplice 0, max 172, idle 0, accept 360, send 10064, recv 243, close 367, drop 0 10.17 real 29.32 user 20.73 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 20, splice 6, unsplice 0, max 0, idle 0, accept 7, send 2, recv 11, close 11, drop 0 10.11 real 36.62 user 13.45 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 307530, accept 2574, send 324772, recv 4259, close 0, drop 944 10.02 real 16.31 user 15.49 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 32, splice 10, unsplice 0, max 0, idle 0, accept 18, send 516933, recv 256126, close 0, drop 26 10.03 real 2.88 user 19.60 sys PASS sys/netinet/tcpthread Duration 1m21.20s