START sys/netinet/tcpthread 2025-02-12T02:57:42Z ==== 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 501, accept 1, send 514, recv 1, close 1, drop 0 10.01 real 29.93 user 0.00 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 15235, accept 12908, send 1084942, recv 654258, close 12829, drop 0 0m10.01s real 0m13.46s user 0m13.61s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 497035, splice 16, unsplice 0, max 0, idle 0, accept 10, send 2455, recv 16, close 494925, drop 0 10.06 real 21.78 user 14.79 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 818, splice 11, unsplice 511, max 0, idle 0, accept 19, send 709784, recv 523801, close 206, drop 0 10.10 real 22.55 user 10.16 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 231138, splice 149, unsplice 0, max 11, idle 0, accept 201, send 1028031, recv 452618, close 229232, drop 0 10.05 real 18.72 user 23.55 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 3120, splice 994, unsplice 0, max 0, idle 933, accept 1019, send 551228, recv 285745, close 601, drop 0 10.12 real 21.76 user 24.53 sys ==== run-drop ==== time ./tcpthread -n10 -D3 -o0 count: connect 120715, accept 1432, send 174166, recv 4697, close 0, drop 1225 10.03 real 19.27 user 30.63 sys ==== run-splicedrop ==== time ./tcpthread -n10 -S2 -D3 -o0 count: connect 10337, splice 622, unsplice 0, max 0, idle 0, accept 683, send 92894, recv 1691, close 0, drop 656 10.08 real 35.74 user 13.70 sys PASS sys/netinet/tcpthread Duration 1m21.24s