this post was submitted on 20 Feb 2024
45 points (100.0% liked)

Selfhosted

45677 readers
477 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
 

It looks like !buildapc community isn't super active so I apologize for posting here. Mods, let me know if I should post there instead.

I built my first PC when I was I think 10-11 years old. Built my next PC after that and then sort of moved toward pre-made HP/Dell/etc. My last PC's mobo just gave out and I'm looking to replace the whole thing. I've read over the last few years that prefabs from HP/Dell/etc. have gone to shit and don't really work like they used to. Since I'm looking to expand comfortably, I've been thinking of giving building my own again.

I remember when I was a young lad, that there were two big pain points when putting the rig together: motherboard alignment with the case (I shorted two mobos by having it touch the bare metal of the grounded case; not sure how that happened but it did) and CPU pin alignment so you don't bend any pins when inserting into the socket.

Since it's been several decades since my last build, what are some things I should be aware of? Things I should avoid?

For example, I only recently learned what M.2 SSD are. My desktop has (had) SATA 3.5" drives, only one of which is an SSD.

I'll admit I am a bit overwhelmed by some of my choices. I've spent some time on pcpartpicker and feel very overwhelmed by some of the options. Most of my time is spent in code development (primarily containers and node). I am planning on installing Linux (Ubuntu, most likely) and I am hoping to tinker with some AI models, something I haven't been able to do with my now broken desktop due to it's age. For ML/AI, I know I'll need some sort of GPU, knowing only that NVIDIA cards require closed-source drivers. While I fully support FOSS, I'm not a OSS purist and fully accept that using a closed source drivers for linux may not be avoidable. Happy to take recommendations on GPUs!

Since I also host a myriad of self hosted apps on my desktop, I know I'll need to beef up my RAM (I usually go the max or at least plan for the max).

