==== 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 814, accept 372, send 563, recv 123, close 827, drop 0 10.01 real 18.45 user 11.47 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 41376, accept 33843, send 74921, recv 34594, close 49822, drop 0 0m10.02s real 0m10.57s user 0m20.12s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 23721, splice 7940, unsplice 0, max 0, idle 0, accept 10845, send 51490, recv 11229, close 38655, drop 0 10.05 real 13.96 user 13.95 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 61547, splice 4142, unsplice 19701, max 0, idle 0, accept 8108, send 62933, recv 6506, close 54963, drop 0 10.04 real 13.66 user 18.59 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 25808, splice 8333, unsplice 0, max 2120, idle 0, accept 10476, send 90609, recv 11973, close 35236, drop 0 10.04 real 14.09 user 18.72 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 22763, splice 7409, unsplice 0, max 0, idle 0, accept 9719, send 91397, recv 13621, close 31479, drop 0 10.13 real 14.07 user 18.85 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2935, accept 2806, send 127890, recv 4847, close 0, drop 2790 10.02 real 19.90 user 18.53 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2545, splice 542, unsplice 0, max 0, idle 0, accept 1863, send 224401, recv 102084, close 0, drop 3835 10.12 real 16.59 user 18.37 sys