START sys/netinet/tcpthread 2025-02-21T05:43:18Z ==== 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 703, accept 1, send 16, recv 0, close 695, drop 0 10.01 real 29.99 user 0.07 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 221400, accept 15903, send 16314, recv 11501, close 221341, drop 0 0m10.06s real 0m11.89s user 0m23.66s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 218176, splice 86, unsplice 0, max 0, idle 0, accept 1228, send 39589, recv 1236, close 187284, drop 0 10.07 real 19.14 user 14.94 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 70313, splice 61, unsplice 4760, max 0, idle 0, accept 785, send 3712, recv 937, close 74231, drop 0 10.04 real 25.01 user 16.43 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 1174, splice 428, unsplice 0, max 358, idle 0, accept 491, send 498333, recv 435615, close 392, drop 0 10.06 real 25.54 user 17.73 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 206175, splice 285, unsplice 0, max 0, idle 7, accept 574, send 17660, recv 26, close 208219, drop 0 10.04 real 24.20 user 30.62 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 10, recv 5, close 0, drop 10 10.09 real 49.92 user 0.02 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 10, splice 3, unsplice 0, max 0, idle 0, accept 5, send 151, recv 4, close 0, drop 9 10.16 real 44.20 user 6.10 sys PASS sys/netinet/tcpthread Duration 1m21.63s