START sys/netinet/tcpthread 2025-01-16T15:14:34Z ==== 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 1012, accept 1, send 18, recv 4, close 1012, drop 0 10.01 real 29.87 user 0.03 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 477828, accept 265, send 293997, recv 446, close 185800, drop 0 0m10.07s real 0m13.84s user 0m20.05s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 479917, splice 23, unsplice 0, max 0, idle 0, accept 23, send 1403, recv 29, close 479982, drop 0 10.11 real 18.52 user 21.04 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 505398, splice 266, unsplice 2869, max 0, idle 0, accept 132, send 1562, recv 4296, close 503887, drop 0 10.03 real 22.41 user 26.79 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 411626, splice 2688, unsplice 0, max 158, idle 0, accept 3732, send 32533, recv 4308, close 409591, drop 0 10.03 real 32.57 user 21.67 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 456741, splice 1935, unsplice 0, max 0, idle 4, accept 10, send 48739, recv 519, close 449629, drop 0 10.03 real 32.13 user 22.53 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 17, recv 5, close 0, drop 10 10.10 real 50.22 user 0.03 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 75560, splice 759, unsplice 0, max 0, idle 0, accept 836, send 179275, recv 2275, close 0, drop 832 10.06 real 25.94 user 23.25 sys PASS sys/netinet/tcpthread Duration 1m21.21s