==== 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 784, accept 45, send 337, recv 19, close 527, drop 0 10.02 real 14.94 user 10.00 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 121687, accept 62090, send 160266, recv 64666, close 120157, drop 0 0m10.07s real 0m09.10s user 0m18.29s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 12522, splice 5993, unsplice 0, max 0, idle 0, accept 6119, send 36537, recv 9871, close 20521, drop 0 10.02 real 13.70 user 10.96 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14506, splice 4827, unsplice 8989, max 0, idle 0, accept 5894, send 29070, recv 4950, close 21449, drop 0 10.11 real 16.62 user 15.19 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 15618, splice 7613, unsplice 0, max 2861, idle 0, accept 7821, send 62745, recv 11756, close 21802, drop 0 10.02 real 16.11 user 15.60 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 14746, splice 6714, unsplice 0, max 0, idle 0, accept 6948, send 62098, recv 10795, close 20789, drop 0 10.02 real 15.89 user 16.30 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2907, accept 2667, send 124134, recv 4687, close 0, drop 2649 10.02 real 17.92 user 16.46 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2515, splice 1200, unsplice 0, max 0, idle 0, accept 1638, send 182415, recv 73016, close 0, drop 3506 10.06 real 15.12 user 17.27 sys