==== 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 767, accept 85, send 361, recv 40, close 567, drop 0 10.02 real 15.58 user 7.38 sys ==== run-sock100 ==== ulimit -n 500; time ./tcpthread -n100 count: connect 121958, accept 63875, send 172649, recv 64568, close 122725, drop 0 0m10.07s real 0m09.25s user 0m17.82s system ==== run-splice ==== time ./tcpthread -n10 -S2 count: connect 17412, splice 7529, unsplice 0, max 0, idle 0, accept 7528, send 48606, recv 9575, close 27445, drop 0 10.03 real 13.98 user 8.62 sys ==== run-unsplice ==== time ./tcpthread -n10 -S2 -U1 count: connect 15516, splice 5536, unsplice 9792, max 0, idle 0, accept 6148, send 34985, recv 6277, close 21342, drop 0 10.08 real 16.64 user 14.51 sys ==== run-max ==== time ./tcpthread -n10 -S4 -M100 -s2 -r2 count: connect 17322, splice 7317, unsplice 0, max 2618, idle 0, accept 7333, send 81759, recv 10745, close 21660, drop 0 10.02 real 13.07 user 14.00 sys ==== run-idle ==== time ./tcpthread -n10 -S4 -I100 -s2 -r2 count: connect 10976, splice 4571, unsplice 0, max 0, idle 0, accept 4083, send 58947, recv 6770, close 14030, drop 0 10.12 real 12.63 user 12.53 sys ==== run-drop ==== time doas -n ./tcpthread -n10 -D3 -o0 count: connect 3101, accept 2670, send 125357, recv 5184, close 0, drop 2658 10.02 real 14.18 user 12.49 sys ==== run-splicedrop ==== time doas -n ./tcpthread -n10 -S2 -D3 -o0 count: connect 3780, splice 1853, unsplice 0, max 0, idle 0, accept 2105, send 210539, recv 72137, close 0, drop 4767 10.20 real 11.03 user 13.19 sys