Posted: Mon Jun 07, 2021 11:21 Post subject: R9000 - XR700 cpu speed
Hi
Can anyone tell me how to set the clock speed to 2.0Ghz on the R9000/XR700?
i came from R45229 and clock speed was set @ 2.0Ghz but updated to R46885 now @1.7Ghz, using GUI to set to 2000Mhz apply settings rebooted, the cpu clock shows @ 2.0Ghz in Ui but the nvram get clkfreq shows it still running at 1700Mhz so is this done with command line if so what's the commands please?
Foz _________________ Netgear R7800 PPPoE Main Router
Network IPV4 - Isolated Vlan's with IoT Devices. Unifi AC-Pro x 3 AP's, Router Wi-Fi Disabled. OVPN Server With Paid Commercial Wireguard Client's. Gateway Mode, DNSMasq, Static Leases & DHCP, Pi-Hole DNS & Running Unbound.
No one can build you the bridge on which you, and only you, must cross the river of life!
Last edited by foz111 on Mon Jun 07, 2021 13:49; edited 1 time in total
Joined: 16 Nov 2015 Posts: 6447 Location: UK, London, just across the river..
Posted: Mon Jun 07, 2021 12:11 Post subject:
hmm, there must be a reason for that...i guess...??
The only thing that comes to my mind is, to have a look at sysctl GUI section and find CPU value of 1700 try to change it to 2000 if that is working...im away of my R7800 to test that, so its a blind shot...
or have a look at cat /sys/devices/system/cpu/cpu*/cpufreq/ and change the value followed by nvram commit,
Do keep in mind, if there is a reason for BS, to slow down this CPU and you forced it back, it may interfere with something else and it may get funny...although there a 5 bad boots reset option, if that doesn't help in case of a 'shait', you may need TFTP or even serial.. "if router doesn't start at all.."
also have a look at SVN, if there is something about..there must be...i guess _________________ Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
No improvement in OpenVPN client throughput for me so i think the actual clock speed is staying @1.7Ghz i may be wrong. _________________ Netgear R7800 PPPoE Main Router
Network IPV4 - Isolated Vlan's with IoT Devices. Unifi AC-Pro x 3 AP's, Router Wi-Fi Disabled. OVPN Server With Paid Commercial Wireguard Client's. Gateway Mode, DNSMasq, Static Leases & DHCP, Pi-Hole DNS & Running Unbound.
No one can build you the bridge on which you, and only you, must cross the river of life!
https://svn.dd-wrt.com/ticket/7330
seems it needs command line to set @2.0Ghz now from my understanding of the above ticket.
so next question is going to be how is this set with CLI?
would it be:
Code:
nvram get clkfreq
nvram set clkfreq=2000
nvram commit && reboot
or
echo userspace > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
echo 2000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_setspeed
or
echo userspace > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor
echo 2000000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_setspeed
no ram speed is shown with nvram get clkfreq so assume no need to set ram speed anyone? _________________ Netgear R7800 PPPoE Main Router
Network IPV4 - Isolated Vlan's with IoT Devices. Unifi AC-Pro x 3 AP's, Router Wi-Fi Disabled. OVPN Server With Paid Commercial Wireguard Client's. Gateway Mode, DNSMasq, Static Leases & DHCP, Pi-Hole DNS & Running Unbound.
No one can build you the bridge on which you, and only you, must cross the river of life!