START sys/netinet/tcpthread 2025-01-07T03:04:04Z ==== 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 1246, accept 1, send 13, recv 3, close 1241 10.01 real 29.89 user 0.03 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 100, accept 100, send 25, recv 0, close 50 0m10.21s real 0m24.53s user 0m05.59s system ==== run-splice ==== time ./tcpthread -n10 -S1 count: connect 533, splice 10, unsplice 0, max 0, idle 0, accept 12, send 661799, recv 465761, close 195 10.04 real 12.25 user 7.95 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 534686, splice 107, unsplice 659, max 0, idle 0, accept 199, send 3792, recv 212, close 532571 10.16 real 31.86 user 17.52 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 144863, splice 2690, unsplice 0, max 0, idle 0, accept 700, send 4762, recv 240, close 155855 10.03 real 21.62 user 29.61 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 8478, splice 1542, unsplice 0, max 0, idle 1385, accept 1579, send 373758, recv 232843, close 834 10.05 real 31.65 user 15.92 sys PASS sys/netinet/tcpthread Duration 1m01.15s