this post was submitted on 25 Dec 2024
103 points (88.7% liked)

Selfhosted

40749 readers
1217 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
 

I wonder if my system is good or bad. My server needs 0.1kWh.

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 18 hours ago

45 to 55 watt.

But I make use of it for backup and firewall. No cloud shit.

[–] [email protected] 6 points 1 day ago (1 children)

Between 50W (idle) and 140W (max load). Most of the time it is about 60W.

So about 1.5kWh per day, or 45kWh per month. I pay 0,22€ per kWh (France, 100% renewable energy) so about 9-10€ per month.

[–] [email protected] 2 points 1 day ago (1 children)

Are you including nuclear power in renewable or is that a particular provider who claims net 100% renewable?

[–] [email protected] 4 points 1 day ago* (last edited 21 hours ago) (1 children)

Net 100% renewable, no nuclear. I can even choose where it comes from (in my case, a wind farm in northwest France). Of course, not all of my electricity come from there at all time, but I have the guaranty that renewable energy bounds equivalent to my consumption will be bought from there, so it is basically the same.

[–] [email protected] 2 points 1 day ago

Thanks. I buy Vattenfall but make net 2/3rds of my own power via rooftop solar.

[–] [email protected] 24 points 1 day ago

Mate, kWh is a measure of electricity volume, like gallons is to liquid. Also, 100 watt hours would be a much more sensical way to say the same thing. What you've said in the title is like saying your server uses 1 gallon of water. It's meaningless without a unit of time. Watts is a measure of current flow (pun intended), similar to a measurement like gallons per minute.

For example, if your server uses 100 watts for an hour it has used 100 watt hours of electricity. If your server uses 100 watts for 100 hours it has used 10000 watts of electricity, aka 10kwh.

My NAS uses about 60 watts at idle, and near 100w when it's working on something. I use an old laptop for a plex server, it probably uses like 50 watts at idle and like 150 or 200 when streaming a 4k movie, I haven't checked tbh. I did just acquire a BEEFY network switch that's going to use 120 watts 24/7 though, so that'll hurt the pocket book for sure. Soon all of my servers should be in the same place, with that network switch, so I'll know exactly how much power it's using.

[–] [email protected] 10 points 1 day ago (4 children)

I came here to tell my tiny Raspberry pi 4 consumes ~10 watt, But then after noticing the home server setup of some people and the associated power consumption, I feel like a child in a crowd of adults 😀

[–] [email protected] 3 points 16 hours ago

I'm using an old laptop with the lid closed. Uses 10w.

All in, including my router, switches, modem, laptop, and NAS, I'm using 50watts +/- 5.

It does everything I need, and I feel like that's pretty efficient.

[–] [email protected] 2 points 17 hours ago

Quite the opposite. Look at what they need to get a fraction of what you do.

Or use the old quote, "they're compensating for small pp"

[–] [email protected] 3 points 1 day ago

I have an old desktop downclocked that pulls ~100W that I'm using as a file server, but I'm working on moving most of my services over to an Intel NUC that pulls ~15W. Nothing wrong with being power efficient.

[–] [email protected] 3 points 1 day ago

we're in the same boat, but it does the job and stays under 45°C even under load, so I'm not complaining

[–] [email protected] 3 points 1 day ago (3 children)

Is there a (Linux) command I can run to check my power consumption?

[–] [email protected] 2 points 15 hours ago

If you have a server with out-of-band/lights-out management such as iDRAC (Dell), iLO (HPe), IPMI (generic, Supermicro, and others) or equivalent, those can measure the server's power draw at both PSUs and total.

[–] [email protected] 7 points 1 day ago (1 children)
[–] [email protected] 3 points 1 day ago* (last edited 1 day ago)

Or smart sockets. I got multiple of them (ZigBee ones), they are precise enough for most uses.

[–] [email protected] 3 points 1 day ago

If you have a laptop/something that runs off a battery, upower

[–] [email protected] 2 points 1 day ago

My server uses about 6-7 kWh a day, but its a dual CPU Xeon running quite a few dockers. Probably the thing that keeps it busiest is being a file server for our family and a Plex server for my extended family (So a lot of the CPU usage is likely transcodes).

[–] [email protected] 41 points 2 days ago* (last edited 2 days ago) (4 children)

kWh is a unit of energy, not power

[–] [email protected] 5 points 1 day ago (1 children)

I was really confused by that and that the decided units weren't just in W (0.1 kW is pretty weird even)

[–] [email protected] 6 points 1 day ago (6 children)

Wh shouldn't even exist tbh, we should use Joules, less confusing

[–] [email protected] 5 points 1 day ago (2 children)

Watt hours makes sense to me. A watt hour is just a watt draw that runs for an hour, it's right in the name.

Maybe you've just whooooshed me or something, I've never looked into Joules or why they're better/worse.

[–] [email protected] 5 points 1 day ago (2 children)

Joules (J) are the official unit of energy. 1W=1J/s. That means 1Wh=3600J or that 1J is kinda like "1 Watt second". You're right that Wh is easier since everything is rated in Watts and it would be insane to measure energy consumption by seconds. Imagine getting your electric bill and it says you've used 3,157,200,000J.

[–] [email protected] 6 points 1 day ago (1 children)

3,157,200,000J

Or just 3.1572GJ.

Which apparently is how this Canadian natural gas company bills its customers: https://www.fortisbc.com/about-us/facilities-operations-and-energy-information/how-gas-is-measured

[–] [email protected] 1 points 1 day ago

I guess it wouldn't make sense to measure energy used by gas-powered appliances in Wh since they're not rated in Watts. Still, measuring volume and then converting to energy seems unnecessarily complicated.

[–] [email protected] 2 points 1 day ago

Thanks for the explainer, that makes a lot of sense.

load more comments (1 replies)
load more comments (5 replies)
load more comments (3 replies)
[–] [email protected] 3 points 1 day ago

With everything on, 100W but I don't have my NAS on all the time and in that case I pull only 13W since my server is a laptop

[–] [email protected] 25 points 2 days ago (4 children)

Idles at around 24W. It’s amazing that your server only needs .1kWh once and keeps on working. You should get some physicists to take a look at it, you might just have found perpetual motion.

load more comments (4 replies)
[–] [email protected] 2 points 1 day ago
[–] [email protected] -1 points 21 hours ago (1 children)

Mine runs at about 120 watts per hour.

[–] [email protected] 1 points 19 hours ago

Please. Watt is an SI unit of power, equivalent of Joule per second. Watt-hour is a non-SI unit of energy( 1Wh = 3600 J). Learn the difference and use it correctly.

[–] [email protected] 66 points 2 days ago* (last edited 2 days ago) (6 children)

You might have your units confused.

0.1kWh over how much time? Per day? Per hour? Per week?

Watthours refer to total power used to do something, from a starting point to an ending point. It makes no sense to say that a device needs a certain amount of Wh, unless you're talking about something like charging a battery to full.

Power being used by a device, (like a computer) is just watts.

Think of the difference between speed and distance. Watts is how fast power is being used, watt-hours is how much has been used, or will be used.

If you have a 500 watt PC, for example, it uses 500Wh, per hour. Or 12kWh in a day.

load more comments (6 replies)
[–] [email protected] 6 points 1 day ago (3 children)

For the whole month of November. 60kWh. This is for all my servers and network equipment. On average, it draws around 90 watt.

load more comments (3 replies)
load more comments
view more: next ›