START sys/netinet/tcpthread 2025-02-15T06:52:02Z ==== 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 340, accept 147, send 5343, recv 65, close 139, drop 0 10.02 real 28.66 user 1.45 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 284478, accept 100, send 170892, recv 0, close 126515, drop 0 0m10.12s real 0m16.44s user 0m15.15s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 23, splice 9, unsplice 0, max 0, idle 0, accept 8, send 366026, recv 226857, close 9, drop 0 10.11 real 14.25 user 9.68 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 2797, splice 153, unsplice 1881, max 0, idle 0, accept 330, send 568867, recv 342590, close 1124, drop 0 10.06 real 20.51 user 10.16 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 14, splice 6, unsplice 0, max 0, idle 0, accept 5, send 9, recv 6, close 5, drop 0 10.10 real 32.83 user 7.13 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 95195, splice 1088, unsplice 0, max 0, idle 37, accept 444, send 63900, recv 4762, close 53690, drop 0 10.08 real 23.78 user 12.16 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 1411, accept 1411, send 4911, recv 3287, close 0, drop 1407 10.01 real 18.29 user 21.35 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 10, splice 7, unsplice 0, max 0, idle 0, accept 8, send 302, recv 5, close 0, drop 10 10.12 real 29.07 user 11.01 sys PASS sys/netinet/tcpthread Duration 1m21.84s