Image of the Raspberry Pi 5

Raspberry Pi 5 Desktop Mini PC: Overclocking

This is a multi-part blog looking at a Raspberry Pi 5 running Linux as a desktop computer.

In my previous article in this series, I ran a set of benchmarking comparing the Raspberry Pi 5 to an Intel N100 Mini PC. This article repeats some of the benchmarks but this time includes additional results by overclocking the Pi 5 by varying degrees.

To overclock the Pi 5, edit /boot/firmware/config.txt and add a few additional lines. Here’s an example to overclock the core frequency to 2.6 GHz, set the VideoCore VII core frequency to 900 MHz, and increasing the voltage limit.

arm_freq=2600
gpu_freq=900
over_voltage=2

It’s probably better to use over_voltage_delta rather than over_voltage but it makes no difference to the benchmark results.

Here’s a table showing the overclocking frequencies used in the charts below.

RPI5RPI5-OC1RPI5-OC2RPI5-OC3
arm_freq=2400arm_freq=2600arm_freq=2800arm_freq=3000
gpu_freq=800gpu_freq=900gpu_freq=1000gpu_freq=1100
over_voltage=1over_voltage=2over_voltage=4over_voltage=6

I’m only going to run a few benchmarks as this gives sufficient information to assess how an overclocked Pi 5 compares to the N100 Mini PC. These benchmarks only test the CPU.


Overclocking the Raspberry Pi 5

$ phoronix-test-suite benchmark smallpt

Smallpt is a C++ global illumination renderer written in less than 100 lines of code. Global illumination is done via unbiased Monte Carlo path tracing and there is multi-threading support via the OpenMP library.

Even the non-overclocked Pi 5 beats the N100 in this test. But with overclocking, the margin increases significantly. Performance scales decently.


Overclocking the Raspberry Pi 5

$ phoronix-test-suite benchmark compress-pbzip2

This test measures the time needed to compress a file (a .tar package of the Linux kernel source code) using BZIP2 compression.

The N100 still surpasses an overclocked Raspberry Pi 5 by a country mile. Even if I pushed the Pi 5 above 3.0 GHz, it’ll get nowhere near the N100 for this benchmark.


Overclocking the Raspberry Pi 5

$ phoronix-test-suite benchmark coremark

Coremark is a benchmark that measures the performance of central processing units (CPU) used in embedded systems.

A significantly overclocked Pi 5 puts in a decent result getting very close to the N100’s performance.

Summary

The benchmarks demonstrate that the Pi 5 is competitive with an Intel N100 and will make a capable desktop machine.

My board gives a stable overclock at 3.0 GHz. I didn’t try any higher but given I’m using a Pironman 5 case which has case fans and a decent heatsink/fan cooler, I could probably overclock even more. The Pi 5 temperature peaks at only 57.9°C under full load even overclocking at 3.0 GHz. That’s at a room temperature of 20.7°C.

A few things to bear in mind:

  • Overclocking increases power consumption, leading to higher heat output. Make sure your Pi 5 has adequate cooling when overclocking. Monitor the CPU temperature using vcgencmd measure_temp.
  • Overclocking can cause system crashes. Use the s-tui program to stress the machine. At the same time, the program monitors the temperature in real time. The Pi 5 will throttle when the temperature reaches 85°C.

All articles in this series:

Raspberry Pi 5 Series
Hardware
iRasptek Starter KitAll the kit you need to get started with the Pi 5
Pironman 5 Case ReviewTransform the Pi 5 into a beautiful desktop mini PC
Passive Cooling the Pi 5Passively cool your Pi 5 the right way. Silent yet cool
BenchmarkingBenchmarking the Pi 5 against an Intel N100 mini PC
OverclockingLet's increase the clock speed of the BCM2712 SoC
Power ConsumptionCompare the power consumption of the Pi 5 with Intel Mini PCs
2.5Gbps NetworkingImproving the wired performance of the Pi 5
WiFiImprove WiFi performance of the Pi 5
Desktop PCIs the Pi 5 good value compared to an Intel N100 Mini PC?
Configuration
raspi-configUseful text-based tool to configure the Pi 5
PiGroGUI tool that streamlines the process of managing the Pi 5
Increase Swap Memory SizeIncrease the swap size from 512MB to 2GB
ZRAM swapdriveSimple script to use a ZRAM swapdrive instead of a swapfile
Software
Installing SoftwareDifferent ways to install software on the Pi 5
df snap pollutionReplace df with dysk
Ollama GUIRunning Large Language Models on the Pi 5
Music PlayersGUI and TUI music players explored
Many software articles are planned. Stay tuned!
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Read our Comment FAQ before commenting.

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments