START sys/netinet/tcpthread 2025-01-29T02:23:06Z ==== 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 1288, accept 1, send 10, recv 0, close 1287, drop 0 10.01 real 29.99 user 0.04 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 264500, accept 8069, send 715274, recv 550170, close 264425, drop 0 0m10.03s real 0m06.34s user 0m20.90s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 524737, splice 85, unsplice 0, max 0, idle 0, accept 140, send 2676, recv 1092, close 524886, drop 0 10.05 real 14.16 user 25.13 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 474599, splice 24, unsplice 146, max 0, idle 0, accept 83, send 3518, recv 78, close 473677, drop 0 10.09 real 29.43 user 19.96 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 819, splice 356, unsplice 0, max 318, idle 0, accept 371, send 991056, recv 899202, close 410, drop 0 10.04 real 25.48 user 17.33 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 58843, splice 3605, unsplice 0, max 0, idle 2, accept 4513, send 1641, recv 4775, close 70664, drop 0 10.02 real 28.08 user 22.51 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 298677, accept 917, send 328923, recv 2752, close 0, drop 702 10.02 real 17.44 user 31.41 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 10, splice 3, unsplice 0, max 0, idle 0, accept 5, send 235, recv 4, close 0, drop 6 10.18 real 44.80 user 5.32 sys PASS sys/netinet/tcpthread Duration 1m21.21s