this post was submitted on 07 Aug 2024
31 points (91.9% liked)

Selfhosted

39238 readers
339 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'm looking at some old Intel and Pentium CPUs that are in a NUC. Are cores and max clock speed the only things that matter? Would a Pentium be good enough to run Immich? I have a i7-4790, and the NUCs I'm looking at range from a Pentium J5005 to a i3-1115G4. I do run Docker, does that affect anything?

top 19 comments
sorted by: hot top controversial new old
[–] [email protected] 38 points 1 month ago (3 children)

CPUbenchmark.net is the best way to compare 2 CPUs.

Directly comparing cores and speed is only useful across the same architecture, comparing brands and different generations should only be done via benchmarks.

I can't provide any feedback about if those CPUs are enough for immich as I do not use it.

[–] [email protected] 9 points 1 month ago

This is my go-to for a first look. You might want to see if the CPUs also support special features like encoding/decoding acceleration, because doing stuff like that in hardware is much, much faster than doing it in software with regular instruction pipelines.

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

Maybe add Geekbench, but only within the same architecture. Tests between different architectures are not comparable.

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

+1, this is my first stop too

[–] [email protected] 9 points 1 month ago

Don't forget to compare a consumption too, or perhaps "performance per watt" metric. If plan to run this CPU in a server, this makes a difference in the electricity bill - especially for always on server.

[–] [email protected] 7 points 1 month ago

Docker doesn't make a difference. Containers run natively and with no emulation.

[–] [email protected] 6 points 1 month ago

I think more important is compute per watt and idle power consumption than raw max compute power.

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

Buy a used tiny/mini/micro from eBay. Best bang for buck and good efficiency. I got a Dell with a 9500T for $110.

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

This the route I went too, a couple years ago I found a tiny form factor Lenovo with a 6500t on eBay for a little under 70 bucks shipped and then I found a tiny Dell with a 9500t on my local Craigslist for 100 bucks.

They're good little boxes.

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

In terms of raw CPU power, you will rarely have issues with anything newer than 10 years old. But some built in video conversion hardware can differ significantly and power consumption is usually also lower for newer CPUs.

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

I don't encourage people to buy anything older than ~2016 or Skylake era. Older chips tend to eat enough power that they're more expensive over time (usually less than a year after purchase) than newer more power efficient parts. Run the math on power consumption with the chip's TDP for a year as an estimate and you'll often be surprised by just how expensive chips from <2016 end up being to run. Cpubenchmark.net will do that for you if you use the comparator, just remember to set your average kWh cost.

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

Requirements for immich

Other notable resources:

Hardware accelerated Machine learning requirements

Hardware accelerated Transcoding for videos

You'll need a stronger CPU (or maybe multiple since you can run machine learning multiple machines) handle the load if not using a supported discrete GPU. Also for transcoding videos if you want to do that you'll have to look at compatibility of the CPU with what it can encode/decode and what format you want to store.

That being said , it barely use CPU resources with immich 99% of the time with the exception when media is backing up to it.

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

Look at benchmarks.

Single or multi-core performance will matter more depending on your workload.

[–] [email protected] 0 points 1 month ago

Look at generation first. Look at ram speed, clock speed, number of cores and cache after checking the generation

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

If you just do a search for vs often times you get pointed to sites that can do that comparison for you.

For example searching for: J5005 vs i3-1115G4

gave me several links one of which was Intel Core i3-1115G4 vs Pentium Silver J5005 - UserBenchmark

There were several other sites with similar headers.

As for best one for Docker, that too you can search. Specially if you use something like perplexity.ai and you ask which of those two is better for docker it gives you a nice comparison along with which areas one is better than the other as it pertains to using Docker. Suspect you can get similar good info from using any Large Language Models (LLM) like ChatGPT or Claude.ai (both of which have free plans)

[–] [email protected] 12 points 1 month ago (1 children)

I would avoid the userbenchmark site, the owners are heavily biased against AMD, so their benchmarks cannot be trusted

[–] [email protected] 0 points 1 month ago

That's true for AMD/Intel comparisons. It doesn't really matter when comparing one vendor.

But you're right, it is not really trustworthy