==== 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 818, accept 317, send 546, recv 95, close 783, drop 0 10.03 real 18.03 user 12.01 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 43303, accept 34304, send 79771, recv 36451, close 51294, drop 0 0m10.03s real 0m10.06s user 0m20.35s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 23917, splice 8225, unsplice 0, max 0, idle 0, accept 11222, send 54226, recv 12376, close 39376, drop 0 10.17 real 14.27 user 13.50 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 46652, splice 4434, unsplice 19246, max 0, idle 0, accept 7932, send 57685, recv 6530, close 47384, drop 0 10.03 real 13.88 user 18.74 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 25167, splice 8516, unsplice 0, max 2101, idle 0, accept 10434, send 84878, recv 11402, close 35473, drop 0 10.16 real 14.64 user 18.83 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 24065, splice 8042, unsplice 0, max 0, idle 0, accept 10501, send 94575, recv 13727, close 34111, drop 0 10.03 real 14.58 user 18.66 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2934, accept 2803, send 125965, recv 4755, close 0, drop 2781 10.02 real 19.63 user 19.02 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2887, splice 465, unsplice 0, max 0, idle 0, accept 2129, send 177153, recv 62279, close 0, drop 4414 10.16 real 17.26 user 18.93 sys