==== 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 848, accept 62, send 360, recv 31, close 595, drop 0 10.04 real 15.35 user 6.18 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 123571, accept 62790, send 156551, recv 61202, close 121670, drop 0 0m10.07s real 0m09.47s user 0m17.37s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 10208, splice 5213, unsplice 0, max 0, idle 0, accept 5242, send 35886, recv 7756, close 17726, drop 0 10.08 real 14.48 user 7.21 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 12214, splice 3540, unsplice 8297, max 0, idle 0, accept 4650, send 25688, recv 4335, close 18030, drop 0 10.02 real 17.30 user 14.63 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 14142, splice 6191, unsplice 0, max 2155, idle 0, accept 6836, send 56628, recv 8237, close 20329, drop 0 10.06 real 15.90 user 14.36 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 12858, splice 5643, unsplice 0, max 0, idle 0, accept 5761, send 49029, recv 10237, close 17161, drop 0 10.18 real 16.50 user 15.32 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 2834, accept 2606, send 121936, recv 4357, close 0, drop 2596 10.02 real 17.73 user 15.62 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 2778, splice 1222, unsplice 0, max 0, idle 0, accept 1718, send 154563, recv 37841, close 0, drop 3784 10.06 real 16.35 user 16.00 sys