START sys/netinet/tcpthread 2025-02-06T19:38:41Z ==== 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 202, accept 202, send 118, recv 313, close 202, drop 0 10.01 real 26.00 user 4.13 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 176202, accept 16631, send 239688, recv 107113, close 151748, drop 0 0m10.03s real 0m16.33s user 0m15.53s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 625, splice 7, unsplice 0, max 0, idle 0, accept 64, send 60, recv 616, close 582, drop 0 10.07 real 23.24 user 6.79 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 1870, splice 4, unsplice 222, max 0, idle 0, accept 164, send 9641, recv 95, close 238, drop 0 10.11 real 33.25 user 6.98 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 198139, splice 186, unsplice 0, max 9, idle 0, accept 1510, send 454173, recv 220041, close 203482, drop 0 10.03 real 23.05 user 24.24 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 47, splice 6, unsplice 0, max 0, idle 0, accept 9, send 4, recv 37, close 44, drop 0 10.07 real 36.52 user 13.73 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 29, recv 4, close 0, drop 10 10.09 real 50.01 user 0.01 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 10, splice 3, unsplice 0, max 0, idle 0, accept 4, send 192, recv 2, close 0, drop 8 10.15 real 43.66 user 6.45 sys PASS sys/netinet/tcpthread Duration 1m21.30s