==== 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 788, accept 85, send 364, recv 31, close 584, drop 0 10.02 real 15.14 user 9.02 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123780, accept 63280, send 152934, recv 63260, close 122685, drop 0 0m10.08s real 0m09.85s user 0m18.33s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 13427, splice 6128, unsplice 0, max 0, idle 0, accept 6446, send 39805, recv 9740, close 22267, drop 0 10.10 real 13.58 user 10.90 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 12490, splice 5167, unsplice 9539, max 0, idle 0, accept 6222, send 29193, recv 6587, close 18407, drop 0 10.16 real 16.66 user 15.34 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 10623, splice 4969, unsplice 0, max 1770, idle 0, accept 5612, send 41469, recv 8437, close 15781, drop 0 10.04 real 16.71 user 15.92 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 10529, splice 5330, unsplice 0, max 0, idle 1, accept 6047, send 48517, recv 10991, close 16515, drop 0 10.03 real 16.35 user 15.79 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2914, accept 2669, send 124269, recv 4284, close 0, drop 2653 10.02 real 17.73 user 16.04 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 3106, splice 1489, unsplice 0, max 0, idle 0, accept 2001, send 145767, recv 27039, close 0, drop 4357 10.10 real 16.07 user 16.25 sys