START sys/netinet/tcpthread 2025-02-02T00:59:44Z ==== 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:649 (/usr/src/regress/sys/netinet/tcpthread/tcpthread.c:649)(tcpthread.o:(main)): warning: rand_r() is not random, it is deterministic. time ./tcpthread count: connect 1076, accept 1, send 11, recv 0, close 1076, drop 0 10.01 real 29.89 user 0.02 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 10588, accept 10588, send 5260, recv 15748, close 10538, drop 0 0m10.25s real 0m24.51s user 0m07.04s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 159846, splice 3045, unsplice 0, max 0, idle 0, accept 3393, send 1481878, recv 681448, close 168694, drop 0 10.03 real 12.25 user 20.88 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 10, splice 4, unsplice 8, max 0, idle 0, accept 4, send 2, recv 0, close 4, drop 0 10.14 real 34.29 user 5.74 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 398989, splice 3750, unsplice 0, max 176, idle 0, accept 4044, send 84976, recv 4588, close 379215, drop 0 10.03 real 31.19 user 23.96 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 95664, splice 4326, unsplice 0, max 0, idle 2, accept 4545, send 2182, recv 4801, close 105044, drop 0 10.02 real 27.26 user 23.08 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 146, accept 10, send 412, recv 4, close 0, drop 10 10.02 real 9.87 user 40.04 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 113, splice 12, unsplice 0, max 0, idle 0, accept 21, send 1633839, recv 414731, close 0, drop 38 10.02 real 8.40 user 39.29 sys PASS sys/netinet/tcpthread Duration 1m21.29s