START sys/netinet/tcpthread 2025-02-07T16:21: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:655 (/usr/src/regress/sys/netinet/tcpthread/tcpthread.c:655)(tcpthread.o:(main)): warning: rand_r() is not random, it is deterministic. time ./tcpthread count: connect 212, accept 211, send 163, recv 374, close 211, drop 0 10.01 real 26.91 user 3.24 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 43301, accept 13535, send 1076292, recv 590910, close 13464, drop 0 0m10.02s real 0m13.89s user 0m14.13s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 394057, splice 94, unsplice 0, max 0, idle 0, accept 104, send 636511, recv 164797, close 394330, drop 0 10.12 real 17.33 user 16.19 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 427156, splice 533, unsplice 2437, max 0, idle 0, accept 10, send 8077, recv 6266, close 423876, drop 0 10.04 real 31.77 user 15.22 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 238855, splice 476, unsplice 0, max 17, idle 0, accept 468, send 818658, recv 491564, close 227009, drop 0 10.03 real 20.72 user 21.46 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 349830, splice 4516, unsplice 0, max 0, idle 0, accept 10, send 64523, recv 130, close 340323, drop 0 10.05 real 32.30 user 21.14 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 63, recv 4, close 0, drop 10 10.09 real 50.16 user 0.02 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 61, splice 10, unsplice 0, max 0, idle 0, accept 10, send 880497, recv 721986, close 0, drop 16 10.01 real 4.77 user 32.18 sys PASS sys/netinet/tcpthread Duration 1m21.14s