START sys/netinet/tcpthread 2025-01-09T05:34:47Z ==== 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 636, accept 51, send 367, recv 2, close 636, drop 0 10.01 real 29.88 user 0.05 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 11603, accept 11600, send 5700, recv 17192, close 11530, drop 0 0m10.02s real 0m23.66s user 0m08.30s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 229429, splice 75, unsplice 0, max 0, idle 0, accept 1177, send 15844, recv 1503, close 222546, drop 0 10.02 real 19.34 user 15.06 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 245400, splice 69, unsplice 8337571, max 0, idle 0, accept 1178, send 12433, recv 1178, close 241138, drop 0 10.03 real 21.79 user 23.48 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 16, splice 6, unsplice 0, max 0, idle 0, accept 11, send 5, recv 12, close 14, drop 0 10.05 real 36.69 user 13.57 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 3488, splice 1272, unsplice 0, max 0, idle 953, accept 1451, send 193425, recv 69961, close 842, drop 0 10.04 real 29.14 user 19.06 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 2424, accept 2424, send 11069, recv 7747, close 0, drop 2424 10.02 real 21.97 user 26.67 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 10, splice 6, unsplice 0, max 0, idle 0, accept 5, send 237, recv 3, close 0, drop 8 10.17 real 27.76 user 22.04 sys PASS sys/netinet/tcpthread Duration 1m21.49s