1 1
seven.7777777s

NanoPi M4 and overheating running BOINC

Recommended Posts

I am testing a Nano-Pi M4 with 4GB of RAM, with the heat sink and fans installed

ARMBIAN 5.65 stable Ubuntu 18.04.1 LTS 4.4.162-rk3399, docker CE and BOINC / seti@home, installed.

I am using 7 Raspberry-Pi 3B+ boards as nodes.   I would like to implement and test boinc-client-docker, (https://github.com/BOINC/boinc-client-docker).

I am new at this and running into overheating issues, (temps over 70C as reported by htop), when all 6 cores are maxed out at 100%.

I can keep the board slightly below 70C if I add multiple fans pointed at the heat sink, however I would like a better solution.

 

I was wondering if setting the max frequency of the cores to a slightly lower level would resolve this issue.

2x Cortex-A72 at up to 2.0GHz, 4x Cortex-A53 @ up to 1.5GHz

cores 1 through 4 will run at 1.49x and cores 5 & 6 will run at 1.99x

they all idle at 600 MHz with a resting temp of 32C

Would setting thee max frequencies to 1.48 and 1.8 help resolve this issue?

What would be the best method of testing this?

 

The results of

cat /etc/default/cpufrequtils
# WARNING: this file will be replaced on board support package (linux-root-...) upgrade
ENABLE=true
MIN_SPEED=600000
MAX_SPEED=2016000
GOVERNOR=ondemand

 

Edited by seven.7777777s

Share this post


Link to post
Share on other sites

Indeed it would. Less voltage on the CPU normally ends in less heat.. ;) CPU supports dvfs so by lowering the max CPU freq normally helps. But why is the 70°C an issue? E.g. the CPU throttles if it's to warm. Just your expectation that it is to warm or do you have issues with it?

 

https://github.com/armbian/build/blob/master/patch/kernel/rk3399-default/overclock-rk3399-to-1.5-2.0.patch

is responsible for the 1.5 GHz/2GHz frequency... :P Not sure if adjusting 'cat /etc/default/cpufrequtils' also affects little cores (not that familiar big.LITTLE). Otherwise you would have to adjust the DT. And maybe apt-hold the related package to ensure it doesn't get overwritten by armbian updates.

 

might be worth to read.

Share this post


Link to post
Share on other sites
37 minutes ago, seven.7777777s said:

I was wondering if setting the max frequency of the cores to a slightly lower level would resolve this issue.

2x Cortex-A72 at up to 2.0GHz, 4x Cortex-A53 @ up to 1.5GHz

 

Those are the normal temperatures. With the Lubuntu from FriendlyElec the temperature is a lot lower since it`s clocked to 1.4Ghz/1.8Ghz.
 

Temperature
-----------
Armbian Bionic/Stretch 64-bit 2Ghz + 1.5Ghz
						With fan idle    32°C
						With fan maxed   65°C
						No fan idle      40°C
						No fan maxed     Throttles at 85°C after 14m30s
						
Lubuntu armhf/arm64 1.8Ghz + 1.4GHz
						With fan idle    29°C
						With fan maxed   54°C
						No fan idle      42°C
						No fan maxed     69°C (after 30 minutes maxed)

The fan works better when it blows over a big area by hanging crooked. You also have to raise the heatsink with screws so the airflow can pass. Just don`t let is sit at +80C.
You can downclock with cpufreq.

Share this post


Link to post
Share on other sites
2 minutes ago, seven.7777777s said:

Without extra cooling fans the Nano-Pi M4 board is exceeding 75C and shutting itself down.

Thanks for the links to articles,  I will read them.

It`s not normal that it shuts down at 75C. This isn`t a too high temp. It should throttle at 85C. But I wouldn`t let my board run long at such temp.

Share this post


Link to post
Share on other sites

Running the Lubuntu supplied by the board vendor I was able to run BOINC for over 24 hours and the temp with a single fan was about 60C; however I had no success installing Docker CE.

 

Running Armbian With a single fan running BOINC the board is shutting down after about 20 minutes.  I was able to successfully install Docker CE and attach the 7 Raspberry Pis as nodes..

 

How would you recommend resolving this?

 

20181101_134816.jpg

20181101_134759.jpg

Share this post


Link to post
Share on other sites

Check your voltage on the usb3 port. Maybe you`ve got an undervoltage.
It should not shut down at these temps. I`ve done a blender benchmark for +1h at 85C. No problem.
Maybe because one side has no air flow it heats up a lot. Miners also heat up more than other applications. No idea why. Best to underclock if you`re mining.

This is how I run it. Maxed out in Bionic it reaches 70C with this fan.
nanopi.png.ad5a64d4a85001a0b00ce6ed3d7555d1.png

Share this post


Link to post
Share on other sites

I received a Drok Model UM25 tester, and started checking the voltage and amperage used.  I noticed that the NanoPi M4 when running at between 98% and 100% on all 6 cores draws a little over 5.1V and between 1.9A to 2.2A,  This is getting close to the maximum of 5A and 2.5A that the cable, (Anker Powerline+ II USB-C to USB-A 2.0 Cable (3ft)), and power supply, (Anker 60W 10-Port USB Wall Charger), are rated.

