Wednesday, 12 April 2017

How to overclock the Raspberry Pi 3 (and the Raspberry Pi 2)

Why overclock a Raspberry Pi 3?

Raspberry Pi 3 has greatly improved processor power compared to previous models. Raspberry Pi 3 may still be insufficient for some uses.
You will be able to further improve its performance vy overclock of the raspberry.

And its allow the processor to reach frequencies of 1.5 GHz and compared to only 1.2 GHz by default.

The power recovered by such of useful example, when it comes to improving the fluidity of games or even when playing videos .

The hardware needed to overclock the Raspberry Pi 3

If the changes to overcloker a Raspberry Pi are essentially software, these changes nevertheless have a real physical impact that should be taken into account.

Firstly, to increase the computing power of the processor but there is a risk of overheating, which could be dangerous for the Raspberry Pi,

Since some have been able to measure heat peaks at nearly 100 ° C!

Secondly,  the processing power of the processorare increasing then it also give results in an increase in its energy consumption.

It could be a problem if the power supply of the Raspberry Pi is not sufficiently efficient.

If you want to overclock your Raspberry Pi then you will have to equip yourself with two indispensable accessories:

·      A good quality power supply (we recommend a 5v 3A power supply, 

·      A cooling system. Many solutions exist, but not all are equal. As overclocking a Raspberry Pi 3 increases its temperature strongly, we advise you to turn to a system implementing both passive cooling ( heat sink ), and active cooling ( fan). 
·       Offering adapted housings
·      Delivered with fans
·      Supporting the addition of heat sinks.


Edit the configuration file to overclock the Raspberry Pi 3

Now that you have all the material in hand let's move on to serious things!

If it were relatively simple to overclock the previous models of the Raspberry Pi (it was enough to use the command sudo raspi-config), it is now more complicated with the Raspberry Pi 3, and it is now necessary to put hands in the files of configuration.

To overclocked of the Raspberry Pi 3, we will modify the file /boot/config.txt,

It contains a number of loaded settings at the start of the Raspberry Pi and to determine its behavior which is including the use of the processor.

In order to modify this file, you must start a terminal window on your Raspberry Pi, and type this following command:

Sudo nano /boot/config.txt

This command will open the file /boot/config.txtwith the text editor nano, and the command sudowill ask the system to execute this action with an administrator account ( /boot/config.txt since it is very important, only the administrator accounts can modify it).

Now this file is open, you will have to modify it to contain these following lines:
Core_freq = 500 # GPU Frequency

Arm_freq = 1500 # CPU Frequency

Over_voltage = 4 #Electric power sent to the CPU / GPU (4 = 1.3V)

Disable_splash = 1 # Disables the display of the electrical alert screen

Note these  lines probably already. If it exist in different versions then you modified them. And make sure they are not commented (ie the line does not start with one #).

Once you have made all of the changes then save the file using the shortcut command  Ctrl+o and exit the file with the shortcut Ctrl+x.

Last step, all you have to do now is restart your Raspberry Pi with the command reboot.

Check if the overclock is activated

Once your Raspberry Pi has finished rebooting then you only have to verify that it is overclocked.

After that, you just need to run the command lscpu, which is used to obtain information about the processor. !

Changes over overclock the Raspberry Pi 2

Small changes for those who want to improve the performance of their Raspberry Pi 2, or other older models.

This time, the manipulation is much simpler, since you will be able to use the GUI of raspi-config. Proceed as follows:

In a terminal on the Raspberry Pi, run the command sudo raspi-config

Select the option Overclock, a message informing you of the dangers of the overclock appears,ok

Choose the overclock that suits you (eg 1000MHz). A message informing you of the change appears,ok

Choose Finish, a message will ask if you want to restart, do ok.

No comments:

Post a Comment