==== 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 794, accept 44, send 339, recv 21, close 528, drop 0 10.04 real 15.93 user 5.67 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 128739, accept 63631, send 159407, recv 64075, close 125228, drop 0 0m10.07s real 0m09.76s user 0m18.29s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 12692, splice 5964, unsplice 0, max 0, idle 0, accept 6014, send 31889, recv 7223, close 22001, drop 0 10.02 real 14.45 user 7.90 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 23160, splice 7013, unsplice 16010, max 0, idle 0, accept 7197, send 41347, recv 6578, close 32544, drop 0 10.05 real 15.53 user 14.88 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 16606, splice 7256, unsplice 0, max 2201, idle 0, accept 7943, send 68326, recv 10211, close 24759, drop 0 10.14 real 16.17 user 14.86 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 17325, splice 6997, unsplice 0, max 0, idle 0, accept 7868, send 72046, recv 11662, close 24676, drop 0 10.17 real 16.35 user 14.54 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2968, accept 2680, send 123621, recv 4604, close 0, drop 2663 10.02 real 18.10 user 15.32 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2753, splice 1121, unsplice 0, max 0, idle 0, accept 1729, send 157123, recv 37695, close 0, drop 3779 10.17 real 16.37 user 16.51 sys