START sys/netinet/tcpthread 2025-02-12T05:34:03Z ==== 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 709, accept 1, send 39, recv 0, close 676, drop 0 10.01 real 29.91 user 0.06 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 16526, accept 16526, send 8309, recv 24748, close 16476, drop 0 0m10.50s real 0m23.57s user 0m09.18s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 236580, splice 93, unsplice 0, max 0, idle 0, accept 10, send 40571, recv 22, close 204873, drop 0 10.04 real 18.83 user 15.05 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 83872, splice 25, unsplice 477, max 0, idle 0, accept 554, send 2720, recv 37, close 88741, drop 0 10.04 real 25.25 user 16.64 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 7837, splice 394, unsplice 0, max 163, idle 0, accept 1075, send 23750, recv 544, close 651, drop 0 10.18 real 20.02 user 30.09 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 275985, splice 448, unsplice 0, max 0, idle 0, accept 2904, send 26605, recv 2896, close 264637, drop 0 10.03 real 30.67 user 25.19 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 13, recv 5, close 0, drop 10 10.09 real 50.04 user 0.06 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 35, splice 10, unsplice 0, max 0, idle 0, accept 10, send 497714, recv 196411, close 0, drop 30 10.02 real 3.69 user 20.45 sys PASS sys/netinet/tcpthread Duration 1m22.01s