this post was submitted on 18 Nov 2024
6 points (80.0% liked)

Selfhosted

40219 readers
1152 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
 

My current system is running on an old 2U HP rackmount server with dual 16-core AMD Opteron-6262HE CPU's and two RAID-5 arrays (fast SSD array and slow 2.5" HDD array). There are generally 5-6 VMs running under a Linux master at a given time but none of them are using a whole lot of CPU cycles.

In general, it's noisy but fairly effective for my needs.

I'm looking at the future and what might be good replacement that offers a blend of power-efficiency, flexibility, and storage cost.

In particular, I'd like to:

  • Ditch the 2.5" HDD array in favor of an efficient separate storage system, preferably an attached NAS with 3.5" disks on RAID5 but probably actually networked and not USB based (both for reliability and also so I can potentially provide storage directly to stuff running on separate SBC's etc). A storage system I could drop in now and still use after I upgrade the compute system would be great

  • I'd like to keep the SATA-SSD array for stuff that needs faster disk, or possibly move up to a RAID'ed M2/NVMe.

  • Move up to a more modern CPU that has a good Power-per-watt balance. 8-16 cores totally is probably good if that can be reasonably power efficient for idle cores etc, but dropping some VM's to run stuff on the aforementioned SBC's is also an option

  • Still be rack-mounted for the main system, but not so freaking loud, and actually fit in a standard 24" deep rack

  • Potentially be able to add a decent GPU or add-on board for processing AI models etc

Generally what it will be running is a bunch of VM's for stuff like NextCloud, remote-admin software, Media servers (Plex/Jellyfin), a Fileserver, some virtual desktops and various other fairly low-power VMs, BUT it'd be nice if I could add the dGPU or something with the horsepower for AI processing and periodic rendering/ripping/etc

I'm sorry debating on whether might make more sense to move all storage to BAD, then just replace the always-running stuff (NextCloud, Plex,Fileserver) with SBC's so that they're fairly easily swappable if something fails.

top 4 comments
sorted by: hot top controversial new old
[–] just_another_person@lemmy.world 7 points 10 hours ago* (last edited 10 hours ago)

You're asking for a lot of different things that don't align, so instead of trying to guess what you need, let me just throw a few things out there:

  • if you want transcoding that isn't constantly tied to GPU, you want an AMD chip of some sort. If you're trying to be efficient, an APU model.
  • you probably want to just merge all your data into a single disk array. Running multiple on one system is pointless and inefficient.
  • separate your CPU needs from storage. Like you said, maybe you just need an ultra low power NAS, and then different machine to handle compute.
  • skip SSD for any network storage. Yes it's more power efficient, but if you're talking bulk storage, you're wasting resources for smaller volumes where it won't matter if transferred over the network. SSD is good for local-only for the most part.
[–] lemmyng@lemmy.ca 1 points 8 hours ago

The other responses have so far talked about hardware setup, so I'm not going to do that. Instead I'm looking at your software setup: VMs can be comparatively power inefficient compared to containers, specially for always-on services that idle often.

[–] jlh@lemmy.jlh.name 2 points 9 hours ago* (last edited 9 hours ago)

I'm looking at the future and what might be good replacement that offers a blend of power-efficiency, flexibility, and storage cost.

Any modern CPU will improve energy efficiency. AMD AM4 platform and Intel N100 are very cheap. AMD SP3 platform is also very cheap and has a ton of PCIe lanes and memory expandability for gpus, NVMe, and running lots of VMs.

For storage cost, used hdds are currently $8/TB, generic NVMe is currently $45, and used enterprise SSDs are $50/TB, decide which you want to invest in depending on your needs. Used enterprise drives will be the fastest and most durable for databases and RAID.

https://diskprices.com/

https://www.ebay.com/sch/i.html?_nkw=pm983+m.2

SSD prices are expected to decrease faster than HDD prices, and will probably overtake HDDs for value in ~5 years.

About dGPUs, Intel A310 is the best transcoding Gpu out there. Used Nvidia datacenter gpus probably have the best vram/$ and pytorch compatibility for AI

[–] stuner@lemmy.world 1 points 9 hours ago

Perhaps my recent NAS/home server build can serve as a bit of an inspiration for you:

  • AMD Ryzen 8500G (8 cores, much more powerful than your two CPUs, with iGPU)
  • Standard B650 mainboard, 32 GB RAM
  • 2 x used 10 TB HDDs in a ZFS pool (mainboard has 4x SATA ports)
  • Debian Bookworm with Docker containers for applications (containers should be more efficient than VMs).
  • Average power consumption of 19W. Usually cooled passively.

I don't think it's more efficient to separate processing and storage so I'd only go for that if you want to play around with a cluster. I would also avoid SD cards as a root FS, as they tend to die early and catastrophically.