you may get some more assistance creating a thread on the general forum...(was build related disabling of wpad) with regards to wireless... anything build related (very little) can be gathered from the command;
opkg list-installed | grep -e hostapd -e wpad; uci show wireless; service | grep wpad
this has changed through various iterations of the build... ( in the early days I did disable it... now it may depend on what the last install had ) so I cannot really provide a solid answer as to what the expected 'default' is other than to say...
all users (using wireless) should check it
add it to ENABLEDSERVICES just in case
thanks for highlighting this specific 'quirk' within the build...
please disable/stop irqbalance while testing these ( if you have enabled it )
instructions
curl -sSL https://raw.githubusercontent.com/wulfy23/rpi4/master/utilities/20-smp-packet-steering > /etc/hotplug.d/net/20-smp-packet-steering
#and reboot or restart networking
#EDIT: manual curl of this file now requires PACKETSTEERING=1 in /root/wrt.ini
#this can graphically edited at luci > system > startup > local startup
#commenting this out and rebooting (ifup br-lan?) will turn it off
#new builds will have this turned on and it is backported...
after that is fully tested... you can add(update) this and test too...
curl -sSL https://raw.githubusercontent.com/wulfy23/rpi4/master/utilities/rpi-perftweaks.sh > /bin/rpi-perftweaks.sh
#######@/root/wrt.ini
PERFTWEAKS="default" #may be set to "1" already or no entry
#then reboot or just run /bin/rpi-perftweaks.sh
#there is no undo... comment out PERFTWEAKS= then reboot should be close
and if/after you've tested the above... fyi...
PERFTWEAKS=1
POWERPROFILE="quick"
PFAFFINITY="32:f 33:f 26:c"
#PFRENICE=1
#PFSERVICECPU=1 #taskset some procs to cpu's
or whatever will let you re-assign irq-affinity... the other stuff is static for now can be overridden via /etc/perftweaks.txt ... but the commented vars above allow turning on and off... you'd need to reboot to undo tho'
(edit: network restart does not seem to add the usb nics again... so reboot may be needed although the onboard is the most important bit anyway)
also if anyone thinks they may want
"packet_steering" as a build default and (edit: now enabled comment out PACKETSTEERING=1 to disable )
NOT/NO performance tweaks as default... ( edit: now enabled comment out PERFTWEAKS="default" to disable )
i'd like to hear from you... ( otherwise next upgrade comment out #PERFTWEAKS= because i'll likely backport some defaults in the next build aka insert some vars into your wrt.ini that govern this )
as control traffic... if it's now using something else... then it will likely get placed in a lower teir... ( you didn't exactly explain what you mean by problems... last time we spoke... I said to remove the pc from GAMING_MACS as that variable is not suited to mixed traffic devices... ideally you should add it back and not download on the same machine whilst gaming... (or you can download within a VM also) there are another qos scripts that may suit you better also... )
ok... you'd probably still see some benefit from both... but vlan setup+not super high wan connection means less stuffing around if you just wait for more polished versions...
( but technically it's worth testing under wan@vlan conditions also )... i'll put this on my list...
you will get gains... by just enabling basic(default) steering for now...
uci -q set network.globals.packet_steering='1'; uci commit network; /etc/init.d/network restart
[FIRST-SCRIPT/STEERING]
the main problem is sqm getting cpu-bound over around/above 2-300mbps somewhere... so users with high speeds should see roughly 15-30% gains under peak demands...
[SECOND-SCRIPT]
basically just bumps up the min_freq 600000>900000 the rest is likely superfluous... apart from the INTERRUPT-AFFINITY... which ties into SCRIPT1/STEERING
when i try to login it says "connection to server has been interrupted."
I think it some other issue. I removed these two settings from the dnsmasq config and i was able to login.
But now it is again stuck at loading and giving me error "connection to server has been interrupted"
maybe port issue as you mentioned here
from the last debug output you sent me... your network ( upload ) showed extremely high contention ( too much load for the speed )... you really need to study more about qos/sqm... and ideally upgrade your wan subscription speed / isp...
read this it explains clearly (using an alternate shaper) how adequate upload bandwidth availability is CRITICAL to everything...
Just some SQM questions, it seems like the Rpi4 can handle upload SQM pretty well(comfortable at 800 000kbit/s). But for download it caps at 600 000~kbit/s no matter what settings I use. Is this a restriction of the Rpi4 from a CPU standpoint or should I do some tests for you @anon50098793?
ive never used pie... should be cake for that shaper...
off-topic-note: realized recently that script should really be called;
ctinfo_8layercake_rpi4.qos
due to it instantiating with diffserv8... but i'm happy to just keep the name aligned with where it was pilfered from for provinence reasoning...
i've never really provided much guidance for the SQM-CONFIG setting for use with that script...
verbage
partly because i'm not sure what it can support... but for reference... i've always used it with a bone standard up/down on single wan with practically no other options...
up to you... but you need to ressign eth0 interrupt affinity (or use packet_steering ) to achieve max throughput...
verbage
i (got off my rear) ran controlled 'internal-fake-GB-wan' testing yesterday ( @dlakelandid so a long time ago ) with and without sqm... so we know where the main impediments are... we just don't know what is 'perfect'-value-s/sane-default/alternate nic behavior... which is something only a user comfortable with messing with IRQ etc. can really assist with... even with my mediocre ( witness-me ) skills its difficult to isolate or interpret tweaking all of these values...
fwiw... i'm now semi-randomly setting...
echo -n c > /proc/irq/32/smp_affinity
echo -n c > /proc/irq/33/smp_affinity
echo -n a > /sys/class/net/eth0/queues/*/*_cpus
and to avoid panic / confusion... most of this is only really relevant for people with WAN OVER ~250-350Mb/s hence why it took me so long to dig into this at all...
this graph is pretty interesting/evident... the spike at the end of monday is the perf testing with defaults which was cpu bound...
you can see high sirq and little to no load on cpu3/4 in the proceeding days...
tuesday onwards are with the current tweaks... sirq barely registers and load is distributed much more evenly across all cores... ( the big spike on tuesday are identical perf tests yet thresholds are almost halved due to interrupt levelling and better cpu allocations )
Tried your build and couldn't find any poweroff button. Is it hidden somewhere? Could only find reboot. Didn't want to corrupt the SD card. Had to SSH in to use poweroff command. Any shortcut for this?