==== 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 65, send 355, recv 25, close 593, drop 0 10.01 real 15.65 user 6.46 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 127116, accept 61802, send 146096, recv 60722, close 123645, drop 0 0m10.09s real 0m09.52s user 0m18.31s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 8674, splice 4862, unsplice 0, max 0, idle 0, accept 4772, send 25410, recv 7666, close 15174, drop 0 10.04 real 14.53 user 7.55 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 19061, splice 6524, unsplice 12943, max 0, idle 0, accept 7497, send 42316, recv 7683, close 26675, drop 0 10.06 real 15.16 user 14.15 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 14823, splice 5633, unsplice 0, max 1702, idle 0, accept 6125, send 56467, recv 7346, close 19733, drop 0 10.04 real 15.78 user 15.15 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 12477, splice 5849, unsplice 0, max 0, idle 0, accept 6084, send 52699, recv 8019, close 18466, drop 0 10.04 real 16.70 user 13.67 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2886, accept 2667, send 124000, recv 4358, close 0, drop 2652 10.02 real 18.24 user 15.36 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2976, splice 1433, unsplice 0, max 0, idle 0, accept 1894, send 136801, recv 29490, close 0, drop 4102 10.06 real 15.74 user 17.08 sys