This is probably a naive observation but it appears the unbound package that's installed with this script was compiled WITHOUT libevent. As someone who understands router configuration but hasn't taken the leap of faith to start compiling my own packages, this may explain why I've (we've?) been struggling with the aforementioned tweaks regarding multiple unbound threads, outgoing-range, queries per thread, etc. Not sure if there's an alternative way to get this functionality for us laymen folk but for now the single-thread solution is working like a charm. Thanks again to everyone's hard work on this!
FWIW I'm running unbound without logging, with advanced tweaks, without stubby, and with ad-block ("no, yes, no, yes" sequence using the installer). I then edit unbound.conf to make the following tweaks in BOLD based on my learnings from this full thread, as I'm using an RT-AC5300 with 512MB ram and a dual core processor:
# no threads and no memory slabs for threads
num-threads: 1
msg-cache-slabs: 2
rrset-cache-slabs: 2
infra-cache-slabs: 2
key-cache-slabs: 2
# tiny memory cache
key-cache-size: 64m
msg-cache-size: 32m
rrset-cache-size: 64m
cache-min-ttl: 900
cache-max-ttl: 86400
incoming-num-tcp: 1000
cache-max-negative-ttl: 60
# additional modifications
extended-statistics: yes
so-reuseport: yes
so-rcvbuf: 1m
use-caps-for-id: no
rrset-roundrobin: yes
FYI, OUTPUT SHOWING UNBOUND COMPILED W/O LIBEVENT:
# unbound -V
Version 1.9.3
Configure line: --target=arm-openwrt-linux --host=arm-openwrt-linux --build=x86_64-pc-linux-gnu --program-prefix= --program-suffix= --prefix=/opt --exec-prefix=/opt --bindir=/opt/bin --sbindir=/opt/sbin --libexecdir=/opt/lib --sysconfdir=/opt/etc --datadir=/opt/share --localstatedir=/opt/var --mandir=/opt/man --infodir=/opt/info --disable-nls --disable-dsa --disable-gost --enable-allsymbols --enable-ecdsa --enable-tfo-client --enable-tfo-server --with-libexpat=/media/ware/Entware.2019.10/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/opt --with-ssl=/media/ware/Entware.2019.10/staging_dir/target-arm_cortex-a9_glibc-2.23_eabi/opt --with-user=unbound --with-run-dir=/opt/var/lib/unbound --with-conf-file=/opt/var/lib/unbound/unbound.conf --with-pidfile=/opt/var/run/unbound.pid --without-pthreads --without-solaris-threads --without-libevent
Linked libs: pluggable-event internal (it uses select), OpenSSL 1.1.1d 10 Sep 2019
Linked modules: dns64 respip validator iterator
TCP Fastopen feature available