Router has been stabling running for over 10 days - so that makes me happy .
Here are the charts for the last week with the 75/10 up threshold/sampling down factor:
So yes, I rarely go up past the 800Mhz - but my WAN is only 30/5 - so there probably isn't a ton of stress on the system anyway . Since WAN speed is probably a non-issue I'm more happy with stability and WiFi between devices. Again though, I would be happy to test other settings to see how they work - but as of now, its not broke, lol.
Cheers!
Thanks for the feedback!
DeadEnd
update: past 15 days now... so I have a good feeling whatever was causing the restart every 4-6 days is now fixed. Very happy as like many others, Work from Home is the new normal and I needed this to be reliable.
Run that in the terminal to try out a combo of settings similar to Kong (using the ondemand governor). Was able to get me high 700 / low 800 mbps with software offloading enabled in the firewall. Sets your base frequency to 800mhz, ramps up quickly, and lessens the frequency that it checks to change frequency.
This is what my /etc/rc.local files looks like (same settings, feel free to tweak to the settings you are most comfortable with)
root@OpenWrt:~# cat /etc/rc.local
# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.
echo 800000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 800000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq
echo 20 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
echo 60 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor
echo 1000000 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate
exit 0
Moving interrupts to different CPUs provides little to no benefit for max throughput with recent builds - the spread of interrupts is reasonably balanced enough recently that it won’t give tremendous gains for most setups (there are always exceptions to this). I’d test your router with and without the settings, you’ll likely see little to no benefit. I use irqbalance too- I like it.
To test max throughput I’d use speedtest.net (not dsl reports). Dslreports speedtest has limited bandwidth from its limited servers.
Wired speedtest.net with a gig connection (try 2-3 different nearby servers) should hit upper 600’s - lower 800 mbps with more aggressive CPU settings, no SQM, and software offloading. Post your results.
results with this in local.rc, firewall software on and sqm disabled
# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.
# min scaling frequency: set to 800MHz because of L2 cache issues
echo 800000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq
echo 800000 > /sys/devices/system/cpu/cpufreq/policy1/scaling_min_freq
sleep 1
# ondemand governor
echo ondemand > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
echo ondemand > /sys/devices/system/cpu/cpufreq/policy1/scaling_governor
echo 20 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold
echo 60 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_down_factor
echo 1000000 > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate
exit 0
sqm cake
sqm default
with sqm off everything seems to be going much better. I have compilation from January, can a new one improve results?
Agreed, performance governor would give you max performance all the time.
Newer master builds have the Ansuel updates that improve things with the ondemand governor. I’d try the latest master. It won’t improve your SQM speed but it will fix some issues with the ondemand governor that have been fixed since January.
With hynman’s or master - With cake I can get upper 200’s mbps to low 300’s. Fq_codel gets to the mid 400’s. Raw routing performance in the upper 700’s low 800’s.
If you are feeling more adventurous you can try out quarky’s NSS or Ansuel’s NSS build. I’m trying out Ansuel’s latest NSS build and getting full line rate (940 mbps).
I also do not want to force the equipment unnecessarily.
and what do you prefer? sqm and less speed or sqm off and maximum speed?
unstable are NSS versions?
NSS versions update by web openwrt?
can you pass me the link to the thread?
it is main router, I need stability. I have updated to kong latest version, I do not know if it will have those improvements of the governor, kong has no changelog.
I don’t game so I’m not chasing after every milisecond - With gig download on WAN I haven’t really needed SQM, on the upload (Asymmetric cable 940/35 link) SQM is beneficial. . I usually run fq_codel / simplest on only the upload side.
The NSS builds are experimental. If you have basic linux skills, can compile firmware, and know how to rescue your r7800- you can give them a try (If not, I’d stick to a hynman build- see community builds, kong, or your own flavor). They unlock the two NSS 800mhz CPUs for hardware offloading :
If someone wants to try the new build, they should be stable... The worse it can happen is a panic with a very very special packet (we should have fixed this) or some packets doesn't get offloaded.
I can recover the router by tftf, and some linux things (I have VPS, raspberry, etc) but I have no practice compiling and those things .... there are no images made? that can be loaded by openwrt web?
At the moment, ipq806x routers with the NSS cores activated can already do ingress and egress shaping with no load imposed on the main CPU (i.e. Kraits) cores. It should be able to shape traffic up to line speed (i.e. 1Gbps) without issue.
The only downside is that it has to be done with startup scripts at the moment. We need someone who understand how to change Luci SQM codes to incorporate the changes to make it more user friendly.
The other catch is that the NSS shapers are not really modern. It has fq_codel and htb that could work in tandem to shape and split requests fairly, so it should serve most use cases.
Interesting. @moeller0 is frequently on all the SQM threads - don’t know if linking up the NSS cores with SQM in luci is up his alley.
I’ve enjoyed using ansuel’s master NSS build on my main router. Enjoying getting line rate (940/35). Seeing wifi performance similar to hynman builds so I’ve only kept it to this wired router.
I’m going to test your master build this weekend and see how offloading is working for wifi to see if that is a good setup for my APs.
I have no r7800 at my disposal so I will not be able to test anything at all and hence would typically avoid making changes, but what exactly is missing in the GUI, maybe somebody could explain the details here?