START sys/netinet/tcpthread 2025-02-21T02:58:16Z ==== 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 501, accept 2, send 516, recv 1, close 2, drop 0 10.01 real 29.92 user 0.03 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 13859, accept 12131, send 1102063, recv 673467, close 12076, drop 0 0m10.50s real 0m13.38s user 0m13.57s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 498922, splice 41, unsplice 0, max 0, idle 0, accept 46, send 1553, recv 22, close 499092, drop 0 10.06 real 28.27 user 8.71 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 19, splice 6, unsplice 13, max 0, idle 0, accept 5, send 4, recv 9, close 12, drop 0 10.16 real 34.33 user 5.77 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 84653, splice 3230, unsplice 0, max 2, idle 0, accept 3989, send 851, recv 4495, close 93643, drop 0 10.02 real 27.19 user 23.33 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 223183, splice 4096, unsplice 0, max 0, idle 3, accept 5741, send 32517, recv 6613, close 231450, drop 0 10.02 real 33.86 user 18.47 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 1298, accept 1295, send 7079, recv 3458, close 0, drop 1293 10.01 real 19.72 user 30.08 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 6854, splice 548, unsplice 0, max 0, idle 0, accept 614, send 78634, recv 1626, close 0, drop 575 10.08 real 26.92 user 22.65 sys PASS sys/netinet/tcpthread Duration 1m21.67s