==== 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 831, accept 125, send 419, recv 67, close 634, drop 0 10.01 real 15.73 user 5.73 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 128855, accept 61381, send 161644, recv 62399, close 122877, drop 0 0m10.09s real 0m09.49s user 0m18.50s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 13459, splice 6136, unsplice 0, max 0, idle 0, accept 6000, send 39644, recv 8967, close 21329, drop 0 10.17 real 13.65 user 7.95 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 16313, splice 5470, unsplice 9620, max 0, idle 0, accept 6177, send 36303, recv 6765, close 21917, drop 0 10.03 real 16.84 user 13.52 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 9897, splice 5062, unsplice 0, max 1951, idle 0, accept 4983, send 61044, recv 8298, close 13490, drop 0 10.04 real 12.88 user 10.63 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 6643, splice 3682, unsplice 0, max 0, idle 32, accept 3517, send 74627, recv 9641, close 8894, drop 0 10.12 real 9.61 user 8.16 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3085, accept 2671, send 85424, recv 5353, close 0, drop 2662 10.10 real 10.70 user 8.23 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 3241, splice 1544, unsplice 0, max 0, idle 0, accept 1996, send 163045, recv 33024, close 0, drop 4256 10.12 real 8.82 user 8.93 sys