I'm having a hard time how to get this running.
I installed ethtool package from LuCI GUI software page, now what should i do? I looked into the thread you sent me but i can't figure it out. Thanks
Run these commands from /etc/rc.local or in LuCI System / Startup at the vey bottom of the page.
echo 1 > /proc/irq/28/smp_affinity
echo 1 > /proc/irq/29/smp_affinity
echo 2 > /proc/irq/31/smp_affinity
echo 2 > /proc/irq/32/smp_affinity
echo performance > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
echo performance > /sys/devices/system/cpu/cpufreq/policy1/scaling_governor
echo 800000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq
echo 800000 > /sys/devices/system/cpu/cpufreq/policy1/scaling_max_freq
sleep 1
echo 1750000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_max_freq
echo 1750000 > /sys/devices/system/cpu/cpufreq/policy1/scaling_max_freq
ethtool -C eth0 tx-usecs 0
ethtool -C eth1 tx-usecs 0
ethtool -C eth0 rx-usecs 31
ethtool -C eth1 rx-usecs 31
Curious as to why i get
root@OpenWrt:~# /etc/rc.local
-ash: /etc/rc.local: Permission denied
root@OpenWrt:~#
I just want to know how to do this both ways, through ssh or startup. I just performed it on startup.
Thank you very much!
Because it does not have a execute bit set: run it as sh /etc/rc.local
I have one more question fantom-x,
Is this the same way to do this for SQM at startup? I keep losing my SQM if i reboot the router and have to ssh back to CLI to insert these commands
(e.g.
sh /etc/init.d/sqm or is it also sh /etc/rc.local
ifstatus wan
tc -d -s qdisc show dev eth0.2
uci show sqm
/etc/init.d/sqm stop && tc -s qdisc del dev eth1.2 root && tc qdisc add dev eth0.2 root cake bandwidth 100mbit wash dual-srchost no-split-gso
/etc/init.d/sqm stop
tc -s qdisc del dev eth0.2 root
tc qdisc add dev eth0.2 root cake bandwidth 100mbit wash dual-srchost no-split-gso
ip link add name ifb4eth0.2 type ifb
tc qdisc del dev eth0.2 ingress <- i get an error with this, must have this command for some reason though.
tc qdisc add dev eth0.2 handle ffff: ingress
tc qdisc del dev ifb4eth0.2 root
tc qdisc add dev ifb4eth0.2 root cake bandwidth 100mbit wash dual-dsthost ingress no-split-gso
ifconfig ifb4eth0.2 up # if you don't bring the device up your connection will lock up on the next step.
tc filter add dev eth0.2 parent ffff: protocol all prio 10 u32 match u32 0 0 flowid 1:1 action mirred egress redirect dev ifb4eth0.2
If you want to have this kind of custom sqm, then those commands would also go to /etc/rc.local.
Thank you very much!
cannesahs
cannesahs:
Remove / disable script (I inserted exit to 2nd line of file)
/etc/hotplug.d/net/20-smp-tune
What is this achieving?
Hi, i have questions on this, have you tried this?
What does this exactly do?
Do you just insert this command just like that or requires installing?
hello friend, how do i show CPU frequency? I have installed the app but it does not show that tab.
Thank you.
You mean in the statistics or the patches?
I mean to see in the statistics the frequency of the CPU, that tab does not appear by default in app statistics
In setup , did you enable it?
Is the collected cpu frequency is installed?
I think not, currently with snapshop version. just install app statistics and translation.
OpenWrt SNAPSHOT r15851-31a06f8fcc
Ah .
No.
You need patches if you want the cpu frequency scaling
I only want to monitor in statistics
what patch?
You need the plugin
Thanks for everything, could you tell me what to install? Thank you.
You do not need any patches. CPU frequency scaling is enabled by default in R7800.
You need to install collectd-mod-cpufreq (and then enable cpufreq in luci statistics)
Yep
Sorry, at first instance I thought he was talking About your patch
But it is not about 3200
I mixed two messages