this post was submitted on 14 Jun 2025
1030 points (97.7% liked)

Linux

55309 readers
1231 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] areyouevenreal@lemm.ee 1 points 12 hours ago (1 children)

Battery charging circuits don't operate continuously when the device is charged. Pi also still needs a PSU, typically a phone charger, and for a server application would need an SSD or HDD in most cases. SD cards have lower performance, write endurance, and capacity after all. A single raspberry pi couldn't match even a somewhat old laptop in performance. In terms of actual efficiency (performance per watt) Pis don't do that well as they are using cheap processors made using old core designs and even older process nodes. Even the latest Pi 5 uses a 16nm process node with a core design from 2018. A 10 year old laptop might have 14nm process node which would be better. This means that a laptop would have more performance, so even if it had more power consumption at peak it could still end up with significantly better performance per watt, and that extra performance allows it to idle more often as it spends less time processing requests.

Of course the ultimate in performance per watt is always going to be a modern high power server or an Apple Silicon device. Mini PCs can also do well for home use, and are much lower power so better suited to less demanding usage, and have the best performance per watt for consumer devices. The M4 Mac Mini for example is pretty much best in class in performance per watt, and low power consumption at the same time.

[–] irotsoma@lemmy.blahaj.zone 1 points 9 hours ago* (last edited 9 hours ago)

Battery circuits come on enough to be a load that needs to be considered and will show up if you measure load on the device vs load consumed by the components connected to the power supply. In terms of low power devices, it is significant, though not the primary concern. But compared to the pi PSU, the charger not to mention the battery and internal PSU of a laptop, consume way more power and produce way more heat.

All of the rest assumes needing always on, heavy load processing which isn't what the post I replied to was talking about. I was specifically replying to idle power load. And in my case, even with a bunch of self hosted applications, most of the time my servers are idling. If I was running a virtualization farm or something that was always under heavy load, then yes, as I mentioned, a single board server isn't ideal.

As for disks, I don't use SSDs on my pis except one that actually does a lot of local data processing. Everything else runs in memory and stores persistent data on my NAS, including logging. Virtual memory/swap is disabled on all and things that need temporary storage/cache of small amounts of data is cached on RAM disks where applications can't be configured to not use disk caching. The only need for the SD card is for boot and some minimal IO needed for local OS operation. I have a Raspberry Pi 3 B i got about 8 or 9 years or so ago with the same SD card in it.

They aren't what I use as a database server, obviously, but they are extremely low power compared to what an old laptop would need and work great for things like pihole, and other network applications as well as being a part if my home kubernetes cluster and run the majority of the cluster's processes on demand.