==== 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 783, accept 46, send 354, recv 18, close 526, drop 0 10.01 real 14.84 user 9.05 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123778, accept 63751, send 172644, recv 63162, close 122480, drop 0 0m10.07s real 0m08.96s user 0m18.64s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 13989, splice 6359, unsplice 0, max 0, idle 0, accept 6522, send 40479, recv 9994, close 22351, drop 0 10.02 real 13.94 user 10.74 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 16442, splice 5807, unsplice 10871, max 0, idle 0, accept 6555, send 35900, recv 7074, close 23389, drop 0 10.03 real 16.41 user 14.46 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 8420, splice 4408, unsplice 0, max 1795, idle 0, accept 4671, send 35465, recv 8093, close 12149, drop 0 10.14 real 17.78 user 14.93 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 13257, splice 5952, unsplice 0, max 0, idle 0, accept 6509, send 58170, recv 9213, close 19913, drop 0 10.06 real 16.19 user 15.31 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2906, accept 2674, send 123739, recv 4374, close 0, drop 2666 10.02 real 17.92 user 15.65 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2936, splice 1271, unsplice 0, max 0, idle 0, accept 1867, send 145549, recv 37484, close 0, drop 4142 10.16 real 16.29 user 16.51 sys