==== run-default ==== cc -O2 -pipe -g -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -Wmissing-prototypes -Wunused -Wsign-compare -Wshadow -MD -MP -c /home/src/regress/sys/netinet/tcpthread/tcpthread.c cc -o tcpthread tcpthread.o -lpthread ld: warning: tcpthread.c:655 (/home/src/regress/sys/netinet/tcpthread/tcpthread.c:655)(tcpthread.o:(main)): warning: rand_r() is not random, it is deterministic. time ./tcpthread count: connect 169, accept 168, send 139, recv 300, close 168, drop 0 10.03 real 27.20 user 2.88 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 161220, accept 100, send 97687, recv 0, close 67147, drop 0 0m10.14s real 0m17.95s user 0m14.43s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 61, splice 12, unsplice 0, max 0, idle 0, accept 20, send 417507, recv 339869, close 47, drop 0 10.04 real 15.40 user 9.81 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 18145, splice 1131, unsplice 2872, max 0, idle 0, accept 2183, send 283477, recv 103716, close 22975, drop 0 10.02 real 23.69 user 9.85 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 10, splice 3, unsplice 0, max 0, idle 0, accept 4, send 4, recv 2, close 5, drop 0 10.12 real 32.51 user 7.36 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 5490, splice 1428, unsplice 0, max 0, idle 1173, accept 1569, send 169797, recv 60279, close 878, drop 0 10.10 real 20.01 user 15.36 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 4963, accept 2147, send 58146, recv 5441, close 0, drop 1628 10.03 real 19.13 user 19.34 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1171, splice 539, unsplice 0, max 0, idle 0, accept 618, send 38018, recv 1549, close 0, drop 576 10.11 real 24.11 user 15.02 sys