START sys/netinet/tcpthread 2025-02-07T02:01:29Z ==== 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 500, accept 3, send 554, recv 2, close 3, drop 0 10.01 real 29.95 user 0.07 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 515320, accept 100, send 332554, recv 0, close 186766, drop 0 0m10.03s real 0m15.81s user 0m14.88s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 490004, splice 36, unsplice 0, max 0, idle 0, accept 41, send 1509, recv 45, close 490120, drop 0 10.08 real 21.49 user 15.05 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 399, splice 11, unsplice 251, max 0, idle 0, accept 11, send 729598, recv 553320, close 102, drop 0 10.10 real 22.62 user 9.16 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 259581, splice 774, unsplice 0, max 33, idle 0, accept 1044, send 1187599, recv 266900, close 249101, drop 0 10.06 real 22.69 user 22.16 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 264246, splice 4746, unsplice 0, max 0, idle 4, accept 6297, send 62355, recv 7517, close 240612, drop 0 10.03 real 37.13 user 14.53 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 1921, accept 1916, send 10128, recv 5262, close 0, drop 1916 10.01 real 19.27 user 30.40 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 39, splice 10, unsplice 0, max 0, idle 0, accept 10, send 873533, recv 760772, close 0, drop 11 10.01 real 3.79 user 32.88 sys PASS sys/netinet/tcpthread Duration 1m21.10s