START sys/netinet/tcpthread 2025-02-11T02:49:18Z ==== 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 1, accept 1, send 6, recv 0, close 1, drop 0 10.01 real 30.01 user 0.02 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 244250, accept 10954, send 742768, recv 584171, close 244173, drop 0 0m10.05s real 0m05.67s user 0m18.87s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 1692, splice 17, unsplice 0, max 0, idle 0, accept 17, send 684440, recv 525118, close 32, drop 0 10.14 real 12.71 user 8.35 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 304736, splice 55, unsplice 160, max 0, idle 0, accept 70, send 1657355, recv 363571, close 305114, drop 0 10.19 real 18.34 user 20.76 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 106, splice 7, unsplice 0, max 0, idle 0, accept 38, send 226, recv 97, close 116, drop 0 10.08 real 37.05 user 13.00 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 5029, splice 1359, unsplice 0, max 0, idle 1104, accept 1394, send 362031, recv 158695, close 1414, drop 0 10.04 real 29.38 user 19.19 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 32, accept 10, send 393, recv 5, close 0, drop 10 10.02 real 9.91 user 40.00 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 266, splice 10, unsplice 0, max 0, idle 0, accept 57, send 838259, recv 404156, close 0, drop 261 10.09 real 6.80 user 25.56 sys PASS sys/netinet/tcpthread Duration 1m21.39s