I shut down the 7 Raspberry PI 3B + devices also on the power supply and watched the NanoPi M4 use over 5.3V and 2.59A then reboot.

I looked up the specs for the NanoPi M4, it needs 5V 3A

The RaspberryPi 3B+ needs 5V 2.5A, (which is where the power supply and cables I am using are rated)

I ordered a 5V 4A power supply and a cable rated for 4A.

Until they arrive I an running the NanoPi M4 at 1.42GHz and 1.80GHz using the following commands

cpufreq-set -c0 -u1.42GHz
cpufreq-set -c1 -u1.42GHz
cpufreq-set -c2 -u1.42GHz
cpufreq-set -c3 -u1.42GHz
cpufreq-set -c4 -u1.80GHz
cpufreq-set -c5 -u1.80GHz

It is now using 5.2V between 1.61A to 1.82A and does not reboot and the temp is showing 53C

 

Share this post


Link to post
Share on other sites

OK, I obtained a 5v 4A power supply and cables rated for 5V 4A.  I also added supports using , (uxcell 50pcs M3 10+6mm Male Female Thread Nylon Hex Standoff Spacer Screws PCB Pillar White), see attached picture.  The temperatures are in the 53C to 60C range.  The board's electrical usage can burst up to 2.85A @ 5.1V

20181107_130535.thumb.jpg.3562fef023a577ce2ef47f7f1debd01a.jpg

Running 'Armbian_5.65_Nanopim4_Ubuntu_bionic_default_4.4.162_desktop' on an 32GB or 128GB Samsung microSDXC UHS-I  card.

I was able to successfully install Docker CE and create a swarm, CPU cores are fine un-throttled until I start running BOINC tasks.

A stable environment running BOINC's Seti@home requires me to throttle the CPU at

cpufreq-set -c0 -u1.42GHz
cpufreq-set -c1 -u1.42GHz
cpufreq-set -c2 -u1.42GHz
cpufreq-set -c3 -u1.42GHz
cpufreq-set -c4 -u1.80GHz
cpufreq-set -c5 -u1.80GHz

 

Running 'rk3399-sd-friendlydesktop-bionic-4.4-arm64-20180921' on an 32GB Samsung microSDXC UHS-I  card.

I was unsuccessful in installing Docker CE

A stable environment running BOINC's Seti@home requires me to throttle the CPU at

cpufreq-set -c0 -u1.20GHz
cpufreq-set -c1 -u1.20GHz
cpufreq-set -c2 -u1.20GHz
cpufreq-set -c3 -u1.20GHz
cpufreq-set -c4 -u1.61GHz
cpufreq-set -c5 -u1.61GHz

 

I will be experimenting with some copper heat sink shims and thermal paste to reduce temps.

I am still working on getting seti@home/BOINC to run in Docker across a swarm.  The instructions that are out there will require me to learn more in order to successfully implement them.

Share this post


Link to post
Share on other sites

Screen shots from rk3399-sd-friendlydesktop-bionic-4.4-arm64-20180921' on a 32GB Samsung EVO Plus microSDXC UHS-I  card.

running BOINC / seti@home.  This image was updated and upgraded to the latest version available this morning.

At this point I am reasonably certain that the instability I am experiencing with BOINC is due to issues with the manner in which the Rockchip RK3399 CPU has been  implemented in the OS.  The ''Armbian_5.65_Nanopim4_Ubuntu_bionic_default_4.4.162_desktop being more stable under heavy load than the ''rk3399-sd-friendlydesktop-bionic-4.4-arm64-20180921.

I ameliorated the known power and cooling issues; the remaining variable is the OS build.

lower-rate.png

htop.png

Share this post


Link to post
Share on other sites

@seven.7777777s

Nice work. Replacing that thermal pad with copper shims will do a lot.
Also see that your RPi 3b+`s don`t go over 60C. It clocks to 1.2Ghz above 60C. The governor will still say it`s at 1.4Ghz.
You could use 5v fans on your pi`s instead of large fans blowing. Most energy from a large fan further away goes to waste. The more the airflow is aimed at the heatsink, the better.

What`s the load you`re giving this? Is it for mining or so? Good luck.

Share this post


Link to post
Share on other sites
On 11/8/2018 at 12:21 AM, NicoD said:

@seven.7777777s

Nice work. Replacing that thermal pad with copper shims will do a lot.
Also see that your RPi 3b+`s don`t go over 60C. It clocks to 1.2Ghz above 60C. The governor will still say it`s at 1.4Ghz.
You could use 5v fans on your pi`s instead of large fans blowing. Most energy from a large fan further away goes to waste. The more the airflow is aimed at the heatsink, the better.

What`s the load you`re giving this? Is it for mining or so? Good luck.

Copper shims make about 15C difference :-)

Share this post


Link to post
Share on other sites
On 11/9/2018 at 3:57 PM, dogshome said:

Copper shims make about 15C difference :-)

Agree with that.  over 22c difference for me.

 

Anyone wants to know what size shims i used 15mm by 15mm and 1.2mm thickness with a dab of thermal paste on cpu and topside of shim to main heatsink.

 

Temperature difference

 

Exactly same test with youtube 1080p 60c with thermal pad, 38 to 40c with copper shim and thermal paste each side of it.

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
1 1