==== 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 857, accept 31, send 371, recv 15, close 569, drop 0 10.02 real 14.97 user 8.55 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 129248, accept 62835, send 152508, recv 63471, close 124745, drop 0 0m10.08s real 0m09.52s user 0m17.98s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10325, splice 5389, unsplice 0, max 0, idle 0, accept 5527, send 30797, recv 9192, close 17320, drop 0 10.02 real 13.68 user 10.38 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 19086, splice 6318, unsplice 12783, max 0, idle 0, accept 7797, send 40572, recv 7373, close 27463, drop 0 10.03 real 15.25 user 15.03 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 9783, splice 4665, unsplice 0, max 1748, idle 0, accept 4844, send 45583, recv 8355, close 13157, drop 0 10.07 real 13.63 user 13.80 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 9275, splice 4552, unsplice 0, max 0, idle 0, accept 4417, send 53264, recv 9243, close 12970, drop 0 10.06 real 13.37 user 12.78 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3131, accept 2728, send 124494, recv 5085, close 0, drop 2710 10.02 real 13.91 user 12.57 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2212, splice 1109, unsplice 0, max 0, idle 0, accept 1265, send 206417, recv 87270, close 0, drop 2905 10.12 real 11.60 user 13.12 sys