Telem-GW6 CPU frequency: Difference between revisions

From Phobos Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
If needed, it is possible to make GW6 a little bit faster by setting a higher CPU frequency.
If needed, it is possible to make GW6 a little bit faster by setting a higher CPU frequency.
=== Set faster CPU frequency ===
=== Set faster CPU frequency ===
# Login to GW6 console.
* Login to GW6 console.
# Login as root
* Login as root
#* su
su
# Rename
* Rename
#* mv /etc/init.d/N17setcpuspeed /etc/init.d/S17setcpuspeed
mv /etc/init.d/N17setcpuspeed /etc/init.d/S17setcpuspeed
# Edit CPU frequency in file
* Edit CPU frequency in file
#* vi /etc/init.d/S17setcpuspeed
vi /etc/init.d/S17setcpuspeed
# Uncomment one of the lines in '''S17setcpuspeed''' to set that frequency
* Uncomment one of the lines in '''S17setcpuspeed''' to set that frequency
#* CPU_FREQ=$CPU_FREQ_312
CPU_FREQ=$CPU_FREQ_312
#* CPU_FREQ=$CPU_FREQ_416
CPU_FREQ=$CPU_FREQ_416
#* CPU_FREQ=$CPU_FREQ_520
CPU_FREQ=$CPU_FREQ_520


To enable selected frequency
To enable selected frequency
Line 19: Line 19:


=== Check current CPU frequency ===
=== Check current CPU frequency ===
# Login to GW6 console.
* Login to GW6 console.
# Login as root
* Login as root
#* su
su
# run command  
* run command  
  cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
  cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq

Latest revision as of 12:53, 28 January 2013

If needed, it is possible to make GW6 a little bit faster by setting a higher CPU frequency.

Set faster CPU frequency

  • Login to GW6 console.
  • Login as root
su
  • Rename
mv /etc/init.d/N17setcpuspeed /etc/init.d/S17setcpuspeed
  • Edit CPU frequency in file
vi /etc/init.d/S17setcpuspeed
  • Uncomment one of the lines in S17setcpuspeed to set that frequency
CPU_FREQ=$CPU_FREQ_312
CPU_FREQ=$CPU_FREQ_416
CPU_FREQ=$CPU_FREQ_520

To enable selected frequency

/etc/init.d/S17setcpuspeed start

or

reboot

Check current CPU frequency

  • Login to GW6 console.
  • Login as root
su
  • run command
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq