==== 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 819, accept 43, send 365, recv 21, close 550, drop 0 10.04 real 14.02 user 9.65 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124815, accept 61160, send 156346, recv 62476, close 121112, drop 0 0m10.09s real 0m09.03s user 0m18.54s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 17152, splice 6451, unsplice 0, max 0, idle 0, accept 6815, send 46217, recv 7936, close 28637, drop 0 10.03 real 12.92 user 10.65 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 12781, splice 4823, unsplice 9579, max 0, idle 0, accept 5835, send 25854, recv 6374, close 18488, drop 0 10.02 real 16.72 user 15.12 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 10585, splice 5179, unsplice 0, max 1877, idle 0, accept 5863, send 41863, recv 8878, close 16016, drop 0 10.01 real 16.27 user 15.86 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 8486, splice 4551, unsplice 0, max 0, idle 3, accept 4758, send 35233, recv 9097, close 13332, drop 0 10.07 real 16.47 user 16.17 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2886, accept 2674, send 123404, recv 4535, close 0, drop 2656 10.02 real 17.54 user 16.53 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2313, splice 970, unsplice 0, max 0, idle 0, accept 1411, send 181610, recv 69296, close 0, drop 3159 10.14 real 14.85 user 17.45 sys