==== 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 822, accept 73, send 369, recv 25, close 601, drop 0 10.03 real 15.00 user 9.14 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123387, accept 63136, send 163241, recv 64222, close 122919, drop 0 0m10.07s real 0m09.01s user 0m18.50s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 22262, splice 8924, unsplice 0, max 0, idle 0, accept 9297, send 61616, recv 10191, close 35310, drop 0 10.21 real 12.72 user 11.08 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 16738, splice 5746, unsplice 10678, max 0, idle 0, accept 6761, send 40797, recv 6940, close 23057, drop 0 10.02 real 15.99 user 15.11 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 17985, splice 7418, unsplice 0, max 2536, idle 0, accept 7633, send 74453, recv 10875, close 23122, drop 0 10.19 real 15.13 user 15.38 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 17349, splice 7368, unsplice 0, max 0, idle 0, accept 7351, send 76824, recv 12854, close 22381, drop 0 10.07 real 15.88 user 15.56 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2986, accept 2634, send 123372, recv 4470, close 0, drop 2618 10.02 real 17.33 user 15.85 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1880, splice 735, unsplice 0, max 0, idle 0, accept 1189, send 206378, recv 107665, close 0, drop 2624 10.06 real 14.07 user 17.22 sys