The new Raspberry Pi 4

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
ghettopi
Posts: 15
Joined: Tue Jul 30, 2019 8:17 pm

Re: The new Raspberry Pi 4

Post by ghettopi » Fri Aug 02, 2019 6:05 pm

Here you go (I've the 2GB Version of the Rpi4:

Code: Select all

│ Benchmarks completed:                                                                             │
   │  - CPU Performance : Duration = 44.87 seconds (lower is faster)                                   │
   │  - CPU Temp        : Idle = 71'c | Full load = 74'c                                               │
   │  - RootFS          : Write = 13 MiB/s | Read = 33 MiB/s                                           │
   │  - RAM             : Write = 81 MiB/s | Read = 154 MiB/s    
and with sdram_freq=3200:

Code: Select all

 Benchmarks completed:                                                                             │
   │  - CPU Performance : Duration = 44.38 seconds (lower is faster)                                   │
   │  - CPU Temp        : Idle = 73'c | Full load = 74'c                                               │
   │  - RootFS          : Write = 11 MiB/s | Read = 33 MiB/s                                           │
   │  - RAM             : Write = 80 MiB/s | Read = 156 MiB/s   
I'm guessing the reason my results are much lower than other's is because my idle temp is very high. I'm not really sure why that is, I only have passive cooling though and no heatsink but one is in the mail and so is a 40mm fan which should really help.

EDIT: For anyone wondering wtf is causing the temps. I'm still a little confused myself as this is all I have running on the device:

Code: Select all

[ SUB2 ] DietPi-Services > start
[  OK  ] DietPi-Services | start : fail2ban
[  OK  ] DietPi-Services | start : nmbd
[  OK  ] DietPi-Services | start : smbd
[  OK  ] DietPi-Services | start : php7.3-fpm
[  OK  ] DietPi-Services | start : lighttpd
[  OK  ] DietPi-Services | start : qbittorrent
[  OK  ] DietPi-Services | start : rpimonitor
[  OK  ] DietPi-Services | start : cron
Still trying to work out how to get Wireguard to cover the whole device or just qBittorrent.

fr4nk1yn
Posts: 5
Joined: Mon Mar 25, 2019 12:21 am

Re: The new Raspberry Pi 4

Post by fr4nk1yn » Sat Aug 03, 2019 8:00 pm

wow! Mine are way off, I thought they were low but now that I see others it's apparently worst. IIRC there should be no thermal throttling at this temp.

Code: Select all

 Benchmarks completed:  
   │  - CPU Performance : Duration = 22.15 seconds (lower is faster)
   │  - CPU Temp        : Idle = 63'c | Full load = 67'c 
   │  - RootFS          : Write = 6 MiB/s | Read = 40 MiB/s
   │  - RAM             : Write = 171 MiB/s | Read = 353 MiB/s
huh,

Code: Select all

DietPi:~ $ sudo vcgencmd get_config sdram_freq
sdram_freq=0

Code: Select all

DietPi:~ $ sudo vcgencmd get_config int
arm_freq=1500
audio_pwm_mode=514
config_hdmi_boost=5
core_freq=500
core_freq_min=250
disable_commandline_tags=2
disable_l2cache=1
disable_overscan=1
disable_splash=1
display_lcd_rotate=-1
enable_gic=1
force_eeprom_read=1
force_pwm_open=1
framebuffer_depth=16
framebuffer_ignore_alpha=1
framebuffer_swap=1
gpu_freq=500
gpu_freq_min=500
init_uart_clock=0x2dc6c00
lcd_framerate=60
pause_burst_frames=1
program_serial_random=1
temp_limit=65
hdmi_force_cec_address:0=65535
hdmi_force_cec_address:1=65535
hdmi_pixel_freq_limit:0=0x11e1a300
hdmi_pixel_freq_limit:1=0x11e1a300

aftensleuk
Posts: 15
Joined: Sun Jul 21, 2019 7:27 pm

Re: The new Raspberry Pi 4

Post by aftensleuk » Mon Aug 05, 2019 4:17 pm

@derders

That's weird. I have the same SD-card but 32 GB only. You're getting a lot better speeds than I do!

derders
Posts: 7
Joined: Wed Feb 27, 2019 1:26 pm

Re: The new Raspberry Pi 4

Post by derders » Mon Aug 05, 2019 6:00 pm

aftensleuk wrote:
Mon Aug 05, 2019 4:17 pm
@derders

That's weird. I have the same SD-card but 32 GB only. You're getting a lot better speeds than I do!
I do not know if it is relevant, but I read that 32GB is an U1 and 64GB + 128GB are U3 cards

I get this on Windows with my Trancend TS-RDF5 adapter on USB 3.0 Image

morphious
Posts: 3
Joined: Fri Jul 12, 2019 5:26 pm

Re: The new Raspberry Pi 4

Post by morphious » Tue Aug 06, 2019 2:29 pm

Benchmarks completed:
CPU Performance : Duration = 8.54 seconds (lower is faster)
CPU Temp : Idle = 47'c | Full load = 54'c
RootFS : Write = 31 MiB/s | Read = 40 MiB/s
RAM : Write = 357 MiB/s | Read = 677 MiB/s


Using Sandisc Extreme 64g A2 card SDSQXA2-064G-GN6MA It was the fastest card I tried.

https://www.amazon.com/SanDisk-Extreme- ... way&sr=8-1

I also have the heatsink aluminum case as well - https://www.ebay.com/itm/264378837329

ghettopi
Posts: 15
Joined: Tue Jul 30, 2019 8:17 pm

Re: The new Raspberry Pi 4

Post by ghettopi » Tue Aug 06, 2019 5:35 pm

Well I got a Noctua NF-A4x10 5V Fan which runs very quickly and kinda loud (~4500 rpm). Also I am sure that the fans are spinning in the wrong direction but the device has some 'polarity protection' that is meant to prevent the fans being plugged in the wrong way. So I dunno. I did see people on Youtube having them spin both ways but I cbf'ed trying to investigate further.

NB! I don't really recommend this fan even though it cut my temps by 32C because it comes with a 3 pin connector, which needs to be plugged into a 2pin that it also comes with, so it can fit on (and doesn't break) the GPIO pins it needs to be plugged into. Leaving you with a ridiculously long amount of cable left that doesn't fit in ANY case what-so-ever so I had to break a hole in my case to let the cable out as there was no way I could force it all inside. I realise could cut the cable off, put a much shorter one on and put a plug on the end but I'd rather not.

