Home » HTPC » What you need to know about overclocking Raspberry Pi

What you need to know about overclocking Raspberry Pi

Overclocking Raspberry Pi is a way to get the maximum out of the Raspberry Pi hardware. Device makers many times fix the components to work at lower speeds to improve reliability/life while also ensuring adequate performance. However, for many enthusiasts who are always hungry for speed and power, there is no such term as “adequate performance”. Overclocking is common among such folks. While Raspberry Pi, the sub-$50 micro-computer, comes with decent amount of power and speed for many operations its not enough for a smooth experience on some of the XBMC media center operating systems such as OpenELEC, Xbian, or Raspbmc. In fact, some of the observed lags and unresponsiveness observed in my comparison of these operating systems could be reduced or eliminated by overclocking Raspberry Pi. Before you jump in, here are a some things you should know before overclocking Raspberry Pi.

Build a Low-Cost Raspberry Pi Media Center ~$65 Price
Raspberry Pi 3 (RPi3) Model B Quad-Core 1.2 GHz 1 GB RAM Kit, including: ~$49.99
Samsung 16GB EVO Class 10 Micro SDHC Card with Adapter ~$6.99
SANOXY Wireless USB PC Remote Control Mouse for PC ~$8.00

Raspberry Pi Defaults

Before you begin changing the default clock speeds, it is essential to understand what the default clock settings on the Raspberry Pi are. So here it goes.

ARM (arm_freq): 700 MHz
Core (core_freq): 250 MHz
SDRAM (sdram_freq): 400 MHz
Overvolt: 0

Some people have these in their fingertips and some distros identify the default settings in their over clocking options/settings. Xbian, for example, shows the default settings under “None” (meaning no overclocking) as shown in the picture below (highlighted in Blue). On OpenELEC you might find this in the config.txt file.

Overclocking Raspberry Pi
Xbian Overclocking Settings

Nevertheless, before overclocking Raspberry Pi, it is a good idea to learn the default clock settings.

Understanding Raspberry Pi Overclocking Settings

Now that you know what the default clock settings are, let us see what those frequencies/clock parameters mean. While there are several clock settings, the parameters of importance for most media center enthusiasts are: arm_freq, core_freq, sdram_freq, and Overvolt. Others such as h264_freq (hardware video block frequency), isp_freq (image sensor pipeline block), v3d_freq (3D block), and gpu_freq (controls h264_freq, isp_freq, and v3d_freq simultaneously) will not be covered within this post.

ARM or arm_freq: ARM processor frequency (in general terms speed) in MHz.

CORE or core_freq: GPU (Graphical Processing Unit) frequency in MHz.

SDRAM or sdram_freq: SDRAM frequency in MHz.

Overvolt or over_voltage: More/Less voltage to be supplied to Raspberry Pi over the default 1.2 V. More work needs more energy. So, while overclocking it is essential provide a stable voltage that supports the overclocked speeds. Increase or decrease by 1 equals an increase (overvolting) or decrease (undervolting) in voltage of 0.025 V. There are 2 types of overvolting (aka Turbo Mode): Dynamic (on-need basis) and Forced (enabled at all times). Note that Forced overvolting voids the warranty or Raspberry Pi.

All these clock settings are entered in the config.txt file, which can found inside /flash in OpenELEC and /boot in Xbian and Raspbmc. This basic information is a good primer for the purposes of overclocking Raspberry Pi to speed up your media center. Any more complex applications would require a deeper knowledge. A good place to start is here.

Best Android TV Boxes

  1. NVIDIA SHIELD TV Streaming Media Player 2nd Gen - $199.99 editors pick
  2. Amazon Fire TV Box 2nd Gen - $99.99
  3. KDLINKS® A300 4K Android Quad Core 3D Media Player - $199.99
  4. Matricom G-Box Q² Android TV Streaming Media Mini PC - $97.00
  5. Henscoqi MXIII MX3 Quad Core Amlogic S802 2G/8G Smart HTPC TV Box - $49.99

Check Current Settings

One of the things you should be aware of is how to check the current clock settings. This will come in handy to verify if your Raspberry Pi overclocking was successful. There are couple of ways to check this. If you are able to SSH into your Raspberry Pi system, then use the following command:

cat /proc/cpuinfo

You should see an output like the one below. Note the BogoMIPS value of 840.00, which is the MHz to which my Raspberry Pi was overclocked to.

Processor       : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS        : 840.00
Features        : swp half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xb76
CPU revision    : 7

Hardware        : BCM2708
Revision        : 000f
Serial          : 00000000xxxxxxxxx

Alternatively, you can verify the CPU frequency from within the XBMC interface by going to Settings->System Info.

Raspberry Pi CPU Speed
Raspberry Pi CPU Speed

Risks of Overclocking Raspberry Pi

Overclocking Raspberry Pi allows you to get the best out of your device. But some do it without understanding the risks involved. It is ABSOLUTELY important that you understand what you are getting into. So here are few risks you should be aware of:

  • Life reduction – components may fail sooner
  • Heat generation – operating at higher speeds generate more heat (heat sinks are recommended)
  • File corruption – many have observed file corruptions at unoptimized overclocking settings
  • Warranty-Voiding – forced overvolting will void your warranty

There you go. All the basic information you need to know about overclocking Raspberry Pi.

We Are Hiring: Familiar with Media Streaming, HTPC, Home Server, Smart Home, and Home Automation topics? Write about it and earn money. No writing experience needed. APPLY HERE.

Get 20% OFF with IPVanish VPN:

♦   Hide your browsing and streaming activity: No logs and no tracking
♦   Access geo-restricted content from anywhere
♦   Encrypt and anonymize: Kodi, Plex, Downloads, Personal Info
♦   Windows, Mac, Linux, Android, iOS, Router, and more.
♦   Money back guarantee - Sign Up Now

About the author

Anand

Anand is a self-learned computer enthusiast, a part-time blogger, and a Food Scientist by career. He has been blogging since 2010 on Linux, Ubuntu, Home/Media/File Servers, Smart Home Automation, and related HOW-TOs on htpcbeginner.com and smarthomebeginner.com.

Archives

Join the other 110,000 followers

Don’t Miss Out!