START sys/netinet/tcpthread 2025-02-15T19:32:58Z ==== 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 1, accept 1, send 6, recv 0, close 1, drop 0 10.02 real 29.99 user 0.01 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 9796, accept 9488, send 856301, recv 598403, close 9415, drop 0 0m10.41s real 0m12.09s user 0m14.49s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10, splice 3, unsplice 0, max 0, idle 0, accept 3, send 0, recv 0, close 4, drop 0 10.15 real 23.46 user 6.62 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 2471, splice 10, unsplice 373, max 0, idle 0, accept 326, send 471042, recv 378765, close 1181, drop 0 10.02 real 25.01 user 13.20 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 33, splice 6, unsplice 0, max 0, idle 0, accept 10, send 6, recv 26, close 23, drop 0 10.09 real 36.39 user 13.62 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 239277, splice 67, unsplice 0, max 0, idle 2, accept 797, send 6444, recv 799, close 241931, drop 0 10.07 real 42.50 user 12.74 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 20, recv 5, close 0, drop 10 10.11 real 49.83 user 0.02 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 29, splice 13, unsplice 0, max 0, idle 0, accept 10, send 523225, recv 392872, close 0, drop 5 10.01 real 4.36 user 27.11 sys PASS sys/netinet/tcpthread Duration 1m21.61s