Live data from Hacker News

Ask HN: Running production server on M1 mini?

news.ycombinator.com

21–30 of 65 posts

Re: Ask HN: Running production server on M1 mini?

#21

Earlier quoted context omitted.

We have examined that as well, last week we tried a AMD 5950X which has half the amount of cores but much better single core performance - the result was still at 60% of the Epyc performance

What was the M1 % relative to your Epyc?

Roughly 10% faster

Re: Ask HN: Running production server on M1 mini?

#22

No currently offered M1 Mini has redundant fail-over power or storage. Also, without knowing how your cloud provider has cooling setup it is unclear how well it will operate under heavy load for extended periods of time (blade servers are designed for that specific workload and have cooling solutions to match). My point is: If your workload is time critical, and you cannot afford downtime/outages then it may not be f…

> No currently offered M1 Mini has redundant fail-over power or storage.

It's kind of funny, but an M1 MacBook does. In fact it comes with a solid >12 hour UPS built-in.

Re: Ask HN: Running production server on M1 mini?

#23
They are perfectly stable machines for running batch jobs. I have had one running a bunch of build automation as a jenkins slave for about 9 months now. Never skipped a beat. It just works and the thing is damn fast.

If it’s doing it offline it’s probably cheaper to buy one and chuck it in your office than borrow one from a cloud provider. The ass end ones are really really really cheap. Much cheaper than just the CPU in an equivalent server machine. If they blow up, just mill down to the apple store and buy another one.

Disclaimers of course: (1) it doesn’t have ECC RAM (2) it doesn’t have redundant power. We ignore (1) and solve (2) by running a prometheus node exporter on it and seeing if it disappears.

Re: Ask HN: Running production server on M1 mini?

#24
post #3

don’t ask me how _You_ should be asking you how - there are lots of reasons why this could be happening and knowing which one is important if you're changing stuff. Based on a "highly parallelizable" application performing better on 8 cores than 32, I'd guess you're running out of something else: memory or disk bandwidth.

Probably the hardest thing to clean up is a codebase where very complicated "optimizations" were built because someone didn't understand some very basic bottlenecks.

I recently inherited an app that makes heavy use of Redis caching because someone didn't first try to optimizing SQL. The complexity that Redis caching adds is insane to maintain compared to spending a few minutes optimizing SQL.

The original poster really needs to hook up a profiler.

Also: having written lots of parallel code: Parallelization isn't a magic way to make things faster. If the codebase is breaking up tasks into lots of tiny tasks that run in parallel, there might be more overhead in parallelization than needed. Sometimes the fastest (performance and implementation) way to parallelize is to keep most of the codebase serial, but only parallelize at the highest level and never share data among operations.

Re: Ask HN: Running production server on M1 mini?

#28

Earlier quoted context omitted.

What was the M1 % relative to your Epyc?

Roughly 10% faster

HN makes us wait for replies… so if we need to continue this further I’m open at muse.theses-0z@icloud.com .

My next question would be if you ran the 12900K in dual-channel memory.

Post reply on HN