START sys/netinet/tcpthread 2025-01-17T05:22:52Z ==== 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 501, accept 50, send 515, recv 3, close 49, drop 0 10.04 real 30.06 user 0.03 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 100, accept 100, send 21, recv 0, close 50, drop 0 0m10.21s real 0m23.37s user 0m06.76s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 588, splice 272, unsplice 0, max 0, idle 0, accept 309, send 513970, recv 423610, close 366, drop 0 10.02 real 12.18 user 12.44 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 283876, splice 10, unsplice 323, max 0, idle 0, accept 10, send 23997, recv 10, close 267886, drop 0 10.04 real 29.10 user 15.25 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 533, splice 282, unsplice 0, max 237, idle 0, accept 310, send 489362, recv 435069, close 276, drop 0 10.18 real 25.44 user 18.56 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 3705, splice 1554, unsplice 0, max 0, idle 1214, accept 1666, send 235072, recv 117766, close 879, drop 0 10.18 real 30.61 user 17.43 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 23180, accept 5079, send 119020, recv 11395, close 0, drop 2561 10.02 real 18.53 user 26.87 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 22, splice 10, unsplice 0, max 0, idle 0, accept 14, send 483686, recv 125857, close 0, drop 19 10.05 real 3.64 user 22.14 sys PASS sys/netinet/tcpthread Duration 1m21.83s