Skip to content

Overclocking

Editing Config

Where gonna edit config located in /boot/firmware/config.txt and add the following at the bottom of the file

[all]
over_voltage=5
arm_freq=2000
gpu_freq=600

reboot

Checking

[xin@atlas]~ $ lscpu                                                                                           
Architecture:            aarch64
  CPU op-mode(s):        32-bit, 64-bit
  Byte Order:            Little Endian
CPU(s):                  4
  On-line CPU(s) list:   0-3
Vendor ID:               ARM
  Model name:            Cortex-A72
    Model:               3
    Thread(s) per core:  1
    Core(s) per cluster: 4
    Socket(s):           -
    Cluster(s):          1
    Stepping:            r0p3
    CPU(s) scaling MHz:  100%
    CPU max MHz:         2000.0000
    CPU min MHz:         600.0000
    BogoMIPS:            108.00
    Flags:               fp asimd evtstrm crc32 cpuid

Run a stress test

Install Sysbench

sudo apt install sysbench
sysbench --num-threads=8 --test=8 --test=cpu --cpu-max-prime=2000 run 
sysbench 1.0.20 (using system LuaJIT 2.1.0-beta3)

Running the test with following options:
Number of threads: 8
Initializing random number generator from current time


Prime numbers limit: 2000

Initializing worker threads...

Threads started!

CPU speed:
    events per second: 62732.48

General statistics:
    total time:                          10.0004s
    total number of events:              627504

Latency (ms):
         min:                                    0.06
         avg:                                    0.13
         max:                                   42.93
         95th percentile:                        0.06
         sum:                                79730.79

Threads fairness:
    events (avg/stddev):           78438.0000/582.43
    execution time (avg/stddev):   9.9663/0.02