START sys/netinet/tcpthread 2025-02-10T18:05:39Z ==== 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 1863, accept 2, send 18, recv 2, close 1863, drop 0 10.03 real 29.99 user 0.09 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 46498, accept 12468, send 1049231, recv 593096, close 12412, drop 0 0m10.10s real 0m13.94s user 0m14.45s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 286569, splice 154, unsplice 0, max 0, idle 0, accept 155, send 796729, recv 187632, close 287142, drop 0 10.04 real 9.99 user 20.05 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 2109, splice 21, unsplice 214, max 0, idle 0, accept 29, send 1130832, recv 965786, close 330, drop 0 10.06 real 23.29 user 11.19 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 18, splice 8, unsplice 0, max 0, idle 0, accept 10, send 14, recv 13, close 13, drop 0 10.06 real 37.76 user 12.44 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 5684, splice 1450, unsplice 0, max 0, idle 1324, accept 1485, send 454160, recv 250125, close 866, drop 0 10.05 real 29.95 user 18.20 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 18, recv 5, close 0, drop 10 10.11 real 50.07 user 0.00 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 10, splice 4, unsplice 0, max 0, idle 0, accept 7, send 281, recv 6, close 0, drop 9 10.13 real 36.81 user 13.26 sys PASS sys/netinet/tcpthread Duration 1m21.35s