Giter Site home page Giter Site logo

Comments (5)

MathiasRenner avatar MathiasRenner commented on September 2, 2024

@m3adow Thanks for filing this, I will have a look at it! We did not discuss this issue for the very latest release since we wanted to release it in time for the DockerCon :-)

from rpi-kernel.

MathiasRenner avatar MathiasRenner commented on September 2, 2024

Hmm, I tested a fresh HypriotOS 0.6.1 and saw the CPU frequency immediately switching from 600 to 900 Mhz when stress --cpu 4 is executed.

sudo cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq 
900000

Also, the governor by default is ondemand, even if the script suggests that powersafe is default.

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
ondemand

A few lines below the powersafe default option, ondemand is in general enabled:
https://github.com/hypriot/rpi-kernel/blob/master/kernel_configs/rpi2_docker_kernel_config#L522-L526

So it seems that onemdand works fine. Could you please double check this with the latest image on your site?

Finally I created a /boot/config.txt - it did not seem to change anything. What do you expect to happen with these lines from your comment in Gitter?

arm_freq=900
core_freq=333
sdram_freq=450
over_voltage=2

from rpi-kernel.

m3adow avatar m3adow commented on September 2, 2024

So it seems that onemdand works fine. Could you please double check this with the latest image on your site?

No sorry, I can't reflash my Pis for a couple of weeks at least, so I'm still running on 0.6. It seems the bug is fixed in 0.61 then.

Finally I created a /boot/config.txt - it did not seem to change anything. What do you expect to happen with these lines from your comment in Gitter?

arm_freq=900
core_freq=333
sdram_freq=450
over_voltage=2

I don't think I understand the intention of your question, but I'll try answering it.
I expect exactly what is documented (https://www.raspberrypi.org/documentation/configuration/config-txt.md). I'm using additional values, specifically smaller min values for less power consumption, I just removed those as it wasn't important. arm_min_freq values work as well with a proper governor.

from rpi-kernel.

MathiasRenner avatar MathiasRenner commented on September 2, 2024

Still, thanks for your feedback. This would have definitely been a bug.

I intended to know what the parameters in /boot/config.txt do. Thanks for the link, this is what I was looking for.

I tried some kind of undervoltage and set arm_freq, sdram-freq and similar parameters to about half of the default value, but I only saved about 0.2 Watts. Do you gain more saving effects?

from rpi-kernel.

m3adow avatar m3adow commented on September 2, 2024

I can't say how much I got exactly as I only have the result of a calculation I made over one year ago. Back then my Pis were idle for 90% of the time and I underclocked them heavily (I think to 100MHz or something like that) which according to my calculation saved me ~15€/year. Not a lot, but why pay for something I don't use?

Nevertheless, this is more a topic for Gitter and not for an issue tracker. As the problem doesn't seem to exist on 0.61 anymore, I consider this done. Should probably still be changed here for improved clarity.

from rpi-kernel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.