this post was submitted on 15 Mar 2024
39 points (100.0% liked)

Selfhosted

39226 readers
420 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 1 year ago
MODERATORS
39
submitted 6 months ago* (last edited 6 months ago) by Kwa@derpzilla.net to c/selfhosted@lemmy.world
 

So I have finally built my NAS. I used an N100 CPU because I saw it has low power consumption.

Right now I have 2 NVMe SSDs and 2 HDDs. I have installed proxmox on the 2 SSDs as RAID1. I have not partitioned the HDDs yet, they are just plugged in and powered on.

Just booting into proxmox, without any VMs or containers running, I am pulling 45W from the wall. This looks super high to me, and I’m afraid that starting to use the HDDs and running some VMs may double this…

I don’t have much references, but I have an Odroid with an external self-powered HDD, it is using 5W. I have a raspberry pi 4 with an external HDD, the raspberry is pulling 3W and the HDD 3W.

With these data, I was thinking I wouldn’t go over 20W. 45W is enormous and not something I can run 24/7, kind of a fail for a NAS…

Have I done something wrong or is it just how much it’s supposed to pull?

Edit: I have come across powertop. Using the auto tune, I was able to drop to 33-35W. I have unplugged the HDDs and dropped to 22W. I guess I cannot go lower, this may be because of the PSU or the 2 NVMe

top 50 comments
sorted by: hot top controversial new old
[–] JASN_DE@lemmy.world 11 points 6 months ago (2 children)

You're not going to see similar power levels to those ARM devices. A massive part will be the drives, 3.5" drives take between 6 and 10W per drive while running.

load more comments (2 replies)
[–] darcmage@lemmy.dbzer0.com 5 points 6 months ago* (last edited 6 months ago) (1 children)

Monitor CPU usage and frequencies to ensure CPU is throttling down properly. Then start unplugging hard drives, ram, nic cable to see how they affect power usage. Servethehome shows an N305 idling around 10w in a minipc without HDDs.

[–] Kwa@derpzilla.net 1 points 6 months ago (1 children)

I guess I’ll do this if I don’t find a way to reduce the power consumption

[–] darcmage@lemmy.dbzer0.com 6 points 6 months ago* (last edited 6 months ago) (2 children)

Troubleshooting can be difficult. I'll only say you'll save yourself alot of time and energy by establishing a baseline for power usage with just the essential components necessary for boot to see what you're working with. Then you can make better informed decisions.

[–] Kwa@derpzilla.net 1 points 6 months ago

Yes definitely. This is just that it was my first time assembling a PC. I had a bit of a hard time and I am not in a hurry to disassemble it 😅

That may change in a couple of days thought

[–] paf@jlai.lu 5 points 6 months ago (12 children)

Do also have a n100 processor running proxmox with 3 VM. Can't try right now but can come back in a few days to let you know how much power it draws

load more comments (12 replies)
[–] hperrin@lemmy.world 5 points 6 months ago (2 children)

See if you can set the max power of the CPU in the BIOS.

It’s really strange for an N100 system to be drawing that much power, so maybe you have some really hungry SSDs or HDDs.

[–] umbrella@lemmy.ml 2 points 6 months ago

you can also do this in the OS, depending on your hardware it might be more reliable.

[–] Kwa@derpzilla.net 1 points 6 months ago (2 children)

I have checked but I haven’t seen anything about power. By any chances, do you know in what category it may be?

[–] hperrin@lemmy.world 2 points 6 months ago

I don’t know. I think that would depend on the BIOS.

[–] umbrella@lemmy.ml 1 points 6 months ago

it depends on the operating system you are using

[–] poVoq@slrpnk.net 5 points 6 months ago (7 children)

For power consumption, NVMe drives use quite a lot of power, especially PCIe 4.0 ones. About 5W each during use.

3.5" HDD (especially 7200rpm or more) also consume significantly more than 2.5" 5400rpm HDDs that are optimized for low power (the latter use about 1W during use).

SATA SSDs fall somewhere in the middle.

[–] Kwa@derpzilla.net 2 points 6 months ago (2 children)

Thanks. So If I take 5W a disk, I may have 20W just from the disks.

There are still 25W remaining. For a low power CPU that looks like a lot 😕

[–] poVoq@slrpnk.net 3 points 6 months ago

I never really tested it with 3.5" HDDs, but a google search makes it sound like they might be closer to 10W each.

[–] rambos@lemm.ee 1 points 6 months ago

My guess would be 25W from disks, 10W from CPU+RAM+MBO and 10W waste from PSU. Just a guess as I said

load more comments (6 replies)
[–] Cyber@feddit.uk 3 points 6 months ago (1 children)

Another way of reducing your overall power consumption: Do you need a NAS to be on 24/7?

My NAS is a NAS - just storage. It comes on and spins the 5x HDDs for a few hours in the day then shuts down. It's a NAS, I don't need to access my files at night when I'm asleep.

