==== 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 827, accept 63, send 354, recv 30, close 589, drop 0 10.01 real 14.84 user 9.79 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 121437, accept 62732, send 173567, recv 64278, close 120256, drop 0 0m10.08s real 0m08.80s user 0m18.65s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 12584, splice 6156, unsplice 0, max 0, idle 0, accept 6068, send 38706, recv 9501, close 20152, drop 0 10.02 real 13.32 user 10.74 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15512, splice 4861, unsplice 9632, max 0, idle 0, accept 5562, send 34472, recv 5854, close 21038, drop 0 10.06 real 16.71 user 15.19 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 16350, splice 6954, unsplice 0, max 2455, idle 0, accept 7677, send 67709, recv 10753, close 22135, drop 0 10.01 real 14.73 user 14.33 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 8533, splice 4209, unsplice 0, max 0, idle 0, accept 4206, send 54241, recv 7209, close 12571, drop 0 10.05 real 12.63 user 13.13 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3133, accept 2665, send 124227, recv 5499, close 0, drop 2659 10.02 real 14.39 user 12.21 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1928, splice 841, unsplice 0, max 0, idle 0, accept 1139, send 216973, recv 100895, close 0, drop 2505 10.18 real 10.96 user 13.62 sys