Anyway my temps have gone from about 72C before, now to as low as 36C but absolutely no higher than 39C at idle.

So here are my new results, note that they are leagues better than before.
I've now got the lowest temps, second fastest rootfs speed here tested and second fastest RAM. I'm starting to think that the 2GB Pi has 15% slower RAM speed than the 4GB. At least from these benchmarks it seems that way.

Results:

Code: Select all

┌─────────────────────────────────────────────────┤ DietPi-Benchmark ├─────────────────────────────────────────────────┐
│                                                                                                                      │
│ Benchmarks completed:                                                                                                │
│  - CPU Performance : Duration = 8.93 seconds (lower is faster)                                                       │
│  - CPU Temp        : Idle = 38'c | Full load = 47'c                                                                  │
│  - RootFS          : Write = 25 MiB/s | Read = 34 MiB/s                                                              │
│  - RAM             : Write = 361 MiB/s | Read = 656 MiB/s                                                            │
│                                                                                                                      │
│ Compare these results online with other users, using the link below:                                                 │
│  - https://dietpi.com/survey#benchmark                                                                               │
│                                                                                                                      │
│                                                        <Ok>                                                          │
│                                                                                                                      │
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘

tl;dr - Get a fan people! My results more than quadrupled. The Raspberry Pi 4 is way, way, way too hot on its own without a fan.

EDIT:

Here is:
vcgencmd get_config int

Code: Select all

arm_freq=1500
audio_pwm_mode=514
config_hdmi_boost=5
core_freq=500
core_freq_min=250
disable_commandline_tags=2
disable_l2cache=1
disable_overscan=1
disable_splash=1
display_lcd_rotate=-1
enable_gic=1
force_eeprom_read=1
force_pwm_open=1
framebuffer_depth=16
framebuffer_ignore_alpha=1
framebuffer_swap=1
gpu_freq=500
gpu_freq_min=500
hdmi_blanking=1
init_uart_clock=0x2dc6c00
lcd_framerate=60
pause_burst_frames=1
program_serial_random=1
temp_limit=65
hdmi_force_cec_address:0=65535
hdmi_force_cec_address:1=65535
hdmi_ignore_hotplug:0=1
hdmi_pixel_freq_limit:0=0x11e1a300
hdmi_pixel_freq_limit:1=0x11e1a300
and
vcgencmd get_config sdram_freq

Code: Select all

sdram_freq=0

User avatar
MichaIng
Legend
Posts: 1588
Joined: Sat Nov 18, 2017 5:21 pm

Re: The new Raspberry Pi 4

Post by MichaIng » Sat Aug 10, 2019 6:30 pm

Hey guys, for reference: https://github.com/MichaIng/DietPi/issues/3046

Since RPi4 runs even hotter than RPi3 without cooling, raising the CPU temp limit to 75 °C (like our default on RPi3) makes sense, via dietpi-config > Performance Options, to avoid too early clock throttling.
You can slower the ARM minimum frequency via /DietPi/config.txt, e.g. arm_freq_min=300 works very well and should reduce idle CPU temp a bid. By default ondemand sample rate is 25 ms, so it only takes max 25 ms for the CPU to raise clocks when usage is rising, thus I see no downside in doing this.

I mentioned some other minor enhancements to reduce loaded hardware parts. Enabling headless mode via dietpi-config > Display Options > Display Resolution and disabling BT/WiFi via dtoverlay and RPi camera related modules: https://github.com/MichaIng/DietPi/issu ... -519947771
Of course only in case the related part is not required ;).

However what I as well got from official Raspberry Pi forum is that a fan is simply required in most cases, or some large heatsink as linked by @morphious.

What we need to find out, is why the RAM benchmarks are not better (even worse, in average) than on RPi3: https://dietpi.com/survey/#bench_ram
The LPDDR4 should be faster of course. Perhaps something else is limiting the R/W speeds to tmpfs, which is how be do this benchmark.
What I also find strange is that sdram_freq is reported to be 0 while default value according to official docs is 3200. I guess this is hardcoded for the RPi4, however some clarification, also if/that the sdram_freq has no effect, would be great.

If I find time I will forward the above questions to the RPi firmware devs.

morphious
Posts: 3
Joined: Fri Jul 12, 2019 5:26 pm

Re: The new Raspberry Pi 4

Post by morphious » Thu Aug 15, 2019 2:39 pm

ok, I got my site up on the new pi4

GTmatrix results show a ~50% drop in the load times from the Pi3 set up.

from 4-7 seconds average with Pi3
to 1.9-2.5 seconds with PI4

It's a Wordpress site with heavy 2K+ image and graphic sizes throughout. http://EI.house

-D

Post Reply