START sys/netinet/tcpthread 2025-02-18T03:01:23Z ==== 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 225, accept 225, send 166, recv 385, close 225, drop 0 10.01 real 27.07 user 3.13 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 307050, accept 8658, send 807453, recv 642688, close 306975, drop 0 0m10.06s real 0m05.05s user 0m19.62s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10, splice 3, unsplice 0, max 0, idle 0, accept 3, send 1, recv 0, close 4, drop 0 10.15 real 24.63 user 5.48 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 2852, splice 75, unsplice 1389, max 0, idle 0, accept 126, send 1053468, recv 928452, close 570, drop 0 10.06 real 20.53 user 10.53 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 204, splice 44, unsplice 0, max 38, idle 0, accept 50, send 2604, recv 33, close 52, drop 0 10.16 real 30.37 user 19.54 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 5459, splice 1526, unsplice 0, max 0, idle 1306, accept 1556, send 379438, recv 198468, close 1557, drop 0 10.04 real 29.05 user 19.29 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 124644, accept 1405, send 173684, recv 4210, close 0, drop 1146 10.03 real 19.11 user 30.69 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 11979, splice 821, unsplice 0, max 0, idle 0, accept 906, send 114645, recv 2371, close 0, drop 842 10.02 real 26.32 user 23.12 sys PASS sys/netinet/tcpthread Duration 1m21.31s