START sys/netinet/tcpthread 2025-02-09T03:48: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 1777, accept 1, send 14, recv 1, close 1777, drop 0 10.02 real 30.05 user 0.11 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 100, accept 100, send 28, recv 0, close 50, drop 0 0m10.21s real 0m24.35s user 0m05.78s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 208, splice 12, unsplice 0, max 0, idle 0, accept 14, send 681961, recv 532191, close 83, drop 0 10.15 real 12.62 user 8.01 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 1379, splice 12, unsplice 74, max 0, idle 0, accept 17, send 1150936, recv 929381, close 246, drop 0 10.06 real 24.42 user 12.02 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 252100, splice 828, unsplice 0, max 28, idle 0, accept 1078, send 749985, recv 399199, close 245688, drop 0 10.05 real 21.97 user 21.62 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 8789, splice 1257, unsplice 0, max 0, idle 1141, accept 1291, send 487506, recv 247363, close 677, drop 0 10.06 real 23.00 user 22.88 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 36, recv 5, close 0, drop 10 10.11 real 50.17 user 0.00 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 32633, splice 773, unsplice 0, max 0, idle 0, accept 856, send 124666, recv 2030, close 0, drop 812 10.12 real 35.77 user 13.49 sys PASS sys/netinet/tcpthread Duration 1m21.56s