START sys/netinet/tcpthread 2025-02-18T20:37:22Z ==== 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 501, accept 1, send 514, recv 1, close 1, drop 0 10.01 real 30.00 user 0.01 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 100, accept 100, send 23, recv 0, close 50, drop 0 0m10.21s real 0m23.27s user 0m06.78s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 268197, splice 48, unsplice 0, max 0, idle 0, accept 10, send 4922, recv 745, close 269907, drop 0 10.03 real 21.62 user 14.23 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 185269, splice 5, unsplice 160, max 0, idle 0, accept 778, send 4562, recv 770, close 186999, drop 0 10.03 real 31.88 user 12.91 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 2682, splice 451, unsplice 0, max 362, idle 0, accept 753, send 30047, recv 499, close 490, drop 0 10.09 real 29.34 user 20.66 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 157502, splice 66, unsplice 0, max 0, idle 2, accept 1201, send 6971, recv 1058, close 159631, drop 0 10.08 real 41.73 user 12.79 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 16, recv 4, close 0, drop 10 10.09 real 50.13 user 0.00 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 10, splice 5, unsplice 0, max 0, idle 0, accept 8, send 201, recv 5, close 0, drop 9 10.11 real 43.32 user 6.57 sys PASS sys/netinet/tcpthread Duration 1m21.37s