==== 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 808, accept 65, send 365, recv 26, close 551, drop 0 10.01 real 14.75 user 9.54 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 124924, accept 63187, send 155915, recv 63750, close 123018, drop 0 0m10.08s real 0m09.27s user 0m18.26s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 13791, splice 6725, unsplice 0, max 0, idle 0, accept 6559, send 39212, recv 9066, close 22878, drop 0 10.02 real 13.49 user 11.10 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 10415, splice 3385, unsplice 7540, max 0, idle 0, accept 4018, send 20524, recv 4167, close 15273, drop 0 10.02 real 17.44 user 15.10 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 12111, splice 5518, unsplice 0, max 2056, idle 0, accept 6069, send 46249, recv 7618, close 17767, drop 0 10.06 real 16.85 user 15.59 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 13116, splice 5685, unsplice 0, max 0, idle 0, accept 6627, send 60966, recv 9994, close 19848, drop 0 10.18 real 16.26 user 15.58 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2894, accept 2663, send 124075, recv 4485, close 0, drop 2650 10.02 real 18.68 user 15.42 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2731, splice 1317, unsplice 0, max 0, idle 0, accept 1810, send 162252, recv 55524, close 0, drop 3846 10.05 real 15.88 user 16.77 sys