My VM host is a low power box with passive cooling which uses a SSD and runs my (mostly idle) VMs 24/7 for a few Watts.

So, maybe splitting up your requirements might save some power?

[–] Kwa@derpzilla.net 2 points 6 months ago

I planned to share it with my family. As I won’t be the only user, this is not ideal. Besides I run automatic backup and planned to also store them in the NAS. So again if it’s off half the time, this is not ideal.

[–] BearOfaTime@lemm.ee 2 points 6 months ago* (last edited 6 months ago) (1 children)

Is that 45w a continuous draw, or is that from something that measured it while booting?

I have a small form factor Dell Optiplex with 1 NVME for the OS (Proxmox), and 3 drives (2.5" spinning disk), that idles at 10-20w. Running VM's pushes that up to 40-50w.

And that's still about 60-70w less than the desktop I've been running as a file server!

[–] Kwa@derpzilla.net 1 points 6 months ago (1 children)

Unfortunately this is idling after boot. While booting it jumps to 70W and I haven’t seen it go below 45W idling…

[–] BearOfaTime@lemm.ee 1 points 6 months ago

Guess it's time to disconnect some hardware and test power consumption.

[–] poVoq@slrpnk.net 2 points 6 months ago (1 children)

What kind of PSU are you using?

[–] Kwa@derpzilla.net 1 points 6 months ago (1 children)

I’m using an EVGA 500 W1

[–] poVoq@slrpnk.net 2 points 6 months ago (1 children)

EVGA 500 W1

That is a 500W PSU, no? That is vastly oversized and therefore inefficient for low power applications.

[–] Kwa@derpzilla.net 1 points 6 months ago (3 children)

I don’t know much about hardware. I used these suggestions: https://forums.serverbuilds.net/t/guide-nas-killer-6-0-ddr4-is-finally-cheap/13956

I built a NAS where I can put 6 HDDs, there are enough plugs on the PSU.

Do you think the PSU is the issue?

[–] rambos@lemm.ee 5 points 6 months ago (1 children)

I was testing around 5 different PSUs (500-750W silver/gold) on the same machine and I was reading 20 - 35W from the wall. So yeah I think PSU plays a big role. They are most efficient at around half of the rated load and we are using them at <10%.

[–] czardestructo@lemmy.world 4 points 6 months ago (2 children)

Listen to this guy! Spot on. When I built my server I spent more time researching and paying for the PSU more than any other single part. Ended up with a Seasonic PRIME FANLESS PX-450. Server idles around 25W with a ryzen 5600g and 40TB of storage.

[–] Kwa@derpzilla.net 1 points 6 months ago

Indeed, this seems to be the issue!

I’ve checked the PX-450 but it seems to be out of stock…

I’ll do more searches about PSU, thanks!

[–] poVoq@slrpnk.net 1 points 6 months ago

While more expensive, a fanless one is probably a good idea as it will be optimized to avoid excess heat, which is incidently the same as inefficient power consumption for PSUs.

[–] MangoPenguin@lemmy.blahaj.zone 2 points 6 months ago (2 children)

Have a look at this: https://www.youtube.com/watch?v=TPSuCbS-4P0

TL:DR; The 'rating' of a PSU (ie; Gold, Platinum), has very little to do with efficiency at lower power like 20-40W, and this person has compiled a list of tests for a bunch of models to show which ones are good at low power.

[–] Kwa@derpzilla.net 1 points 6 months ago

This is amazing, thank you!

And now this confirms that my current PSU is terrible…

[–] PipedLinkBot@feddit.rocks 1 points 6 months ago

Here is an alternative Piped link(s):

https://www.piped.video/watch?v=TPSuCbS-4P0

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source; check me out at GitHub.

[–] poVoq@slrpnk.net 2 points 6 months ago (1 children)

Recommendations from such "Homelab" sites are generally not sound advise for people trying to optimize power consumption. They will happily recommend "server grade" hardware that will use hundreds of Watts easily.

While I think the PSU contributes to the problem, it is probably a set of different factors that all drive up the consumption.

Low power regular desktop PSUs are a bit hard to find on the consumer market as there is no demand for them, but you could look into PicoPSUs with an external power-brick.

[–] Kwa@derpzilla.net 1 points 6 months ago

Thanks I’ll check this

[–] Decronym@lemmy.decronym.xyz 1 points 6 months ago* (last edited 6 months ago)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
LXC Linux Containers
NAS Network-Attached Storage
NUC Next Unit of Computing brand of Intel small computers
NVMe Non-Volatile Memory Express interface for mass storage
PCIe Peripheral Component Interconnect Express
PSU Power Supply Unit
SATA Serial AT Attachment interface for mass storage
SSD Solid State Drive mass storage

8 acronyms in this thread; the most compressed thread commented on today has 6 acronyms.

[Thread #604 for this sub, first seen 15th Mar 2024, 17:15] [FAQ] [Full list] [Contact] [Source code]

load more comments
view more: next ›