==== 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 50, send 314, recv 25, close 534, drop 0 10.02 real 14.85 user 9.22 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 122970, accept 61123, send 159417, recv 62567, close 120451, drop 0 0m10.07s real 0m08.94s user 0m17.98s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 16088, splice 6416, unsplice 0, max 0, idle 0, accept 6666, send 42773, recv 8304, close 25458, drop 0 10.18 real 13.71 user 10.81 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 20930, splice 7175, unsplice 13263, max 0, idle 0, accept 7936, send 49154, recv 7326, close 29477, drop 0 10.15 real 14.68 user 14.11 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 17125, splice 7260, unsplice 0, max 2483, idle 0, accept 7540, send 71064, recv 9409, close 22541, drop 0 10.02 real 15.79 user 15.79 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 14689, splice 5848, unsplice 0, max 0, idle 0, accept 6257, send 63480, recv 10263, close 19425, drop 0 10.10 real 15.82 user 15.55 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2930, accept 2642, send 124938, recv 4340, close 0, drop 2630 10.02 real 18.30 user 15.17 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2484, splice 1232, unsplice 0, max 0, idle 0, accept 1675, send 180809, recv 75422, close 0, drop 3603 10.16 real 14.85 user 17.34 sys