==== 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 830, accept 48, send 354, recv 26, close 565, drop 0 10.03 real 15.52 user 6.39 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 122098, accept 62098, send 159629, recv 62843, close 120949, drop 0 0m10.08s real 0m08.65s user 0m18.98s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 11762, splice 5771, unsplice 0, max 0, idle 0, accept 5810, send 38317, recv 9479, close 19512, drop 0 10.04 real 14.21 user 7.83 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 16281, splice 5805, unsplice 11203, max 0, idle 0, accept 6965, send 35856, recv 6763, close 23550, drop 0 10.04 real 16.29 user 13.76 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 12042, splice 5413, unsplice 0, max 1911, idle 0, accept 6078, send 48110, recv 8728, close 17463, drop 0 10.16 real 17.12 user 14.70 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 10439, splice 4932, unsplice 0, max 0, idle 0, accept 5213, send 45876, recv 7822, close 15512, drop 0 10.16 real 17.68 user 14.35 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2897, accept 2651, send 124440, recv 4192, close 0, drop 2644 10.18 real 17.58 user 15.96 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2834, splice 1382, unsplice 0, max 0, idle 0, accept 1804, send 157065, recv 51159, close 0, drop 3942 10.10 real 16.35 user 15.99 sys