START sys/netinet/tcpthread 2025-01-08T19:41:51Z ==== 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 1270, accept 1, send 27, recv 1, close 1270 10.01 real 30.20 user 0.02 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 100, accept 100, send 38, recv 0, close 50 0m10.21s real 0m24.61s user 0m05.57s system ==== run-splice ==== time ./tcpthread -n10 -S1 count: connect 401, splice 7, unsplice 0, max 0, idle 0, accept 17, send 6, recv 391, close 405 10.07 real 24.37 user 5.69 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 70, splice 13, unsplice 14693942, max 0, idle 0, accept 11, send 1131952, recv 428522, close 22 10.09 real 17.69 user 21.82 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 372, splice 73, unsplice 0, max 56, idle 0, accept 86, send 3116162, recv 1204590, close 71 10.02 real 27.90 user 22.25 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 2347, splice 438, unsplice 0, max 0, idle 386, accept 465, send 66861, recv 1730, close 277 10.07 real 31.42 user 18.77 sys PASS sys/netinet/tcpthread Duration 1m01.11s