==== 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 827, accept 375, send 548, recv 131, close 864, drop 0 10.03 real 18.48 user 11.54 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 44712, accept 34649, send 76998, recv 36415, close 52228, drop 0 0m10.04s real 0m10.12s user 0m20.28s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 26419, splice 8222, unsplice 0, max 0, idle 0, accept 11965, send 56723, recv 12247, close 43053, drop 0 10.03 real 13.74 user 13.88 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 19754, splice 2532, unsplice 12145, max 0, idle 0, accept 7824, send 35116, recv 5526, close 28297, drop 0 10.02 real 16.66 user 18.31 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 21419, splice 6748, unsplice 0, max 1863, idle 0, accept 10022, send 72323, recv 10584, close 29932, drop 0 10.02 real 15.63 user 18.54 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 21464, splice 7349, unsplice 0, max 0, idle 0, accept 9619, send 83861, recv 12033, close 30731, drop 0 10.03 real 15.42 user 18.29 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2990, accept 2843, send 128233, recv 4751, close 0, drop 2832 10.14 real 20.56 user 18.30 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 3063, splice 519, unsplice 0, max 0, idle 0, accept 2225, send 157235, recv 39983, close 0, drop 4673 10.14 real 17.89 user 19.14 sys