==== 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 806, accept 83, send 415, recv 47, close 568, drop 0 10.01 real 15.61 user 5.30 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123127, accept 61496, send 154705, recv 61178, close 121013, drop 0 0m10.08s real 0m09.53s user 0m18.10s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 12861, splice 6100, unsplice 0, max 0, idle 0, accept 6017, send 37219, recv 7913, close 21174, drop 0 10.12 real 13.89 user 8.11 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15118, splice 6308, unsplice 10499, max 0, idle 0, accept 6773, send 33623, recv 7351, close 21834, drop 0 10.03 real 15.78 user 14.44 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 15924, splice 7129, unsplice 0, max 2395, idle 0, accept 7381, send 58956, recv 9756, close 21625, drop 0 10.02 real 15.92 user 14.33 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 13345, splice 6330, unsplice 0, max 0, idle 1, accept 6237, send 56256, recv 10303, close 18390, drop 0 10.15 real 16.10 user 13.94 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2891, accept 2686, send 124495, recv 4393, close 0, drop 2665 10.02 real 17.51 user 15.25 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2653, splice 1276, unsplice 0, max 0, idle 0, accept 1704, send 160404, recv 48845, close 0, drop 3680 10.14 real 15.98 user 15.89 sys