START sys/netinet/tcpthread 2025-01-11T03:04:12Z ==== 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:645 (/usr/src/regress/sys/netinet/tcpthread/tcpthread.c:645)(tcpthread.o:(main)): warning: rand_r() is not random, it is deterministic. time ./tcpthread count: connect 498, accept 3, send 602, recv 2, close 3, drop 0 10.03 real 30.01 user 0.03 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 545150, accept 92, send 340921, recv 0, close 204142, drop 0 0m10.02s real 0m13.21s user 0m20.53s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 549299, splice 7, unsplice 0, max 0, idle 0, accept 5, send 2955, recv 13, close 546374, drop 0 10.07 real 19.05 user 20.66 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 95, splice 6, unsplice 34, max 0, idle 0, accept 14, send 4, recv 85, close 68, drop 0 10.02 real 34.31 user 5.64 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 42, splice 7, unsplice 0, max 0, idle 0, accept 11, send 20, recv 34, close 28, drop 0 10.07 real 37.21 user 12.65 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 10, splice 3, unsplice 0, max 0, idle 0, accept 5, send 2, recv 2, close 7, drop 0 10.16 real 37.33 user 12.84 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 487, accept 10, send 799, recv 7, close 0, drop 10 10.03 real 9.45 user 40.47 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 42, splice 14, unsplice 0, max 0, idle 0, accept 10, send 807618, recv 695875, close 0, drop 15 10.02 real 3.81 user 32.38 sys PASS sys/netinet/tcpthread Duration 1m21.19s