==== 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 781, accept 63, send 352, recv 29, close 553, drop 0 10.02 real 15.35 user 9.44 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 120480, accept 61581, send 155909, recv 61728, close 119536, drop 0 0m10.08s real 0m09.34s user 0m18.09s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 15069, splice 7084, unsplice 0, max 0, idle 0, accept 7141, send 45141, recv 9161, close 25285, drop 0 10.12 real 13.16 user 10.61 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 17314, splice 5142, unsplice 11192, max 0, idle 0, accept 6521, send 35165, recv 6183, close 24476, drop 0 10.17 real 15.59 user 15.32 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 11984, splice 5185, unsplice 0, max 1728, idle 0, accept 5967, send 47471, recv 7516, close 17601, drop 0 10.04 real 16.65 user 15.74 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 14170, splice 6168, unsplice 0, max 0, idle 0, accept 6856, send 62809, recv 9234, close 21172, drop 0 10.02 real 16.27 user 15.15 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2960, accept 2723, send 124159, recv 4422, close 0, drop 2711 10.02 real 17.21 user 16.35 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 3351, splice 1224, unsplice 0, max 0, idle 0, accept 2119, send 205179, recv 82532, close 0, drop 4570 10.09 real 14.19 user 17.01 sys