==== 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 748, accept 62, send 355, recv 28, close 508, drop 0 10.03 real 15.35 user 5.85 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123183, accept 61468, send 152620, recv 62067, close 120292, drop 0 0m10.08s real 0m09.49s user 0m18.28s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 13738, splice 6549, unsplice 0, max 0, idle 0, accept 6401, send 36627, recv 8203, close 22333, drop 0 10.02 real 13.85 user 8.03 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 14165, splice 5637, unsplice 9841, max 0, idle 0, accept 6390, send 31687, recv 6454, close 20779, drop 0 10.16 real 16.25 user 14.20 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 13099, splice 5936, unsplice 0, max 1883, idle 0, accept 6282, send 53020, recv 7974, close 19232, drop 0 10.04 real 15.80 user 14.73 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 10404, splice 5362, unsplice 0, max 0, idle 0, accept 5453, send 49017, recv 10417, close 15114, drop 0 10.08 real 16.49 user 14.53 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2876, accept 2620, send 123616, recv 4198, close 0, drop 2602 10.02 real 17.67 user 15.76 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2352, splice 1110, unsplice 0, max 0, idle 0, accept 1479, send 175142, recv 66766, close 0, drop 3301 10.02 real 15.34 user 16.42 sys