START sys/netinet/tcpthread 2025-01-08T05:36:40Z ==== 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 175, accept 175, send 106, recv 281, close 175, drop 0 10.02 real 25.89 user 4.16 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 150430, accept 14405, send 130009, recv 64562, close 120642, drop 0 0m10.07s real 0m14.29s user 0m14.00s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 243587, splice 54, unsplice 0, max 0, idle 0, accept 10, send 16352, recv 27, close 235554, drop 0 10.04 real 17.98 user 16.38 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 151, splice 7, unsplice 8489319, max 0, idle 0, accept 65, send 35, recv 141, close 203, drop 0 10.11 real 26.00 user 14.31 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 266973, splice 138, unsplice 0, max 4, idle 0, accept 2007, send 19607, recv 1894, close 264030, drop 0 10.04 real 30.81 user 23.76 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 180672, splice 221, unsplice 0, max 0, idle 8, accept 2329, send 12089, recv 6659, close 182431, drop 0 10.07 real 31.06 user 23.10 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 2343, accept 2343, send 10420, recv 7172, close 0, drop 2343 10.05 real 21.69 user 26.65 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 17, splice 7, unsplice 0, max 0, idle 0, accept 8, send 217450, recv 106644, close 0, drop 13 10.08 real 1.61 user 17.49 sys PASS sys/netinet/tcpthread Duration 1m21.61s