==== 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 time ./tcpthread count: connect 762, accept 47, send 325, recv 19, close 524, drop 0 10.01 real 15.18 user 9.62 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 129098, accept 61958, send 147179, recv 62133, close 124498, drop 0 0m10.08s real 0m09.93s user 0m18.45s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 11602, splice 5755, unsplice 0, max 0, idle 0, accept 5739, send 33902, recv 8164, close 19285, drop 0 10.04 real 14.17 user 10.08 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 11756, splice 4742, unsplice 9409, max 0, idle 0, accept 5776, send 26846, recv 6995, close 16920, drop 0 10.02 real 16.51 user 15.06 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 9606, splice 4782, unsplice 0, max 1828, idle 0, accept 4936, send 45142, recv 8348, close 13353, drop 0 10.01 real 13.06 user 12.64 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 11412, splice 5455, unsplice 0, max 0, idle 0, accept 4994, send 64403, recv 9906, close 15088, drop 0 10.24 real 12.61 user 12.24 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2979, accept 2665, send 124546, recv 5173, close 0, drop 2654 10.02 real 13.83 user 12.68 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1834, splice 855, unsplice 0, max 0, idle 0, accept 1046, send 220399, recv 100219, close 0, drop 2409 10.04 real 11.18 user 13.50 sys