START sys/netinet/tcpthread 2025-02-10T03:45:53Z ==== 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 2390, accept 6, send 20, recv 6, close 2390, drop 0 10.04 real 29.95 user 0.06 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 500600, accept 231, send 1619, recv 84, close 500540, drop 0 0m10.34s real 0m15.41s user 0m21.51s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 368349, splice 89, unsplice 0, max 0, idle 0, accept 102, send 519166, recv 111859, close 368613, drop 0 10.06 real 13.78 user 20.06 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 2714, splice 56, unsplice 1341, max 0, idle 0, accept 96, send 1083829, recv 944680, close 578, drop 0 10.10 real 21.00 user 10.97 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 2965, splice 604, unsplice 0, max 576, idle 0, accept 675, send 29933, recv 465, close 432, drop 0 10.04 real 30.63 user 19.25 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 6539, splice 373, unsplice 0, max 0, idle 315, accept 397, send 65905, recv 5088, close 233, drop 0 10.12 real 32.29 user 17.43 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 118576, accept 1465, send 168689, recv 4371, close 0, drop 1205 10.01 real 19.14 user 30.42 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 59, splice 12, unsplice 0, max 0, idle 0, accept 10, send 848285, recv 778754, close 0, drop 21 10.02 real 3.92 user 32.38 sys PASS sys/netinet/tcpthread Duration 1m21.51s