watch vcgencmd measure_temp
Right, that’s it.
These are the changes I had done prior to the stress test:
gpu_mem=512 over_voltage=4 arm_freq=2000 gpu_freq=600
Sure, worth a try.
I a going to do a series of testing based on different configs.
I’ll be also looking for some ways to do some benchmarking. I’ll be posting some results later on.
Edit: Sorry, I forgot to paste in the changes that I had made in the config.txt
Yours looks somewhat similar to the one I also use the Pimoroni, however
This makes obviously a significant impact on keeping the temp down.
Thank you so much for testing and posting your results! It gives me some reference to compare with.
In Raspberry OS, for the temp, the same command as posted by @chomsky but with the
-n, --interval seconds to wait between updates
watch -n1 vcgencmd measure_temp
For the clockspeed:
watch -n1 vcgencmd measure_clock arm
Htop can also be set up to show clock frequency and temperature.
to your current heatsink / case and you will drop your temps by about 15 degrees C.
Mount it like the first image in this post.
Mount it with the supplied silicone legs except not slanted.
Click on “See here for temp” to see temps at 2000 Mhz.
Thanks for your input @Pudge ! I appreciate it.
The Noctuna fan looks good! I guess I need to do some accessory shopping for my Pi.
I have had a look at at the documentation for the config.txt here:
Particularly this parameter
Overheat protection. This sets the clocks and voltages to default when the SoC reaches this value in degree Celsius. Values over 85 are clamped to 85.
Does this means that the Pi could rather “safely” come up to temperatures right below 85.
In other words, am I right in assuming that in my case, with only passive cooling, I could come up to anywhere between 65-80 without anything harmful happens to the board?
I think perhaps before I get a fan, I could put temp_limit=70 or 75 ?
Does this approach seem reasonable to you?
Supposedly, that statement is correct.
However, I think you would start to get CPU throttling well before that happens. So even if that temp doesn’t fry your SOC it could result in decreased performance and possibly shorten the CPU life span. This is pretty much a true statement for all electronics, the cooler it runs, the longer it lasts.
IMHO if a $14 USD fan can get my general usage temperature under 30 degrees C, which is half of temp_limit=70 or 75, I would consider it a worthwhile expense just to try and get the most life span out of it as possible.
In my experience, there are two things that have a large influence on the life span of an electronic device.
Dirty power or smaller power supplies that are marginal for the device, and high operating temperatures.
Remember, a USB SSD will most likely be an additional load on the power supply. Also, a keyboard, mouse, and maybe a thumb drive on a NON-powered USB HUB would also be additional load.
Take a well designed electronic device, give it clean power and keep it cool and it will probably last a long time.
You are certainly right in everything you said. I get it totally.
I was rather “theoretically” curious about the relation between the temperature, performance and of course the lifespan of the device and how one could play with those variables to find a reasonable “middle-ground”.
So true! I will surely look into it during the next week.
This a great advice!
Thank you so much for taking your time and share your experience and know-how! I appreciate it.
Still between chair and keyboard
PS - I am using one of these as power supply:
Do you think they are OK?
Noctua fans are made in Germany, so availability should be good in Europe.
I have a couple of “Official” Raspberry Pi 4 power supplies, they even have a Raspberry Logo, and the specs on them are 5.1 volts at 3 Amps. So should be Okay.
As I was finishing up my last post, my wife said the magic words. “Dinner is ready”. So I forgot to mention that in my opinion, clean power includes the 120 VAC 60 Hz (US power) coming into the devices. All my electronic devices are plugged into a CyberPower UPS, or for my entertainment center, a Monster Power HDP 2500 line conditioner. Both eliminate power surges, transient EMF pulses, and in general clean up the incoming commercial power.
I just did a stress test on my new EnOS-ARM-GNOME installed just yesterday.
I haven’t got around to order a fan for the device yet so this is with passive cooling (Pimoroni heatsink) and the default /boot/config.txt:
The temp went gradually up to 62-63 C and and it never went above that. After 7 minutes I stopped the stress test and the temp fell down pretty rapidly to 52-53. It’s not that horrible, I think. But of course I realize the benefits of a fan and running on cooler temperatures as has been emphasized in the thread.
So here I am with the report from some more fiddling and testing. By chance I went by a “brick and mortar” computer shop and picked up
this tiny little fan
It looked quite frail but I was curios to see how it performs. It was also very cheap so not a hard decision to make.
Anyways, I have been watching some videos and reading a bit of the documentation about overclocking and the options in the /boot/config.txt. In one of the videos it was said that according to the manufacturer the cortex-a72 could run with as high a clockspeed as 2500 Mhz (something I couldn’t corroborate doing some half-hearted searching). However, he had only succeeded to get the system stable at 2300 Mhz with the following values in the config.txt:
Since I didn’t want to set that high of a value for over_voltage (the recommended range from Raspberry being -16 to 8), I went ahead with he following values:
The system came up fine after reboot but 15 to 20 seconds into running the stress test, the system choked up and I had to power it down and re-edit the config file to read:
This seems to have worked. After reboot and running the test, no sign of choking or freezing. Of course the temperature goes up but given the fact that the default value is set to 85 C before the processor starts throttling to protect itself, so I found the temp reasonable.
I know this is a rather lame set up compared with what some of you guys are using but here is how mine looks like for now:
And here is the part of the /boot/config.txt with my modifications:
# Overclocking over_voltage=8 arm_freq=2250 gpu_freq=700 #### initial_turbo=60 #### temp_limit=70
Htop showing the CPU usage, clockspeed and temp at idle:
Running the stress test (stress -c 4 ) for 10 minutes:
Now running the Pi at 100% CPU usage clocked at 2300 Mhz doesn’t by far correspond to my current usage.
Since using the Pi is quite new to me, I am in a process of trials and errors to learn its capacities and limitations.
cpupower to set the cpu power scaling:
$ cpupower frequency-info analyzing CPU 0: driver: cpufreq-dt CPUs which run at the same hardware frequency: 0 1 2 3 CPUs which need to have their frequency coordinated by software: 0 1 2 3 maximum transition latency: Cannot determine or is not supported. hardware limits: 600 MHz - 2.30 GHz available frequency steps: 600 MHz, 700 MHz, 800 MHz, 900 MHz, 1000 MHz, 1.10 GHz, 1.20 GHz, 1.30 GHz, 1.40 GHz, 1.50 GHz, 1.60 GHz, 1.70 GHz, 1.80 GHz, 1.90 GHz, 2.00 GHz, 2.10 GHz, 2.20 GHz, 2.30 GHz available cpufreq governors: conservative ondemand userspace powersave performance schedutil current policy: frequency should be within 600 MHz and 2.30 GHz. The governor "schedutil" may decide which speed to use within this range. current CPU frequency: Unable to call hardware current CPU frequency: 700 MHz (asserted by call to kernel)
I monitor constantly htop and I can see that the CPU oscillates between all the above values depending on the load and actually bursts at its max value of 2300 Mhz when I launch an application like Firefox or stream videos.
I have the impression that the system is quite stable. No sign of freezing or lagging. No issues with streaming videos at 1080. The temp is rather stable between 40-55, seldom above 55 and I have yet to see temps beyond 60 for my current usage which consists of browsing, watching videos locally or streaming, listening to music; average, casual daily usage.
With all that said and done, I would prefer to be in the side of the caution and will be getting one of those nice Noctua fans very soon.
Thanks for reading! Please tell me if I have omitted some information for you to get a more complete picture. Looking forward to your comments, advice and suggestions. Any tips and tricks for a smoother usage of my RPi are highly welcome.
Thanks for sharing your experience and experiments and for going into so much detail. I’ll try to replicate this during the weekend and give feedback on temperatures with overclocking at the levels you suggest while running with the noctua fan.
That would be very nice.
It would serve as a point of reference and for comparison regarding the efficiency of the cooling arrangement.
I am not sure what the more experienced RPi users in EnOS community think of overclocking but all the videos I watched come with a disclaimer of the sort “Do it at your own risk”.
I need to add as well that I didn’t jump up to arm_freq=2250 Mhz and over_voltage=8 at once. I did it step by step to see how the Pi responds. Here are the values for each step:
These might or might not work for you so you need to find the right spot. So far the last one seems to be working nicely in combination with cpu power scaling.
I go with
Today I tried to replicate the test using a noctua fan, the same stress command I used before (stress --cpu 4 --timeout 820 --verbose) and this is /boot/config.txt:
Temperatures didn’t go over 54 Celsius, and were usually at 51/52. After the test, they quickly dropped down to below 40.
I did the test a second time and it was almost the same results: this time it reached 55, one more degree.
For ta third run I let it rest a bit more and it shows, temperatures were lower than during the first two runs.
More importantly, I guess, is that I’m running from an SD card and this thing flies. Even while doing the test it’s still quite responsive.
Thank you so much for taking your time to run the test! And great presentation in your screenshot!
Your results show then a significant difference in temperature running the stress test, even 220 seconds longer than what I did, cooling your Pi with a Noctua fan. It does give some factual info on the efficiency of an active cooling solution like yours.
Even though my casual usage of the device will land it on temperatures between 40-50 in average, I think I should be looking to get a better fan, one like Noctua or perhaps an Ice Tower. However I am not that concerned as I was before given that the max temp before action is taken to cool the cpu down is set to 85, it would be more for the principle of “better safe than sorry”.
For now, I have the temp_limit=70 in /boot/config.txt which gives a good margin to the 85-degrees-limit.
Thanks again for posting and sharing your findings! I appreciate it.
My pleasure! I like these types of findings, comparisons, tests, for the sake of experimenting and for a bit more knowledge.
And if I can contribute to stir the Arm forum, all the better then
Myself, I am rather open to try out and experiment with new thing so if there are things on the ARM-side of EnOS to do I’ll be glad to help out.
I just wish I had anothe RPi to keep for more “serious” work. Back then when I bought mine, just a couple of months ago, they were still available and reasonably priced. Not now unfortunately.
Sounds great! Stir it up!
Is there some significant benefit to overclocking?
I did some thermal test before (Heatsinks are cool (sometimes)) but I have not yet found a reason to overclock it.
21 posts were merged into an existing topic: [ARM] Install a headless server on an ARM device
With my limited experience with Pi, I’m not the best person suited to answer your question.
Since I almost immediately, after starting using my device, began fiddling with the config.txt, I have kind of lost the reference point to the unclocked performance of the cpu.
Currently I have these values
# Overclocking over_voltage=8 arm_freq=2250 gpu_freq=700
and I use cpu power scaling set to ondemand.
Under moderate load the cpu seldom peaks at 2300 Mhz and with my moderately inefficient cooling, I get reasonable temps way below the “dreaded” 85 degrees.
I would like to believe, or rather I am under the impression, that the system is quite responsive, when launching apps etc and the cpu bursts up to 2300 but this is only subjective impression. I haven’t really done extensive benchmarking and timing to get some factual figures to go by. Perhaps I’ll do that when I find some time later on. For now I have a feeling it is working quite well.
Here is a screeshot from of a video from explainingcomputers.com: