I have just started to use DietPi and it makes setting up my owncloud system so much easier! I am having a small issue. My NanoPi M2 that I am using seems to be stuck at 1GHz, when it should be sitting at 1.4GHz. When I type CPU I get:
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
DietPi CPU Info
Use dietpi-config to change CPU / performance options
βββββββββββββββββββββββββββββββββββββββββββββββββββββ
Architecture | armv7l
Temp | 30'c | Cool runnings.
Governor | interactive
Current Freq Min Freq Max Freq
CPU0 | 1000 Mhz 400 Mhz 1000 Mhz
CPU1 | 1000 Mhz 400 Mhz 1000 Mhz
CPU2 | 1000 Mhz 400 Mhz 1000 Mhz
CPU3 | 1000 Mhz 400 Mhz 1000 Mhz
I have gone into dietpi-config and upped the frequency to 1400MHz but still the board is running only at 1GHz.
Apologies for the lateness of the reply. I since I put this up I noticed that it has gone back to 1.4GHz. I have had to reboot twice since then, maybe something reset during one of those?
Just for completeness I have run the command and this is the output:
I have noticed though that the speed drops as the cpu temp rises. Although the CPU command always shows it at 30C even when running a stress test on the device
I have the same issue with my NanoPi M2: itβs stucks at 1GHz even with a heatsink and active cooling, which keeps the complete board very cool. Iβm crunching Einstein@Home workunits with my NanoPi M2, which uses a lot of cpu-performance. After a reboot the cpu frequency starts with 1.4 GHz and then decreases to 1.2 and 1GHz (checked with the cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq command). After several minutes the cpu frequency sometimes decreases to 800 MHz. This occurs even with an only light warm cpu. Reading the cpu temperature with the cat /sys/class/hwmon/hwmon0/device/temp_label command doesnβt seem to work with NanoPi M2 boards, it always shows 30 Β°C. Iβm using the latest DietPi release V141. I have also tried the βperformance modeβ with dietpi-config, but this does not change anything.
Iβm also using a NanoPi M3 board, which works like a charm with DietPi (it works very reliable with 1.4 GHz 24x7).
cpu temp readout appears bugged on the M2, at kernel level. Always reports 30βc.
I believe the reason for reduced clocks is due to thermal throttling. However, if this is occurring below 70βc, could indicate another issue in kernel.
To be sure that it isnβt a problem caused by thermal throttling Iβve now replaced the heatsink with a new one which is now attached with βArctic Alumina Thermal Adhesiveβ which has a great heat conductivity (http://www.arcticsilver.com/arctic_alumina_thermal_adhesive.htm). In addition to the heatsink there is a big fan working in front of my NanoPi M2. Therefore I believe this is a kernel issue.
After installing sysfsutils and using these settings in the /etc/sysfs.conf fileβ¦
my NanoPi M2 is working 24x7 with 1.2 GHz, BUT the performance is really bad!!! Iβm crunching Einstein@Home workunits on different boardsβ¦
time for completing a 17500 GFLOPS workunit: (hh:mm)
NanoPi M3 1,4 GHz - 09:15h < - - - P E R F E CT !!!
Raspberry Pi 3 1,2 GHZ - 11:15h
OrangePi PC Plus 1,296 GHz - 13:00h
Raspberry Pi 2 1,0 GHz - 13:40h
NanoPi M2 1,2 GHz - 16:00h < - - - V E R Y _ B A D !!!
There must be something wrong!
By the way, the DietPi images are absolutly great, please keep up the good work!
Unfortunately my linux knowledge is not good enough for compiling (my own) kernel, so I have to wait and hope for a new release. Please let me know, if I can test a new release for you.
image based onβ¦
Ubuntu 15.04
Kernel: 3.4.39-FriendlyARM Jan 18 [ 2016 !!! ] armv71
How to test:
install stress (apt-get install stress)
print out the current cpufreq stats (cat /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state)
start the cpu stress test on all 4 cores (stress -c 4)
leave the test at minimum 20 minutes running (WARNING: a proper cooling is required!)
print out the current cpufreq stats again (cat /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state)
check the cpufreq stats deltas
The entry of 1400000 increases very strongly, all other stats did not change (the 400000 entry may also increases a little bit, caused by the stress test loops).
Just a remark for my last post:
I was unfortunately not able to read the cpu temperature even in the βnanopi2-ubuntu-mate.img.zipβ image, but maybe this is possible using a different way than I have done.