START sys/netinet/tcpthread 2025-01-09T02:56:34Z ==== 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 1, accept 1, send 14, recv 0, close 1, drop 0 10.01 real 30.10 user 0.02 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 149750, accept 14888, send 1174612, recv 843397, close 149679, drop 0 0m10.07s real 0m04.21s user 0m19.83s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 518533, splice 23, unsplice 0, max 0, idle 0, accept 93, send 1561, recv 87, close 518749, drop 0 10.04 real 19.30 user 19.60 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 280, splice 14, unsplice 14710939, max 0, idle 0, accept 18, send 1125170, recv 422099, close 53, drop 0 10.12 real 18.26 user 21.46 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 70161, splice 758, unsplice 0, max 26, idle 0, accept 1451, send 1953490, recv 954472, close 72284, drop 0 10.02 real 25.75 user 23.71 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 17017, splice 1250, unsplice 0, max 0, idle 1095, accept 1338, send 1115442, recv 272014, close 1357, drop 0 10.08 real 22.34 user 27.49 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 2434, accept 2432, send 9305, recv 8042, close 0, drop 2429 10.01 real 20.69 user 28.81 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 210, splice 10, unsplice 0, max 0, idle 0, accept 88, send 423735, recv 347013, close 0, drop 207 10.02 real 9.45 user 14.46 sys PASS sys/netinet/tcpthread Duration 1m21.14s