this post was submitted on 26 Feb 2024
66 points (97.1% liked)

Selfhosted

39903 readers
463 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
 

I'll just come out and say it: 50W. I know, I know an order of magnitude above what's actually needed to host websites, media center and image gallery.

But it is a computer I had on-hand and which would be turned on a quarter of the day anyway. And these 50W also warm my home, although this is less efficient than the heat pump, of course.

What's your usage? What do you host?

top 50 comments
sorted by: hot top controversial new old
[–] Bizarroland@kbin.social 14 points 8 months ago* (last edited 8 months ago) (1 children)

Mine is roughly 300 watts, much of which is from using an old computer as a NAS separate from my server server.

However, I put the whole thing in the basement next to my heat pump water heater which sucks the heat out of the air and puts it into my water, so I am ameliorating the expense by at least recapturing some of the *waste heat.

[–] packetloss@lemmy.world 11 points 8 months ago (1 children)

370W average.

3 x Lenovo x3650 M5 (Proxmox Nodes)

  • 1 x Xeon E5-2697A v4
  • 128GB DDR4 ECC
  • 2 x 960GB sATA SSD
  • 3 x 900GB SAS3 10K RPM HDD
  • 1 x nVidia Quadro M2000

TP Link TL-SG3428X switch

Raspberry Pi 3B+ (physical Pi-hole server)

Generic Mini PC Intel N3150 (OpenVPN client)

Dell Optiplex (OPNSense firewall)

  • Intel i5 4590
  • 8GB
[–] Scipitie@lemmy.dbzer0.com 3 points 8 months ago (1 children)

Is that 370watt across all of them or per fat server? I ask because three m5 sound like a lot of power drain!.

And thanks for sharing!

[–] packetloss@lemmy.world 4 points 8 months ago

That's for everything listed above. This is measured straight from my UPS which everything is connected to.

[–] morethanevil@lemmy.fedifriends.social 9 points 8 months ago* (last edited 8 months ago) (1 children)

AMD Ryzen 5600G

B550 Aorus Master

2x16 Ripjaw V 3200mhz

1x 14 TB Toshiba N300 for media

1x 6TB Seagate Ironwolf for backup important data

1x 500GB Samsung evo 970 as systemdrive

1x 500GB Crucial P1 as cache and download

1x 2TB Crucial P3 for docker, apps, databases, incus

Bequiet 400W

Nvidia GTX 1660 Super

Idle power 53w, totally worth it ☺️ The extra graphic card is for Immich and Ollama / overall transcoding.

[–] BearOfaTime@lemm.ee 5 points 8 months ago (1 children)

I currently have probably 10% of your performance at 2x the power draw. 😭

[–] morethanevil@lemmy.fedifriends.social 5 points 8 months ago (1 children)

😳😳😳

Get new hardware or you will pay it with your energy bill

[–] BearOfaTime@lemm.ee 3 points 8 months ago* (last edited 8 months ago)

Lol, I've been paying for years! (It's been about $1/day).

I'm working on it. Have a new NAS box I'm currently setting up - it's max output power is 180w, I should know later today what my idle power is like.

And then... I get to restructure all our data stores, backup processes, etc. Oh fun.

[–] ironhydroxide@sh.itjust.works 8 points 8 months ago (1 children)

~600W. 2 machines: Dell 730 8 disks running multiple Minecraft servers. Supermicro 16 disks in raid 10 running multiple VM for various functions. All on a 6kva ups (overkill I know)

Luckily I have a large solar array.

[–] navi@lemmy.tespia.org 1 points 8 months ago

My R710 is begging to be replaced.

[–] walden@sub.wetshaving.social 7 points 8 months ago (3 children)

Good timing for this thread. I just finished consolidating 2 computers worth of fun into 1 newer computer that can do it all. I sold my wife on the idea with electricity as the reasoning.

In the end, it uses 30 watts less, which is not as much as I had hoped. That's about $5 a month.

