START sys/netinet/tcpthread 2025-02-13T20:44:21Z ==== 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 499, accept 1, send 545, recv 1, close 1, drop 0 10.03 real 29.99 user 0.07 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 496887, accept 2283, send 534609, recv 615, close 2227, drop 0 0m10.51s real 0m21.03s user 0m15.56s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 182, splice 11, unsplice 0, max 0, idle 0, accept 9, send 1008368, recv 950005, close 97, drop 0 10.06 real 13.12 user 10.82 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 10, splice 1, unsplice 3, max 0, idle 0, accept 0, send 0, recv 0, close 3, drop 0 10.11 real 40.00 user 0.08 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 211503, splice 4696, unsplice 0, max 359, idle 0, accept 5802, send 30159, recv 7011, close 216001, drop 0 10.02 real 32.95 user 19.51 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 3873, splice 1409, unsplice 0, max 0, idle 1219, accept 1433, send 416311, recv 230077, close 1448, drop 0 10.03 real 29.10 user 18.77 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 26, recv 5, close 0, drop 10 10.12 real 50.01 user 0.01 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 10, splice 8, unsplice 0, max 0, idle 0, accept 7, send 598825, recv 320888, close 0, drop 4 10.05 real 4.50 user 34.42 sys PASS sys/netinet/tcpthread Duration 1m21.70s