Live data from Hacker News

Ask HN: Running production server on M1 mini?

news.ycombinator.com

11–20 of 65 posts

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

#11
How do you actually compare performance/bechmark the app - are you testing/benchmarking both prod and dev directly on the box itself? I'm thinking, there might be other infrastructure shielding the production like load balancers, proxies and other involved (observability/security tooling running and slowing the prod server) compared to accessing the dev on M1 directly..

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

#12
post #7

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…

Does that include the AWS launched M1 instances last week?

I don't know, Amazon's press releases don't talk very much about how the offering works under the hood.

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

#13
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.

It does not consume much memory but do lots of allocations/deallocations. No disc operations whatsoever.

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

#14
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.

It does not consume much memory but do lots of allocations/deallocations. No disc operations whatsoever.

I’d suggest investigating single core performance. If you have the money, buy an i9-12900K (slightly faster single-core than M1 but much hotter) and do some testing on that. If my theory is correct, performance will be even better.

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

#15
post #6

If you do not understand why your performance profile is as it is, how do you know next week's patch won't make it perform better on AMD machines suddenly? You should understand your problem before you solve it.

I don’t think any amount of historical or present-state analysis will shed light on next week’s patch.

That being said, it would prepare one to better analyze next week’s patch,

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

#16

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…

Well, it waits for calculations which take about 2 seconds to complete on average - the vast majority of the time it’s idle

Could this maybe, someday, be simplified or implemented to a AWS Lambda function?

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

#17

Earlier quoted context omitted.

Well, it waits for calculations which take about 2 seconds to complete on average - the vast majority of the time it’s idle

Could this maybe, someday, be simplified or implemented to a AWS Lambda function?

We have already tried that and use Lambdas as last point of backup if the other servers aren’t available- however the performance is about 1/50 compared to our current production server

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

#18

Earlier quoted context omitted.

It does not consume much memory but do lots of allocations/deallocations. No disc operations whatsoever.

I’d suggest investigating single core performance. If you have the money, buy an i9-12900K (slightly faster single-core than M1 but much hotter) and do some testing on that. If my theory is correct, performance will be even better.

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

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

#19

Earlier quoted context omitted.

It does not consume much memory but do lots of allocations/deallocations. No disc operations whatsoever.

I’d suggest investigating single core performance. If you have the money, buy an i9-12900K (slightly faster single-core than M1 but much hotter) and do some testing on that. If my theory is correct, performance will be even better.

[deleted]

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

#20

Earlier quoted context omitted.

I’d suggest investigating single core performance. If you have the money, buy an i9-12900K (slightly faster single-core than M1 but much hotter) and do some testing on that. If my theory is correct, performance will be even better.

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?
Post reply on HN