==== 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 796, accept 68, send 356, recv 23, close 581, drop 0 10.03 real 14.85 user 9.49 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 127543, accept 61580, send 148122, recv 59668, close 123363, drop 0 0m10.08s real 0m09.41s user 0m18.71s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 17527, splice 6361, unsplice 0, max 0, idle 0, accept 6727, send 39706, recv 5986, close 29161, drop 0 10.06 real 13.44 user 10.41 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 10475, splice 4350, unsplice 8483, max 0, idle 0, accept 5157, send 21556, recv 5965, close 15220, drop 0 10.02 real 17.30 user 14.91 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 13148, splice 6089, unsplice 0, max 2153, idle 0, accept 6520, send 51273, recv 9310, close 18531, drop 0 10.11 real 16.11 user 14.89 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 8303, splice 4129, unsplice 0, max 0, idle 2, accept 3639, send 43344, recv 6209, close 11540, drop 0 10.03 real 13.24 user 11.93 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3140, accept 2663, send 125881, recv 5474, close 0, drop 2650 10.02 real 13.66 user 12.58 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 1818, splice 873, unsplice 0, max 0, idle 0, accept 1019, send 203130, recv 96750, close 0, drop 2357 10.20 real 10.62 user 13.54 sys