START sys/netinet/tcpthread 2025-01-12T05:38:33Z ==== 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:645 (/usr/src/regress/sys/netinet/tcpthread/tcpthread.c:645)(tcpthread.o:(main)): warning: rand_r() is not random, it is deterministic. time ./tcpthread count: connect 499, accept 29, send 548, recv 4, close 26, drop 0 10.04 real 30.03 user 0.06 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 150802, accept 15010, send 139293, recv 67790, close 121812, drop 0 1m08.15s real 0m13.92s user 0m13.82s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 217807, splice 71, unsplice 0, max 0, idle 0, accept 507, send 15954, recv 498, close 210587, drop 0 10.04 real 19.57 user 14.37 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 210576, splice 79, unsplice 4985, max 0, idle 0, accept 10, send 22614, recv 1005, close 198689, drop 0 10.04 real 27.47 user 15.36 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 853, splice 391, unsplice 0, max 338, idle 0, accept 432, send 505825, recv 448205, close 279, drop 0 10.08 real 25.99 user 17.12 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 119612, splice 426, unsplice 0, max 0, idle 1, accept 2815, send 2879, recv 3775, close 128651, drop 0 10.03 real 28.82 user 24.82 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 1268, accept 1267, send 5081, recv 3341, close 0, drop 1263 10.01 real 19.59 user 29.43 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 20, splice 13, unsplice 0, max 0, idle 0, accept 10, send 347244, recv 282953, close 0, drop 5 10.01 real 2.22 user 21.50 sys PASS sys/netinet/tcpthread Duration 2m19.50s