START sys/netinet/tcpthread 2025-02-06T21:22:10Z ==== 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:655 (/usr/src/regress/sys/netinet/tcpthread/tcpthread.c:655)(tcpthread.o:(main)): warning: rand_r() is not random, it is deterministic. time ./tcpthread count: connect 1805, accept 1, send 45, recv 0, close 1771, drop 0 10.01 real 29.99 user 0.07 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 11086, accept 11086, send 5667, recv 16667, close 11036, drop 0 0m10.29s real 0m24.68s user 0m07.17s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 409035, splice 165, unsplice 0, max 0, idle 0, accept 196, send 3157, recv 546, close 409424, drop 0 10.03 real 15.83 user 20.92 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 2472, splice 37, unsplice 1352, max 0, idle 0, accept 96, send 1012675, recv 906143, close 527, drop 0 10.04 real 20.67 user 11.40 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 225339, splice 340, unsplice 0, max 1, idle 0, accept 399, send 1374599, recv 429219, close 226385, drop 0 10.07 real 11.09 user 29.58 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 351690, splice 3544, unsplice 0, max 0, idle 0, accept 5340, send 58542, recv 5926, close 354209, drop 0 10.03 real 32.84 user 21.14 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 10, accept 10, send 38, recv 5, close 0, drop 10 10.11 real 49.92 user 0.01 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 36, splice 14, unsplice 0, max 0, idle 0, accept 10, send 843699, recv 739051, close 0, drop 18 10.02 real 3.92 user 32.03 sys PASS sys/netinet/tcpthread Duration 1m21.36s