Everything You Need to Know About Overclocking the Raspberry Pi 400
Built into a keyboard case, the Raspberry Pi 400 makes for a neat desktop PC. Just plug it into a monitor and you're good to go. But aside from the keyboard case, it's essentially a modified Raspberry Pi 4 , using the same Broadcom BCM2711 Cortex-A72 quad-core processor. And, like the Pi 4, you can overclock it if you feel the need for more speed. Today's post will show you how.
As with other Raspberry Pi models running the official Raspberry Pi OS, you can change the CPU clock speed by modifying the config.txt file it uses to set it up at boot time.
First, you should update and upgrade your system. Open a terminal window by clicking the icon on the top menu bar or via Menu > Accessories > Terminal and type:
sudo apt update && sudo apt upgrade -y
Install monitoring tools
Before you overclock your Pi 400, you'll want to install a few helpful tools. First, install the Neofetch system information tool:
sudo apt install neofetch
Next, install the Stressberry stresstest tool:
sudo apt install stress sudo pip3 install stressberry
To view current system information, run:
neofetch
It will show the default CPU speed as 1.8 GHz. Next, you will want to do an initial stress test at the default clock speed to compare to the overclocked results later. Run this command to test for 100 seconds using all 4 cores:
stressberry-run -n "My Test" -d 100 -i 30 -c 4 mytest1.dat
After waiting for the base temperature to stabilize, it will run and each line will display the current CPU temperature and frequency (in MHz).
Edit Config.txt file to overclock
Now let's change the CPU speed settings to start overclocking. Open the config.txt file in the nano text editor:
sudo nano /boot/config.txt
Scroll down to the section that starts with "#uncomment to overclock the arm" and delete the line below. Now add the following lines:
arm_freq=2000 gpu_freq=750 over_voltage=6
Here we are setting the CPU clock speed to 2GHz, increasing the core voltage and also increasing the GPU speed as a bonus. Exit nano and save the settings by pressing Ctrl + X , then Y and Enter . To enable overclocking, reboot the Pi 400:
sudo reboot
Once it reboots, run the neofetch terminal command again; you should see a new CPU speed of 2.2 GHz.
Stresstest Pi 400 overclocked
Run the same stresstest as before, using Stressberry:
stressberry-run -n "My Test" -d 100 -i 30 -c 4 mytest2.dat
This time, you'll see the CPU hit an overclock of 2GHz. It'll also run at a higher temperature - in our tests, it maxed out at 48.2°C, which is well below the throttling level.
Overclock Pi 400 to higher speed
If you want to push the CPU speed of the Pi 400 even higher, you will need to add the line force_turbo=1 to the config.txt file to increase the overvoltage value above 6. Note that this will void the warranty.
For example, to overclock the Pi 400 to 2.2 GHz, add these lines to the overclock section of config.txt :
force_turbo=1 arm_freq=2200 gpu_freq=750 over_voltage=8
Save the file as before and reboot. The Pi 400 should boot fine at this overclock and you can run another stress test with Stressberry. In our tests we saw it running at a full 2.2GHz and temperatures reaching 54°C – still well below the tuning range.
Pushing the speed any higher is at your own risk, but YouTuber leepspvideo found that he could run the Pi 400 at 2.4GHz.
However, if overclocking to a certain level causes instability, you should try overclocking at a more modest level. In some cases, the Pi 400 may not even boot into the desktop, usually due to lack of power.
You should read it
- Overclock CPU, GPU and RAM easily and safely
- 11 Raspberry Pi acceleration tricks
- How to overclock RAM easily with AMD Ryzen Master
- Everything you need to know about overclocking your Raspberry Pi 5
- Should overclock to increase performance for gaming PC?
- Intel warns users not to overclock Alder Lake CPUs that are not in the K series
- How to automatically overclock Nvidia GPU with GeForce Experience Performance Tuning tool
- Is it possible to overclock the computer screen? How like?
May be interested
- Why should people try Raspberry Pi 4?the new raspberry pi 4 has been released, but do you need to upgrade? is raspberry pi 4 really offering more features than the previous raspberry pi 3 b +?
- Things to know about overclocking computersmany people may not know what overclocking is but at least have heard this term before. simply put, overclocking is the process of making a computer part like a microprocessor run with specifications higher than the manufacturer's specs.
- Raspberry Pi AI Kit: Bring AI to Raspberry Pithe raspberry pi ai kit is essentially raspberry pi's new m.2 hat+ board integrated with the hailo-8l acceleration module.
- Learn Pi Imager, How to Use Raspberry Pi Imagerthe raspberry pi foundation recently released a new application for recording sd cards for the raspberry pi. the new program, called raspberry pi imager, launches march 5, 2020.
- Instructions for overclocking graphics cards for better gaming performanceif you want your computer's graphics card to have a little extra power without spending a lot of money on a new model, overclocking the gpu is a simple way to do this. and it is really simple especially on windows computers. although this process takes a long time, it does not require any specific knowledge or advanced skills.
- How to use Raspberry Pi Imager to install Raspberry Pi OSraspberry pi foundation recently released a new app for burning sd cards for raspberry pi. the new program, called raspberry pi imager, launched on march 5, 2020.
- 5 ways to make good use of Raspberry Pi 4the latest raspberry pi 4 has the strongest hardware version, opening up completely new categories of what you can do with the application.
- Is it possible to overclock the computer screen? How like?when it comes to overclocking, we often think of overclocking cpu and gpu, but few people know that we can overclock the computer screen. this article will explain how to overclock the screen and why.
- 7 best Raspberry Pi 4 casesalthough the raspberry pi 4 is quite small, that doesn't mean you shouldn't equip it with an appropriate 'home'. here are the 7 best raspberry pi 4 cases you can buy right now.
- How to set up Raspberry Piyou may need some extra hardware and software for many of these projects, but the raspberry pi is still a great base.