geerlingguy / pi-overvolt

Pi Overvolt firmware hack - WARNING: USE AT YOUR OWN RISK!
MIT License
31 stars 1 forks source link

Notes on new 2 GB Raspberry Pi 5 D0 stepping #4

Closed geerlingguy closed 2 months ago

geerlingguy commented 2 months ago

The new Pi 5 has a D0 stepping, which supposedly has a smaller die (for better cost per chip) with some of the 'dark silicon' Broadcom used for other purposes removed.

Right now it seems to only be available on the Pi 5 2GB, so I ordered a few samples and am testing them...

I have found a few things already:

geerlingguy commented 2 months ago

DSC00448

CPU die dimensions are 6.30mm x 5.98mm (37.674mm2)

Old C0 stepping that I have on hand measured 6.47 x 8.63mm (55.836mm2)

The result is about a 32.5% decrease in die area, quite respectable!

geerlingguy commented 2 months ago

CNX Software posted: Comparison of Raspberry Pi 5 with 2GB and 8GB RAM – Hardware, benchmarks, and power consumption.

Raspberry Pi 5 2GB Raspberry Pi 5 8GB
Power off 1.8 Watts 2.7 Watts
Idle (ondemand) 2.7 Watts 3.5 Watts
Idle (performance) 4.4 Watts 5.5 Watts

A few notes:

geerlingguy commented 2 months ago

Some of my own testing:

Screenshot 2024-08-27 at 10 49 13 AM
Pi 5 2GB D0 Pi 5 4GB C1 4GB Delta Pi 5 8GB C1 8GB Delta
Idle power 2.4W 3.3W 0.9W (+32%) 3.2W 0.8W (+29%)
Idle temp 30°C 32°C 2°C (+6%) 32°C 2°C (+6%)
stress-ng power 8.9W 9.8W 0.9W (+10%) 9.8W 0.9W (+10%)
stress-ng temp 59°C 63°C 4°C (+7%) 64°C 5°C (+8%)

All these tests were performed in as identical a physical environment as possible:

Sample of the 4GB Pi 5 C1 power consumption over time:

Screenshot 2024-08-27 at 10 06 10 AM
geerlingguy commented 2 months ago

I'm running another HPL benchmark to get energy efficiency: https://github.com/geerlingguy/top500-benchmark/issues/40

Because of the lack of RAM (my main theory), the 2GB Pi 5 gets a much lower score than the 8GB Pi 5, and even with the smaller chip efficiency isn't as great: 24.213 Gflops at 11.7W, for 2.07 Gflops/W

That's compared to 30.249 Gflops / 2.75 Gflops/W with the 8GB model.

Just reinforcing the idea that if your use case is memory-constrained, the 2GB model is a poor choice.

ThomasKaiser commented 2 months ago

0.2W (+10%)

Should read "0.9W (+10%)" both times :)

geerlingguy commented 2 months ago

@ThomasKaiser - Ah, drat, formatting markdown tables is always fun :) Fixed it!

geerlingguy commented 2 months ago

I'm re-running Geekbench 6 with swap size 1024 MB instead of the default 200 MB, just to see if it completes...

Got 893 / 1557, which is slightly faster single core, a good deal slower multi-core (probably because of swap + memory limitations): https://browser.geekbench.com/v6/cpu/7519453

ThomasKaiser commented 2 months ago

probably because of swap

sbc-bench -G would have shown the full story since monitoring for swapping and the other stuff ruining benchmark scores.

Or firing up sbc-bench -R and then once it's ready to monitor other benchmark executions running Geekbench in another Terminal. When finished benchmarking and stopping sbc-bench via [ctrl]-[c] it will tell whether swapping, throttling, frequency capping (and so forth) happened while the other benchmark has been executed :)

geerlingguy commented 2 months ago

I think my preliminary exploration is done, will be posting this on my blog/YouTube soon (hopefully Thurs/Fri, as long as baby doesn't arrive before I can post it lol).