START sys/netinet/tcpthread 2025-02-02T17:41:14Z ==== 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 1105, accept 4, send 66, recv 2, close 1105, drop 0 10.03 real 30.04 user 0.03 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 19485, accept 15460, send 3009695, recv 845474, close 15398, drop 0 0m10.09s real 0m12.36s user 0m14.85s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 1188, splice 57, unsplice 0, max 0, idle 0, accept 59, send 2381545, recv 490056, close 51, drop 0 10.08 real 15.62 user 14.52 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 2926, splice 25, unsplice 122, max 0, idle 0, accept 27, send 7032, recv 17, close 45, drop 0 10.18 real 34.47 user 5.63 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 78, splice 8, unsplice 0, max 0, idle 0, accept 21, send 44, recv 82, close 61, drop 0 10.08 real 37.24 user 12.77 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 329397, splice 4379, unsplice 0, max 0, idle 4, accept 4816, send 71116, recv 3089, close 325214, drop 0 10.14 real 44.60 user 9.74 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 1150, accept 10, send 1549, recv 6, close 0, drop 10 10.01 real 10.42 user 39.42 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 55, splice 14, unsplice 0, max 0, idle 0, accept 10, send 2821728, recv 1139476, close 0, drop 21 10.02 real 7.66 user 42.03 sys PASS sys/netinet/tcpthread Duration 1m21.40s