START sys/netinet/tcpthread 2025-01-26T02:38:37Z ==== 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:649 (/usr/src/regress/sys/netinet/tcpthread/tcpthread.c:649)(tcpthread.o:(main)): warning: rand_r() is not random, it is deterministic. time ./tcpthread count: connect 197, accept 197, send 185, recv 378, close 197, drop 0 10.01 real 26.64 user 3.50 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 548700, accept 84, send 338904, recv 9, close 209728, drop 0 0m10.02s real 0m13.40s user 0m20.53s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 481142, splice 18, unsplice 0, max 0, idle 0, accept 18, send 678, recv 9, close 481205, drop 0 10.05 real 23.11 user 16.84 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 8503, splice 16, unsplice 82, max 0, idle 0, accept 29, send 11422, recv 16, close 79, drop 0 10.04 real 34.43 user 5.62 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 50, splice 6, unsplice 0, max 0, idle 0, accept 20, send 32, recv 41, close 52, drop 0 10.10 real 37.32 user 12.76 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 100742, splice 3469, unsplice 0, max 0, idle 2, accept 4446, send 23797, recv 2561, close 112374, drop 0 10.03 real 40.71 user 9.76 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 32, recv 4, close 0, drop 10 10.09 real 49.86 user 0.04 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 12, splice 9, unsplice 0, max 0, idle 0, accept 8, send 635234, recv 270237, close 0, drop 5 10.05 real 5.46 user 35.80 sys PASS sys/netinet/tcpthread Duration 1m21.16s