My main requirements:

  • Intel i7 processor (I've tried i5s and they can't keep up with what I code; I know i9s are the latest hotness but don't think the price is worth it; I've also tried AMD processors before and had terrible luck. I'm willing to try them again but I'd need a GOOD recommendation)
  • At least 3 SATA ports so that I can carry my drives over
  • At least one M.2 port (I cannibalized a laptop I recycled recently and grabbed the 1TB M.2 card)
  • On-board Ethernet/NIC (on-board wifi/bluetooth not required, but won't complain if they have them)
  • Support at least 32 GB of RAM
  • GPU that can support some sort of ML/AI with DisplayPort (preferred)

Nice to haves:

  • MoBo with front USB 3 ports but will accept USB 2 (C vs A doesn't matter)
  • On-board sound (I typically use headphones or bluetooth headset so I don't need anything fancy. I mostly listen to music when I code and occasionally do video calls.)

I threw together this list: https://pcpartpicker.com/list/n6wVRK

It didn't matter to me if it was in stock; just wanted a place to start. Advice is very much appreciated!

EDIT: WOW!! I am shocked and humbled by the great advice I've gotten here. And you've given me a boost in confidence in doing this myself. Thank you all and I'll keep replying as I can.

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 21 points 1 year ago* (last edited 1 year ago) (2 children)

Well, let's see:

  • You no longer have to set jumpers to "master" or "slave" on your hard drives, both because we don't put two drives on the same ribbon cable anymore and because the terminology is considered kinda offensive.

  • Speaking of jumpers, there's a distinct lack of them on motherboards these days compared to the ones you're familiar with: everything's got to be configured in firmware instead.

  • There's a thing called "plug 'n play" now, so you don't have to worry about IRQ conflicts etc.

  • Make sure your power supply is "ATX", not just "AT". The computer has a soft on/off switch controlled through the motherboard now -- the hard switch on the PSU itself can just normally stay on.

  • Cooling is a much bigger deal than it was last time you built a PC. CPUs require not just heat sinks now, but fans too! You're even going to want some extra fans to cool the inside of the case instead of relying on the PSU fan to do it.

  • A lot more functionality is integrated onto motherboards these days, so you don't need nearly as big a case or as many expansion slots as you used to. In fact, you could probably get by without any ISA slots at all!

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago) (2 children)

While I love this list, it is more applicable to the turn of the century than a a decade ago. I was half expecting to see “ram no longer has to be installed in pairs” on the list.

ETA: Talking about EDO memory not dual channel

[–] [email protected] 5 points 1 year ago

Wait RAM doesn’t need to be installed in pair? I am an old apparently

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago) (1 children)

I think you may have misread OPs post. They haven't built a PC since shirtly after they were 10-11, which was almost 30 years ago. So developments since the turn of the century are in fact relevant here, heh.

[–] [email protected] 4 points 1 year ago

They haven't built a PC since shirtly after they were 10-11…

Well, they’d need a much bigger shirt now than when they were 10 or 11.

I’ll see myself out.

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

plug 'n pray

[–] [email protected] 15 points 1 year ago

There is no need for a separate sound card now, it is built in.

[–] [email protected] 13 points 1 year ago (1 children)

GPUs these days use a whole lot of power. Ensure your power supply is specced appropriately.

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

And make sure it's an actually good PSU too.

I know in gaming, possibly in other loads Nvidia 40 series, and especially 30 series love transient spikes which can easily exceed 2x the nominal power consumption. Make sure your PSU can handle those spikes both in terms of brevity, and current.

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

My 3090 is a light flickering machine. Kind of annoying tbh.

load more comments (1 replies)
[–] [email protected] 12 points 1 year ago* (last edited 1 year ago)

Get Nvidia GPU for AI, period.

Read the manual for the motherboard you want and make sure that the M2 slot supports NVMe rather than SATA. (Also, learn to tell NVMe from SATA chips.) M2 slots that are SATA usually share a SATA lane with the SATA connectors and if you populate the M2 slot you might lose a connector.

Another thing to read about is whether populating which M2 slot reduces the speed of one of the PCIe slots. Same reason (shared lanes) but with PCIe instead of SATA. These things should be spelled out next to the M2 connectors.

NVMe drives in Linux have /dev/nvme* designations not /dev/sd*.

[–] [email protected] 10 points 1 year ago

lots of good advice here. I just want to restate: do yourself a favor and migrate your HDDs over to any solid state drive. Whether that means "classic" SSDs with a SATA-Port or M.2s is your prerogative, but in either case you'll start wondering how you could ever stand that s pinning noise and the vibrations and the slow, slow data transfer.

[–] [email protected] 10 points 1 year ago* (last edited 1 year ago)

AMD is the gold standard for general user PCs in the last 5+ years. Intel simply cannot compete at the same energy expenditure/performance. At the same/close price/performance, Intel either burn a small thermonuclear power plant to deliver comparable performance, or simply is worse compared to similar Ryzens

Ryzens are like aliens compared to what AMD used to be before them

So I'd go with them

As for the GPU, if you want to use Linux forget Nvidia

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

For AI/ML workloads the VRAM is king

As you are starting out something older with lots of VRAM would be better than something faster with less VRAM for the same price.

The 4060 ti is a good baseline to compare against as it has a 16GB variant

"Minimum" VRAM for ML is around 10GB the more the better, less VRAM could be usable but with sacrefices with speed and quality.

If you like that stuff in couple of months, you could sell the GPU that you would buy and swap it with 4090 super

For AMD support is confusing as there is no official support for rocm (for mid range GPUs) on linux but someone said that it works.

There is new ZLUDA that enables running CUDA workloads on ROCm

https://www.xda-developers.com/nvidia-cuda-amd-zluda/

I don't have enough info to reccomend AMD cards

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

Some thoughts:

Ubuntu, most likely

I'd encourage you to take a look at Linux Mint, it alleviates some of the Ubuntu fuckiness. And if you want to join the "I use arch btw" crowd, maybe checkout EndeavourOS if you're feeling more brave than just Ubuntu variants (which is built on arch, but makes barrier to entry a little easier).

i9s are the latest hotness but don’t think the price is worth it

Take a look at last generation to soften the blow to your wallet. E.g., instead of looking at a 14900k, look at 13 or even 12 series. In fact, this is a useful strategy all around if you're being price conscious: go one gen older.

GPU that can support some sort of ML/AI with DisplayPort

Probably going to want to go with a discrete card, rather than just integrated. Other major consideration is going to be nvidia vs AMD, for which you'll need to decide if CUDA should be part of your calculus or not. I'll defer to any data science engineers that might wander through this post.

The rest of your reqs pretty much come as regular stock options when building a pc these days. Though another nicety for my latest builds, is multi-gig nics (though 2.5Gb was my ceiling, since you'll also need the network gear to utilize it). Going multi-gig is nice for pushing around a fuckton of data between machines on my lan (including a NAS).

Very last thing that I've found helpful in my last 3 builds spanning 15 years: I use newegg for its reviews of items, specifically so I can search for the term "linux" in any given product's reviews. Often times I can glean quick insight on how friendly (or not) hardware has been for other's linux builds.

And I lied, I just remembered about another linux hardware resource: https://linux-hardware.org/?view=search

You can see other people that have built with given hardware. Just remember to do a scan too once your build is up to pay it forward.

Good luck, and remember to have fun!

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

Used EndeavourOS for a few years too but switched to Fedora Workstation recently. EndeavourOS is still great but I like Fedora more now since it's just easier. A lot of stuff I did manually before like switching ext4 for BTRFS, enabling compression and switching to Pipewire is done by default (also LUKS for full diks encryption which I was too lazy to install before) and I can update my system and install most software through GNOME Software without having to use the CLI. It's also very easy to get OpenCL and HIP working, it's just one package each you need to install. Only downside for me is that it's not as easy to install stuff from COPR than it is from the AUR because you first have to enable the repo for each package you want to install from COPR. I think COPR is more secure tho, especially for someone like me who never looked at the PKGBUILD when installing from AUR.

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

Compared to those pain points building a modern PC should be a breeze. CPUs go in Zero Insertion Force sockets so as long as you remember to lift the little lever you won’t bend any pins. People don’t even wear static discharge wrist bands anymore (all though it couldn’t hurt) or worry about shorting things out. And power connectors only fit one way unlike the AT power connector.

Speaking of breeze your only pain point might be making sure you have enough air circulation for cooling all that gear.

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

I remember working on a PC back in my Geek Squad days that had a lever.

For air circulation, what should I be on the lookout for? Making sure I have clearances, of course, but should I buy more fan that I need?

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

Case usually have fans preinstalled that should be fine. Just pay attention to the direction, have tham all blow air front to back. There is usually an arrow indicating which way it moves air.

Run a benchmark after buiding the PC and check temperatures.

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

Don't just look at temperatures though, look at clock speed too. 95c+ is normal for modern high end CPUs (AMD 7000 series actively try to run at that temp under full load). What you want to make sure is that it's not throttling.

If this is a server and you don't want your thermal paste to be toast in a year then I'd suggest lowering the maximum temperature in the bios if it lets you.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

That and you need to decide how much positive or negative pressure you want in there as well. You could always do some calculations. Treat your case as an open control volume where mass can transfer across the boundaries. Then the sum of air going into and out of the case must equal the rate of change of air in the case. Assuming the volume of air in your case is constant, this term would be zero. So you can look at the rated volume flow rate for each fan (CFM - aka cubic foot per minute) and see if this summation is positive or negative. A positive value would mean "positive pressure" and a negative value "negative pressure". The only problem is if the fans are not running at max RPM and/or the rated CFM value - which is the case if you have your fans plugged into the motherboard( regardless of whether you're using PWM or 3 pin). In this case, you would have to calculate the volume flow rate of each individual fan as a function of the RPM. This may not be a linear function and would probably require taking some data and coming up with a regression for the data. This would be way harder to do.

tldr: add up the CFM going into the case, subtract the CFM leaving the case. If the value is positive you have "positive pressure"

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

Someone might have already mentioned it, but M.2 is just a physical connector. You can have M.2 SATA or M.2 NVME drives. Prefer NVME (a modern motherboard should support it but older ones only do SATA)

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

You state i5s can't keep up with what you code. What do you code?

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

I typically code a lot of back-end and processor intensive workloads. The issue I have with i5s is that they don't seem to be as "snappy" as i7s. I've worked with both for good long periods of time. When I had an i5 laptop, I had to off-load a good majority of my development to the cloud because I couldn't do containers and listen to music and run two monitors at the same time. I never had the same issue with i7 processors, even on a laptop.

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

Linus tech tips recently made huge pc build guide video that you might benefit from watching.

https://m.youtube.com/watch?v=BL4DCEp7blY&pp=ygUbbGludXMgdGVjaCB0aXBzIGJ1aWxkIGd1aWRl

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

I for one would not purchase any Intel hardware as long as AMD is around. Not that they're bad or anything, but AMD gives me much Kore "bang for the buck". To future proof your rig, I strongly suggest you go with the latest socket (be it Intel or AMD, doesn't matter) and make sure you get DDR5 RAM. PCI Gen 4, and then have at it.

Getting an 80 Plus Gold power supply is always nice too.

And then there's the cooling. I see you went with a radiator and fan, but I strongly suggest getting some type of liquid cooling. The prices are not that bad anymore (unlike about 10 years ago, which was insane).

As for the board, you'll get all kinds of different suggestions. Some people swear by Asus, I'd rather go with Gigabyte (love the Aorus line), so it'll come down to brand trust at the end of the day.

As for the card, I hear a lot of crap given to Nvidia about being closed source, and I sort of agree that's messed up, but ATI cards (while pretty good) are always a step behind Nvidia. Plus, most distros have them working out of the box.

It can be intimidating after so many years, but its way simpler than it was back then.

Good luck man, you got this, there's nothing to fear but fear itself.

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

May I ask why water cooling? Its just more loud and more expensive afaik, they just look awesome.

Decent air coolers are cheap, silent and easier to install. When I was overclocking i5 9600k temperature was not an issue at all. Is it different with CPUs today?

load more comments (1 replies)
[–] [email protected] 1 points 1 year ago (1 children)

AMD graphics are terrible at any kind of media encoding or decoding. That probably won't affect most people but it can be a problem for self hosting.

I also find that Intel CPUs are much easier to find than AMD when it comes to used hardware.

[–] [email protected] 1 points 1 year ago (1 children)

They are not terrible, they just don't hold a candle to a Nvidia card of the same tier. And the Op is buying new not old. Not once did I say anything bad about any brand, like the Op, I'm not married to any of them, and only speak out of personal experience. I dont make money from them, they make money out of me.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

I take it your taking about Intel? AMD GPUs tend to be a pretty good deal as there are tons of them used on eBay.

[–] [email protected] 1 points 1 year ago (1 children)

Maybe, I've never bought PC parts on eBay, or used for that matter. Too risky from my perspective. And yes, I'm talking about AMD GPUs. They are very good, but still behind Nvidia in every aspect.

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

Except for Linux support. Nvidia is awful on Linux compared to Intel (best) and AMD (solid).

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

Name one example in which an Nvidia card from the same gen of an AMD GPU performed equal or worse, regardless of the driver. Why do you think that even manufacturers focused on hardware for Linux choose Nvidia over AMD GPUs? Cost? Unlikely, since Nvidia is usually more expensive.

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

Cost wise I believe they are close. For instance, according to Toms Hardware a RTX 3070 is the same cost and performance as a 6700XT.

https://www.tomshardware.com/features/nvidia-geforce-rtx-3070-vs-amd-radeon-rx-6700-xt

What your saying doesn't align with what I've seen and read online. Admittedly I'm not a GPU expert so maybe I'm just out of touch. Anyway I wouldn't by Nvidia because the free software drivers are still being worked on. We are seeing a lot of progress with NVK but its nowhere near complete.

To be honest with you I mostly use Intel integrated graphics which works very well and can even do some light gaming.

load more comments (1 replies)
load more comments (2 replies)
load more comments (5 replies)
[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

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

Fewer Letters More Letters
NAS Network-Attached Storage
NVMe Non-Volatile Memory Express interface for mass storage
PCIe Peripheral Component Interconnect Express
PSU Power Supply Unit
RAID Redundant Array of Independent Disks for mass storage
SATA Serial AT Attachment interface for mass storage
SSD Solid State Drive mass storage
ZFS Solaris/Linux filesystem focusing on data integrity

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

[Thread #529 for this sub, first seen 20th Feb 2024, 23:55] [FAQ] [Full list] [Contact] [Source code]

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (2 children)

They sadly don't have 3.5" [floppy] drives anymore, and both the ISA and PCI busses are nowhere to be found 😔

I used pcpartpicker for my latest build it's a good help when assembling and can help avoid those incompatible parts.

load more comments (2 replies)
[–] [email protected] 2 points 1 year ago

Seems like you got your answers already, but pcmasterrace community also exist

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

Asrock's DeskMeet or DeskSlim series could fit your bill in a small form factor.

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

Btw, there are fast and beautiful M.2/NVMe to USB cases, for your SSD.

[–] [email protected] 1 points 1 year ago (1 children)

It is not exactly what you asked, but if it is customization and expand ability you are looking for, did you consider custom build cites like cyberpowerpc.com? You can select from wide variety of components, they build and test it for you, and make sure that everything is compatible and working. You do pay a bit premium for the assembly and tests but it is not that much, and you save your time and have a peace of mind that everything works.

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

Oooh, I had not considered that but thank you for the recommendation. The only thing I don't like about these PCs is that they all have RGB lighting. I really don't need this and I don't get their appeal.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

The only PC fan manufacture that has not gone RGB at all is a Noctua (premium). Their fans are poop brown and beige or black for consumer, grey for industrial, but are great in terms of noise to cool performance. If noise is important then there's videos of people comparing fans so you can pick a tone that is subjectively best.

I enjoyed the days of one color LEDS. Couldn't beat a Tron blue or The Matrix green.

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

I really don't need this and I don't get their appeal [of RGB].

It costs manufacturers pennies to include but gives them an excuse to mark the price up by dollars, so every single one of them shoves it down all our throats.

load more comments
view more: next ›