==== 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 1064, accept 305, send 1624, recv 1, close 1064, drop 0 10.02 real 29.85 user 0.09 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 167641, accept 100, send 102976, recv 0, close 67724, drop 0 0m10.13s real 0m18.86s user 0m13.85s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 128167, splice 1436, unsplice 0, max 0, idle 0, accept 3551, send 22322, recv 4009, close 128513, drop 0 10.03 real 21.29 user 12.99 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 214, splice 33, unsplice 95, max 0, idle 0, accept 53, send 193526, recv 31605, close 92, drop 0 10.12 real 24.67 user 8.86 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 807, splice 415, unsplice 0, max 365, idle 0, accept 434, send 160489, recv 61595, close 262, drop 0 10.07 real 25.41 user 10.69 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 65020, splice 1375, unsplice 0, max 0, idle 46, accept 1278, send 55084, recv 6712, close 37315, drop 0 10.06 real 21.91 user 12.95 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 1472, accept 1467, send 5010, recv 3578, close 0, drop 1467 10.01 real 20.57 user 18.78 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 10, splice 5, unsplice 0, max 0, idle 0, accept 6, send 240, recv 5, close 0, drop 7 10.07 real 31.77 user 8.19 sys