180 watts with an i5-13400, 9 spinning disks, 1 M.2 SSD, no extra GPU, 24 port switch (powers 3 AP's), modem, Mikrotik router, and a large UPS. I wonder if the UPS uses any power as a trickle charge for the batteries.

load more comments (3 replies)
[–] verstra@programming.dev 7 points 8 months ago (2 children)

Ok, so most of you also use normal PC processors for your setups. So my power usage is not that high in comparison.

But still, a RaspberryPI would use much less and would still be performant enough.

[–] tburkhol@lemmy.world 5 points 8 months ago (1 children)

5W vs 50W is an annual difference of 400 kWh. Or 150 kG CO2e, if that's your metric. Either way, it's not a huge cost for most people capable of running a 24/7 home lab.

If you start thinking about the costs - either cash or ghg - of creating an RPi or other dedicated low power server; the energy to run HDDs, at 5-10W each, or other accessories, well, the picture gets pretty complicated. Power is one aspect, and it's really easy to measure objectively, but that also makes it easy to fetishize.

[–] Bizarroland@kbin.social 4 points 8 months ago (1 children)

At $0.13/kwh 100 watts 24/7/365 will cost you $113.88 a year, or roughly $10 a month. Little things add up.

load more comments (1 replies)
[–] blackstrat@lemmy.fwgx.uk 3 points 8 months ago

As soon as you have a requirement for large reliable storage then you're on to at least the small desktop arena with a few HDD at which point it's more efficient to just have the small pc and ditch the RPI.

[–] Strit@lemmy.linuxuserspace.show 7 points 8 months ago

Mine is around 10W average.

It runs:

  • Websites
  • my blog
  • Jellyfin
  • Home assistant
  • Nextcloud

And a few other things.

[–] ssdfsdf3488sd@lemmy.world 7 points 8 months ago (4 children)

50 watts is maybe halfof one of my 10 gig switches...

load more comments (4 replies)
[–] thejevans@lemmy.ml 6 points 8 months ago

My current setup uses ~180W, which is a lot, but WAY better than my previous one, which was ~600W. Power is cheap where I live, so I'm not too worried about it.

180W homelab:

  • N6005 fanless mini PC running pfsense
  • mikrotik CRS310-8G+2S+IN switch
  • TP-Link AP225 access point
  • Server running proxmox w/ AMD 5900X, RTX 3080, 128GB ECC RAM, LSI-9208i w/2x10TB drives, and dual SFP+ NIC

600W homelab:

  • Aruba 24-port PoE gigabit switch w/ 4xSFP+ ports
  • Dell R720xd fully kitted out w/ 12x 6TB drives, 2x 512GB SSD, 2x 32GB SD cards, 100-something GB RAM, 2x whatever the best CPU was for that unit
  • Dell R710 w/ 6x 6TB drives, 1x 256GB SSD, 100-something GB RAM, 2x whatever the best CPU was for that unit.
  • TP-Link AP225 access point
[–] mouse@midwest.social 6 points 8 months ago* (last edited 8 months ago)

~53 W

  • Server:

    • AMD Ryzen 5 5600G
    • 4x16 GB DDR4 3200 Mhz
    • 256 GB NVMe as boot-disk
    • 2x256 GB Samsung SSDs for VMs
    • 2x2 TB WD Red Plus HDDs
  • Mini PC: Beelink S12 N95

    • 16 GB DDR4
    • 256 GB NVMe
  • 8 port unmanaged TP Link switch

I would like to expand my storage, however I don't have any available SATA ports and I believe adding an HBA would increase the idle draw about 8 W. I might just upgrade the SSDs and split the storage between the HDDs and SSDs.

[–] ikidd@lemmy.world 6 points 8 months ago

Probably about a kilowatt.

[–] kylian0087@lemmy.world 5 points 8 months ago* (last edited 8 months ago)

About 500W. 1 self build server 1 Dell R510 and one dell R710. This also includes a bit of network gear like a 48 port switch.

[–] possiblylinux127@lemmy.zip 4 points 8 months ago (1 children)
load more comments (1 replies)
[–] Norgur@kbin.social 4 points 8 months ago

6w or so in idle, 50w under load with HDDs and RPi combined

[–] Atemu@lemmy.ml 3 points 8 months ago (1 children)

I use an Intel SBC with 10W TDP CPU in it. With a HDD and after PSU inefficiency, it draws about 10-20W depending on the load.

[–] BearOfaTime@lemm.ee 1 points 8 months ago (1 children)

That's impressive.

What do you use the system for? And services like PiHole or media server?

[–] Atemu@lemmy.ml 3 points 8 months ago* (last edited 8 months ago) (1 children)

That’s impressive.

Yeah, you really don't need a lot of CPU power for selfhosting.

It's a J4105, forgot to mention that.

What do you use the system for? And services like PiHole or media server?

Oh, sorry, forgot to add that bit.

It's mainly a NAS housing my git-annex repos that I access via SSH.

I also host a few HTTP services on it:

https://github.com/Atemu/nixos-config/blob/ee2d85dc3665ae3cad463a3eb132f806651fe436/configs/SOTERIA/default.nix#L57-L75

The services I use most here are Paperless and Piped.

Mealie will be added to that list as soon as the upstream PR lands which might be later this evening.

My Immich module is almost ready to go but the Immich app has a major bug preventing me from using it properly, so that's on hold for now.

I do want to set up Jellyfin in the not too distant future. The machine should handle that just fine with its iGPU as Intel's Quicksync is quite good and I probably won't even need transcoding for most cases either.

I probably won't be able to get around setting up Nextcloud for much longer. I haven't looked into it much but I already know it's a beast. What I primarily want from it is calendar and contact synchronisation but I'd also like to have the ability to share files or documents with mere mortals such as my SO or family.
The NixOS module hopefully abstracts away most of the complexity here but still...

[–] BearOfaTime@lemm.ee 1 points 8 months ago (1 children)

Makes sense that basic file hosting shouldn't use much power.

Sharing stuff with friends and family is in my plan, eventually, not sure what approach to take yet, but I'd like to avoid an app for them, if I can (people are resistant to apps, I kind of get it).

I've looked at Nextcloud/Owncloud a few times, and it always seems like a lot more than I need, though I also want to move my calendar, contacts, etc, to my own hosting. Not sure what the right answer is, lol.

[–] Atemu@lemmy.ml 1 points 8 months ago

My setup already goes quite a bit beyond basic file hosting.

There is no self hosted service I could imagine to need that I'd expect not to be able to host due to CPU constraints. I think I'll run into RAM constraints first; it's already at 3GiB after boot.

[–] Decronym@lemmy.decronym.xyz 3 points 8 months ago* (last edited 8 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
AP WiFi Access Point
DNS Domain Name Service/System
Git Popular version control system, primarily for code
HTTP Hypertext Transfer Protocol, the Web
NAS Network-Attached Storage
NUC Next Unit of Computing brand of Intel small computers
NVMe Non-Volatile Memory Express interface for mass storage
PSU Power Supply Unit
PiHole Network-wide ad-blocker (DNS sinkhole)
Plex Brand of media server package
PoE Power over Ethernet
RPi Raspberry Pi brand of SBC
SATA Serial AT Attachment interface for mass storage
SBC Single-Board Computer
SSD Solid State Drive mass storage
SSH Secure Shell for remote terminal access
nginx Popular HTTP server

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

[Thread #545 for this sub, first seen 26th Feb 2024, 15:35] [FAQ] [Full list] [Contact] [Source code]

[–] dontwakethetrees@lemmy.world 2 points 8 months ago

Don’t have anything spectacular performance wise but my late 2012 i7 Mac Mini Server is reporting ~14w (with my services running and downloads happening) and I saw bursts up to 30w. Not too bad for 12yo Mac running Homebridge, 2 Navidrome instances, Jellyfin, nginx, Transmission, and SMB (looking into Nextcloud to replace that).

[–] qaz@lemmy.world 2 points 8 months ago* (last edited 8 months ago)

~25W which consists of:

  • Mini PC
    • Lenovo Thinkcentre M700 Tiny
    • i5-6500T
    • 8GB DDR4
    • 500GB SSD
  • External USB 3.5" enclosure
    • 2 x 2 TB HDD
  • Network switch
    • 4 Ports Gigabit

I've been thinking about upgrading because the CPU isn't that fast, the RAM ain't that much and I want to add a few more HDD's. I've seen a pretty interesting Lenovo P520 with 64GB RAM a CPU that's 3x times as fast and room for 6 HDD's for €350, but the power consumption I can see online (80W) isn't that appealing with European electricity prices.

[–] scarecrow365@reddthat.com 2 points 8 months ago

Average load for me is about 750W. I run my desktop from one of the UPS units in my rack, so when that's on it sits around 1.1kW.

The 750W load is across 4 rack servers(1 is the NAS with 12 disks) and 3 switches.

[–] BearOfaTime@lemm.ee 2 points 8 months ago

120w continuous. Working on bringing it down, because that's $1/day.

I'd rather spend that money on new hardware every year.

[–] rambos@lemm.ee 2 points 8 months ago

35W

DIY PC with 2 SSD and 1 HDD (it used to be 22W with 3 SSDs and no HDD)

Hosting arr stack, nextcloud, immich and many more (~40 services in total)

[–] Static_Rocket@lemmy.world 2 points 8 months ago* (last edited 8 months ago) (1 children)

0.12kWh / h normally (120W). I'm also running 6 HDDs in raid10 so the spin down time is not optimal.

[–] vzq@lemmy.blahaj.zone 5 points 8 months ago (1 children)

That’s energy, not power. If that’s the energy consumption per hour, then that’s 120W, which is high but not outrageous with a full size computer with 6 disks.

[–] Static_Rocket@lemmy.world 2 points 8 months ago

Correct. I assumed a normalized kWh rating would be better than any instantaneous measurement I had on hand.

[–] mlaga97@lemmy.mlaga97.space 2 points 8 months ago (1 children)

~120W with an old server motherboard and 6 spinning drives (42TB of storage overall).

Currently running Nextcloud, Home Assistant, Gitea, Matrix, Jellyfin, Lemmy, Mastodon, Vaultwarden, and a bunch of other smaller stuff alongside storing a few months worth of surveillance footage, so ~$12/month in power certainly ain't a bad deal versus paying for hosted versions of even a fraction of those services.

[–] mlaga97@lemmy.mlaga97.space 7 points 8 months ago

I have looked at the ROI for getting more efficient kit and ended up discovering that going for something like a low-idle-power-draw system like a NUC or thin client and a disk enclosure has a return period on the order of multiple years.

Based on that information, I've instead put that money towards lower hanging fruit in the form of upgrading older inefficient appliances and adding multi-zone temperature control for power savings.

The energy savings I've been able to make based on long-term energy use data collected via Home Assistant has more than offset all of the electricity I've ever used to power the system itself.

[–] lemann@lemmy.dbzer0.com 1 points 8 months ago

About 150w total, trying to bring it down since electricity here is pretty expensive.

4 machines: two 4th gen i5, one 6th gen Nuc (Have two more but not set them up yet), and one HP thin client. Also two UPSes, and 3 cameras (previously four, but one was accidentally damaged).

Hosting Home Assistant, Zabbix, Palworld, SMB, Transmission, Plex and a bunch of other misc stuff.

Kind of contemplating moving everything to a 10th gen Nuc, but thinking a Ryzen based mini pc might be a better option

[–] blackstrat@lemmy.fwgx.uk 1 points 8 months ago

Depends where you draw the line of the home lab. I'm drawing 160W at the moment, but that includes a dedicated CCTV PC (running Proxmox in a cluster) and POE switch. The CCTV I don't consider part of the home lab really, the alternative would be an off the shelf box and no one would consider that.

The 160W also includes a 24 port switch (I'm only using 8) and the FTTP power, plus the rake from the UPS. So probably total the actual homelab server would be about 80-100, I guess. But even then it runs my router using opnsense, so I don't have a separate router box to power. It also serves as my "cloud" storage, so I'm not saving watts, but I'm saving the cost there.

I could get the power down quite a bit by changing the 6 HDD for 2 mirrored HDD, but the cost of large enough disks means it'd be years before it paid for itself, so I'm sticking with 6 small disks for now.

I've thought about trimming things down and going lower powered, but it all comes back to storage and needing the large storage online all the time.

Plus I consider a 100W a big saving when before I ran a dual Xeon Dell R710 which used around 225W under the same workload.

load more comments
view more: next ›