My pi costs probably around 20 a year lol.
Selfhosted
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:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
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.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
I've got a 3 node Proxmox/ceph cluster with 10G, plus a separate Nas. They are all rack mount with dual PSU. Add in the necessary switching, and my average load is about 800w. Throw my desktop (also on 10G) into the mix and it runs 1.1kw.
That's roughly $50-60 extra in electricity costs for me monthly.
Would be around 300€ in Germany, on a cheap contract. Limiting myself to one combined NAS/application server atm, with the others turned on only if I want to try sth out.
Around 100 Watts for
- NAS with 4x3.5" HDD,
- Minisforum HM90 for Proxmox with 2x2.5" HDDs,
- 16 Port TP Link PoE Switch,
- TP Link router
- 2x Raspberry Pi 4b
But everything with gigabit speed. Doesnt need more at home
If you're just running home automation, you do not need an Epyc 🤣
Get a low power anything to just run what you need.
I looked at Epyc because I wanted to bandwidth to run u.2 drives at full speed and it wasn't until Epyc or Threadripper that you could get much more than 40 lanes in a single socket. I've got to find another way to saturate 10g and give up on 25g. My home automation is run on a Home Assistant Yellow and works perfectly, for what it does.
Some unsolicited advice then: don't go LOOKING for reasons to use the absolute max of what your hardware is capable of just because you can. You just end up spending more money 🤑
For real though, just get an N100 or something that does what you need. You don't need to waste money and power on an Epyc if it just sits idle 99% of the time.
What I need is a 10g storage for my Adobe suite that I can access from my MacBook. I need redundant, fault tolerant storage for my precious data. I need my self hosted services to be high availability. What's the minimum spec to reach that? I started on the u.2 path when I saw enterprise u.2 drives at similar cost per GB as SATA SSDs but faster and crazy endurance. And when my kid wants to run a Minecraft server with mods for him and his friends, I better have some spare CPU cycles and RAM to keep up.
You could technically do that from like 2x ~$150 used business desktop PCs off ebay, 10th gen Intel CPU models or around there with Core i3/i5 CPUs.
Throw some M.2 SSDs in each one in a mirror array for storage, add a bit of additional RAM if needed and a 10G NIC. Would probably use about 30-40W total for both of them.
Minecraft servers are easy to run, they don't need much especially on a fairly modern CPU with high single thread performance, and only use maybe 6GB of RAM for a modded one.
You're not asking for a whole lot out of the hardware, so you could do it cheap if you wanted to.
I just moved my home assistant docker container to a new-to-me Xeon system. It also runs a couple basically idle tasks/containers, so I threw BOINC at it to put it to good use. All wrapped up with Debian 12 on proxmox...
(I needed USB support for zigbee in ha, and synology yanked driver support from dsm with the latest major version, so 'let's just use the new machine'...)
I'm running my smart home entirely from a single NUC running proxmox with VMs and LXCs for my services. It's pulling ~7W on average
You most likely won't utilize these speeds in a home lab, but I understand why you want them. I do too. I settled for 2.5GBit because that was a sweet spot in terms of speed, cost and power draw. In total, I idle at about 60W for following systems:
- Lenovo M90q (i7 10700, 32GB, 3 x 1 TB SSD) running Proxmox, 15W idle
- Custom NAS (Ryzen 2400G, 16GB, 4x12TB HDD)v running Truenas (30W idle)
- Firewall (N5105, 8GB) running OPNsense (8W idle)
- FritzBox 6660 Cable, which functions as a glorified access point, 10W idle
With 25 GbE, even 10, I'd be tempted to PXE boot client systems. Maybe still have a local PCIe SSD for windows game files.
Dunno how that would actually work with Windows, but it was fun when I did it for beowulf nodes. Setting RPis to netboot is a little involved, but you can create an OSMC image and give all your TVs a consistent 'smart' interface. You don't even need 10GbE to be pretty functional for the Pi, but my experience is that WiFi is not fast enough.
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 |
DHCP | Dynamic Host Configuration Protocol, automates assignment of IPs when connecting to a network |
DNS | Domain Name Service/System |
HA | Home Assistant automation software |
~ | High Availability |
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 |
PiHole | Network-wide ad-blocker (DNS sinkhole) |
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 |
Unifi | Ubiquiti WiFi hardware brand |
VPS | Virtual Private Server (opposed to shared hosting) |
[Thread #782 for this sub, first seen 4th Jun 2024, 04:35] [FAQ] [Full list] [Contact] [Source code]
5 node proxmox cluster (each node on 40gbps networking[yes ceph...], ~80TB of SSD storage, 180cores, ~630GB of ram total)
1 slow storage node (~400TB)
2x opnsense servers in HA
2x icx7750s
2x icx7450s
PoE to all the things... and 8gbps internet.
Usually run ~15-17amps. So about 2000 watts. It's my baby datacenter.
Sometime this month I'll be installing 25000kwh solar system on my roof and batteries.
As far as heat goes... It's in the garage with an insulated door, heat pump water heater, and there's a tripplite ac unit in the bottom of the rack. The waste air(from the a/c) exhausts outside through a direct vent in the wall. The garage is downright tolerable to me for extended periods of time. The servers don't complain at all.
Reading about all you guys being under 200w or whatever makes me wonder if it's worth it. Then I realize that the cost to do even a 1/4 of what I do in the cloud is more expensive than buying my solar.
Power costs for the rack is about $100-120 a month. If it wasn't for solar.
Edit: 75 LXC containers, 22VMs.
Damn that's a setup alright!
If you're making use of the hardware it's well worth it over anything cloud based for sure.
Edit: 75 LXC containers, 22VMs.
That's a lot of power draw for so few VMs and containers. Any particular applications running that justify such a setup?
That's total draw of the whole rack. No indicative of power per vm/lxc container. If I pop onto management on a particular box it's only running at an average of 164 watts. So for all 5 processing nodes it's actually 953 watts (average over the past 7 days). So if you're wanting to quantify it that way, it's about 10W per container.
Truenas is using 420 watts (30 spinning disks, 400+TiB raw storage...closer to 350 usable. Assuming 7 watts per spinning drive were at 210Watts in disks alone, spec sheet says 5 at idle and 10 at full speed). About 70 watts per firewall. Or 1515 for all the compute itself.
The other 1000-ish watts is spent on switches, PoE (8 cameras, 2 HDHR units, time server and clock module,whatever happens to be plugged in around the house using PoE). Some power would also be lost to the UPS as well because conversions aren't perfect. Oh and the network KVM and pullout monitor/keyboard.
I think the difference here is that I'm taking my whole rack into account. Not looking at the power cost of just a server in isolation but also all the supporting stuff like networking. Max power draw on an icx7750 is 586Watts, Typical is 274 according to spec sheet. I have 2 of them trunked. Similar story with my icx7450s, 2 trunked and max power load is 935W each, but in this case specifically for PoE. Considering that I'm using a little shy of 1k on networking I have a lot of power overhead here that I'm not using. But I do have the 6x40gbps modules on the 7750.
With this setup I'm using ~50% of the memory I have available. I'm 2 node redundant, and if I was down 2 nodes I'd be at 80% capacity. Enough to add about 60GB more of services before I have to worry about shedding load if I were to see critical failures.
125W (Less than $15/month) or so for
- Ryzen 9 3900X
- 64GB RAM
- 2x4TB NVMe (ZFS Mirror)
- 5x14TB HDD (ZFS RAID-Z2)
- 2.5GBe Network Card
- 5-port 2.5GBe Network Switch
- 5-port 1GBe POE Network Switch w/ one Reolink Camera attached
I generally leave
powerManagement.cpuFreqGovernor = "powersave"
in my Nix config as well, which saves about 40W ($4/mo or so) for my typical load as best as I can tell, and I disable it if I'm doing bulk data processing on a time crunch.
I have an ITX Ryzen 2700X with an arc A380. 3 HDDs and 1 SSD boot drive.
Before some kernel improvements for the A380, my idle wattage was 60W. Without the A380 it was around 35W idle. I am hoping that it is around 45W now because of fixing the high idle wattage of the GPU but I have to measure again.
Performance is great though. Perfect Jellyfin streaming, home automation, document and media management, file sync, recipe management, etc...
People tend to over-spec their servers, in my opinion. Unless you are dealing with more than a few dozen clients or so on one server (or having a many-user dedicated streaming server), you really don't need much.
My real server (Nextcloud/NAS/several more vm's) uses 28 Watts on average. In addition, there is one Pi 4B running, and I don't even know it's wattage.
I'm planning on replacing the real server with a new one, with lots of cores and approx. 50 Watts then.
Pi4 tend to stick around 5w
5950x in an matx board with 15 x 3.5in drives 1 x sata sad 1 x optane u.2 drive (pulls like 10watts) 1 x Nvidia A2000 1 x Lsi 9305 16i 1 x 2.5gbe intel nic 3 x 140 mm fans at full tilt
Runs at like 120 watts at idle, like 220 watts with a good amount of work and peaks at like 320 watts if I make it do a lot of work
What in the world...
Dafuq you doing over there?
The load on my UPS is around 100-140 watts. That includes my server, firewall, switch, starlink and a unifi access point. I would love to get that power consumption down. I only get 4-5 hours of runtime on battery. Also, the room it's in is small and it gets really hot in the summer time.
- Fujitsu motherboard
- Intel pentium G5600
- 6 HDD (4 x 4 TB 2 x 8 TB) spinned down
- 2 SSD for proxmox
- 6 CT and no VM for now
it runs at 16W mostly idle
I recently removed my 25Gbps PCIe dual port cards from my 2 servers because they were using 20W more. My entire rack including 2 UniFi PoE connections uses 90 W now (so 110 W just for having 25 Gpbs).
There is some heat from such cards, but usually it gets transported outside fine. The ones I bought did not come with a fan. I think you cannot operate them without one. The heat sinks get very hot.
15w Raspberry pi 4 + HDDs
I run 3900X with a 40Gbit fiber, packed with HDDs and nvmes. The box fluctuates around 90-110W use.
Thinkcenter tiny, 4 external HDDs, a DAC, a raspi3b+, was like 25W I think.
Mine is about 8W on average.
It's an Odroid H3 that runs Nextcloud, Jellyfin, AudiobookShelf, a bunch of websites and Home Assistant.
It has 2x Sata SSD's connected.
This setup is not high speed at all, so it's not what you asked about. I just answered the headline question. ;)
If any air ventilation fan turns on in the house it uses at least 3x that power, so I don't calculate the price on my servers power draw as it almost not noticable.
Let's see...
My servers (tiny/mini/micros) in total are about... 600W or so. Two NASs, about 15-20W a piece.
I spend a out $150/mo in electricity, but my hot water/HVAC/etc are the big power draw. I'd say about $40-50/mo is what I'm spending on powering the servers in my office.
Definitely puts off some heat, but that's partially because it's all in one rack, and I've got a bunch of other work hardware in there. It's about 2 degrees warmer in my office than the rest of my home, but I also have air cycling all the time since it's a single unit HVAC and I need to keep the air moving to keep it all the right temp in the other rooms anyway (AC will come on more often otherwise, even without my rack).
I have a small setup for some self hosted apps and media.
- Beelink Mini S.
- 2 external 5TB drives.
- A USB fan used as an exhaust because the SSD inside gets a bit warm.
I think total power is about 30W.
I use a Ryzen 5900x, RTX 3080, 2x 10Gbit sfp+ NIC, 128GB ECC RAM, and only 2x 20TB drives at the moment.
For my gateway, I have an Intel N6005 box, I have a managed 2.5/10Gbit switch, and I have a wifi AP.
I have a ton of Proxmox VMs and containers.
All that hovers between 140W to 180W
From the wall I'm pulling 120w
Ryzen 5700G
128GB ram
2tb + 4tb NVMe drive
2 x 20tb HDDs
Unifi Enterprise 24 PoE
Mikrotik RB5009
2 access points
3 cameras
Fiber runs cooler than copper all of my SFP+ are fiber.
I feel almost obliged to ask: what are you running on this monster of a setup?
Mostly for PiHole.
For my main server only... If HP iLO is to be believed, averaging around 130W.
Running: deluge, homarr, jellyfin, lidarr, navidrome, nextcloud, prowlarr, sonarr, whoogle and a minecraft server (VM) on TrueNAS Scale.
As for everything else (my router, switch and DNS/DHCP server, which is a separate machine, you can add another maybe 50W on top of it...
I run a NUC11 so about 10W. 15-20€ per annum assuming a single tariff at 0.17€ per kwh. It can use up to 30W but only during heavy load which may be like 8 hours a week. But electricity is also cheaper during off peak hours so it averages to about that (we have 5 tariffs).
Load is NAS, media server, homeassistant and a usb zigbee router, *arr stack.
Power usage was my main concern and wanted something eco friendly.
About 30 watts for a old Lenovo Thinkcentre with a i5-6500T and 8 GB RAM in combination with a DAS and 2x2TB HDD's. I'm currently waiting for parts for my new server I'm building, a small N100 Mini-ITX board with 4x4TB HDD's that hopefully has a similar power consumption.
The last time I checked, mine runs at about 5-10 watts usually.
- Intel i7-3770
- 16gb DDR3
- 2 1TB SSDs
Are you sure. I was thinking those specs you would be more in the 50-80 watts range.
Yep, my homeserver spends most of it's time idling, so power management kicks in.
Now when one of my build VMs are running, it'll get up to that range, but that's why I said it runs at 10 watts usually
Systems themselves are all around 5-20W, although the ones with mechanical HDDs obviously add their own idle usage.
Actually if anyone has advice I'd love to hear. My server is a b450 mobo with an athlon 320ge. Even with no hard drives spinning it uses 65watts. I don't understand how it is possible. 6 hard drives bring it to 85-90. Running truenas if it matters
I keep it off most of the time to safe power, I was expecting especially with such a cou much lower wattage, like under 20 idle. My assumption is the power supply can't get low enough.
What CPU governor are you using? I saved about 40W idle powerdraw switching to powersave vs the default on a Ryzen 9 3900X.