START sys/netinet/tcpthread 2025-02-14T05:35:36Z ==== 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 0, recv 0, close 1, drop 0 10.01 real 29.96 user 0.01 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 100, accept 100, send 26, recv 0, close 50, drop 0 0m10.22s real 0m23.76s user 0m06.49s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 113894, splice 321, unsplice 0, max 0, idle 0, accept 908, send 3228, recv 445, close 119660, drop 0 10.04 real 28.45 user 4.16 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 253070, splice 19, unsplice 518, max 0, idle 0, accept 10, send 35317, recv 12, close 225962, drop 0 10.04 real 28.82 user 16.02 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 217187, splice 259, unsplice 0, max 8, idle 0, accept 2701, send 37113, recv 1973, close 200730, drop 0 10.02 real 33.22 user 20.53 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 304174, splice 614, unsplice 0, max 0, idle 1, accept 3031, send 25738, recv 3063, close 294564, drop 0 10.03 real 30.56 user 25.01 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 27169, accept 3902, send 93764, recv 8456, close 0, drop 1917 10.01 real 18.88 user 26.86 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 10, splice 4, unsplice 0, max 0, idle 0, accept 5, send 230, recv 3, close 0, drop 3 10.17 real 43.91 user 6.09 sys PASS sys/netinet/tcpthread Duration 1m21.66s