START sys/netinet/tcpthread 2025-02-19T03:00:38Z ==== 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 2879, accept 2, send 113, recv 5, close 2774, drop 0 10.04 real 29.91 user 0.16 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 281850, accept 14581, send 735224, recv 575524, close 281764, drop 0 0m10.07s real 0m05.27s user 0m19.33s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 71, splice 12, unsplice 0, max 0, idle 0, accept 12, send 724557, recv 563251, close 31, drop 0 10.08 real 11.88 user 7.20 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 9701, splice 24, unsplice 246, max 0, idle 0, accept 108, send 13274, recv 63, close 105, drop 0 10.06 real 34.38 user 5.91 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 263351, splice 286, unsplice 0, max 23, idle 0, accept 411, send 740720, recv 284536, close 253047, drop 0 10.04 real 22.08 user 23.60 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 219124, splice 4706, unsplice 0, max 0, idle 3, accept 5725, send 30909, recv 6890, close 224002, drop 0 10.03 real 32.98 user 19.28 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 483, accept 10, send 730, recv 8, close 0, drop 10 10.03 real 10.58 user 39.44 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 23, splice 10, unsplice 0, max 0, idle 0, accept 10, send 715168, recv 291223, close 0, drop 20 10.02 real 3.75 user 32.01 sys PASS sys/netinet/tcpthread Duration 1m21.14s