Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I should probably upgrade readme :D. The Raspberry Pi is based on the arm architecture and has some phone hardware. So theres the possibility if changing the CPU governor which sets the CPU clock speed.
The max clock speed and so on can be set permanently in a config but you have to build a new kernel or set it at every boot to change this governor. -
@aronmik depends. Some versions of the kernel are built with the powersave governor where the clock speed stays at minimum all the time. But you can change it to ondemand or performance to let it stay at the highest clock with this tool.
-
@davidmaerz sounds handy. Good job, I hope its help people.
I was interested because we have ~160 raspberries out in the field. There performance is fine since thet only collected data from sensors every minutes. But if this makes it a lot faster we could maybe do the hexidecimal to decimal conversions on the pie. Making our processing server les expansive. -
A-C-E57028y@aronmik 0.o I didn't know companies used pi's out in the field
When you said 160 raspberry pi's I thought you were one of those guys who builds a supercomputer with them lol -
No we are using certified power meter and the normal industry reader/network module costs about a 1000 dollars. So we modified raspberry to do the same task.
Now its costing 900 less for each location. And with 160 meters out already thats lot of money. And if all goes well we be expanding this year with another 1000 locations. So that all money I can spend on buy coffee and booze. ^^
The power meters measure around 70 values a minute. All the phases and stuf like flickering. So they are not your standard kWh meter. In the end we compare the in this case farmers with farmers of the same size to get a little competive. While analist research the data and finds the problems that might be there.
Thats probably more information then you asked for. But its a fun project to talk about. -
@aronmik that's very interesting I also did not know Pi's could be so helpful for big scale industrial projects.
And for your case it could be interesting to change the governors. Maybe you check the governor and see which they are on.
(cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor)
So the best for low usage cases would probably be the power efficient "powersave" and for everything else including the calculations you mentioned "ondemand" should be perfect.
If you choose ondemand you could also make a quick test to see if the clock speed goes up while under heavy load (I only recommend this because I had some problems with it in the past where ondemand did not clock it up while providing an openvpn server f.e.)
Related Rants
I recently made my first open source project and would appreciate any feedback I can get for it.
It's a pretty small program to kind of permanently change the cpu governor of a raspberry pi (so it's kind of niche but I struggled a few times with it).
https://github.com/DavidM42/...
undefined
open source
github
raspberrypi
raspberry pi