this post was submitted on 11 Sep 2025
33 points (100.0% liked)

Selfhosted

51408 readers
747 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Trading the Pi(geon) for power

top 8 comments
sorted by: hot top controversial new old
[–] non_burglar@lemmy.world 4 points 2 days ago

I went the other way; I had a Dell r430 and downsized to two hp elitedesk g4 mini. Together, they use less than half of the power of the 1u server.

But I am never satisfied, I'm sure I'll want to iterate again next year.

[–] Strit@lemmy.linuxuserspace.show 1 points 2 days ago (1 children)

I went: Pi 2 -> Pi 4 -> Odroid H3 -> Intel N100 box (current). All in all from about 4W idle on the pi to about 10W idle on the N100 box. So not a big power jump all in all, but my needs did get bigger since the Pi.

[–] vhstape@lemmy.sdf.org 1 points 1 day ago (2 children)

Love the evolution! How are you measuring the power consumption of your devices? I’d be interested in profiling my build as well.

[–] modeh@piefed.social 2 points 23 hours ago

I use a device similar to this. Pretty useful and handy.

[–] N0x0n@lemmy.ml 1 points 1 day ago* (last edited 1 day ago)

Them probably uses a special plugin device in the outlet.

I have this bash script you can use and have a general overview but I'm not totally sure if I fully understand it and if it's the whole system's wattage or only the CPU 🤷‍♂️

#! bash
time=5
sum_1=$(cat /sys/class/powercap/*/energy_uj | awk 'BEGIN { sum = 0; } { sum += $1; } END { print sum; }' "$@");
echo "before" $sum_1
sleep $time;
sum_2=$(cat /sys/class/powercap/*/energy_uj | awk 'BEGIN { sum = 0; } { sum += $1; } END { print sum; }' "$@");
echo "after" $sum_2

sum_1f=$(printf "%.0f" $sum_1)
sum_2f=$(printf "%.0f" $sum_2)

final_sum=$(echo "(($sum_2f - $sum_1f) / 1000000) / $time" | bc -l)
#echo $final_sum | bc -l | xargs printf "%.2f\n"

formated=$(echo $final_sum | bc -l | xargs printf "%.2f\n")
echo $formated "w"
[–] CuriousOtter@mander.xyz 1 points 2 days ago (2 children)

Nice write up. I'm in a very similar place at the moment, considering upgrades to my pi4.

[–] vhstape@lemmy.sdf.org 1 points 1 day ago

Thanks! What kinds of things do you intend to do with your lab? I felt that the Pi was suitable for most everything except media pipelines.