START sys/netinet/tcpthread 2025-01-07T02:17:18Z ==== 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:582 (/usr/src/regress/sys/netinet/tcpthread/tcpthread.c:582)(tcpthread.o:(main)): warning: rand_r() is not random, it is deterministic. time ./tcpthread count: connect 195, accept 194, send 152, recv 346, close 194 10.03 real 26.11 user 3.80 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 253150, accept 19200, send 10945, recv 16107, close 253063 0m10.05s real 0m10.87s user 0m25.98s system ==== run-splice ==== time ./tcpthread -n10 -S1 count: connect 356082, splice 24, unsplice 0, max 0, idle 0, accept 347, send 24814, recv 339, close 335699 10.04 real 18.83 user 17.61 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 237747, splice 64, unsplice 129186, max 0, idle 0, accept 1139, send 22495, recv 1267, close 224189 10.02 real 28.83 user 15.70 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 150290, splice 472, unsplice 0, max 0, idle 0, accept 3055, send 518, recv 3087, close 160729 10.05 real 24.95 user 29.65 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 249977, splice 238, unsplice 0, max 0, idle 6, accept 2348, send 21536, recv 2370, close 245490 10.03 real 29.89 user 24.43 sys PASS sys/netinet/tcpthread Duration 1m01.17s