START sys/netinet/tcpthread 2025-01-09T19:36:48Z ==== 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 1231, accept 1, send 5, recv 0, close 1231, drop 0 10.01 real 29.92 user 0.03 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 26260, accept 25501, send 666100, recv 10986, close 25412, drop 0 0m10.01s real 0m14.91s user 0m16.54s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 120717, splice 69, unsplice 0, max 0, idle 0, accept 293, send 721995, recv 428413, close 123305, drop 0 10.10 real 12.11 user 13.41 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 326019, splice 35, unsplice 9914735, max 0, idle 0, accept 10, send 8938, recv 18, close 325264, drop 0 10.03 real 22.94 user 22.44 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 247606, splice 82, unsplice 0, max 5, idle 0, accept 1185, send 13990, recv 1920, close 248638, drop 0 10.03 real 32.54 user 20.80 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 4084, splice 2041, unsplice 0, max 0, idle 1749, accept 2220, send 289548, recv 190646, close 1172, drop 0 10.14 real 29.86 user 17.42 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 8, recv 5, close 0, drop 10 10.09 real 50.02 user 0.00 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 34, splice 12, unsplice 0, max 0, idle 0, accept 10, send 416769, recv 328798, close 0, drop 14 10.01 real 1.53 user 19.61 sys PASS sys/netinet/tcpthread Duration 1m21.18s