OS X Ventura massive performance improvements (M1)

Post all other topics which do not belong to any other category.
User avatar
jodokus31
Smart Inserter
Smart Inserter
Posts: 1603
Joined: Sun Feb 26, 2017 4:13 pm
Contact:

Re: OS X Ventura massive performance improvements (M1)

Post by jodokus31 »

I tested with the benchmark script from https://factoriobox.1au.us
Basically it calls:

Code: Select all

factorio --mod-directory /dev/null --benchmark map.zip --benchmark-ticks 1000 --benchmark-runs 5 --benchmark-verbose all --benchmark-sanitize
When I call this with this map: flame_Sla 10k - 10x1000spm Belt Module
https://factoriobox.1au.us/map/info/4c5 ... e161705504

I get with MacPro M1 five times like this:
Performed 1000 updates in 6305.037 ms
avg: 6.305 ms, min: 5.455 ms, max: 20.453 ms

-> 1000 * 1000 / 6305 = 158,6 UPS

And with my AMD 5600X:
Performed 1000 updates in 4449.033 ms
avg: 4.449 ms, min: 3.789 ms, max: 27.968 ms

-> 1000 * 1000 / 4449 = 224,76 UPS

The max value is a bit higher on the AMD, but that really can be one hickup or whatever. Would need to check in game, if it's noticeable from time to time
Maybe it's the inital loading frame, where something major happens in one tick.

While impressive, it's not as good as those desktop machines.
Btw: The 5800X3D is like 350 UPS on average on the website

There is also no different, if I use --mod-directory /dev/null or not.
If you don't specify it, factorio uses the default mods folder and whatever mod you could have installed. Maybe you have something there, which increases performance sowehow?

eangineer
Burner Inserter
Burner Inserter
Posts: 16
Joined: Thu Oct 27, 2022 12:06 am
Contact:

Re: OS X Ventura massive performance improvements (M1)

Post by eangineer »

My initial test results seemed to have been some sort of fluke. I have not been able to recreate these results since the Apple Silicon version of Factorio was released.

This was before the Apple Silicon version of Factorio was released, it is possible that when Ventura released, there may have been some weird state causing weird results of universal binaries on Apple Silicon. I would disregard all of this.

StrangePan
Factorio Staff
Factorio Staff
Posts: 33
Joined: Fri Dec 07, 2018 3:41 pm
Contact:

Re: OS X Ventura massive performance improvements (M1)

Post by StrangePan »

Thanks for following up @eangineer. I've also been unable to reproduce these or similar results.

eangineer
Burner Inserter
Burner Inserter
Posts: 16
Joined: Thu Oct 27, 2022 12:06 am
Contact:

Re: OS X Ventura massive performance improvements (M1)

Post by eangineer »

I am fairly convinced this was unique to a specific build of Ventura on M1 and the non-Apple Silicon build of Factorio. Most likely this was false results observed due to some weird calculation misfire from OS events reporting incorrectly or some other strange voodoo. :cry:

eangineer
Burner Inserter
Burner Inserter
Posts: 16
Joined: Thu Oct 27, 2022 12:06 am
Contact:

Re: OS X Ventura massive performance improvements (M1)

Post by eangineer »

Although > 160 UPS on an M1 Mac mini (base model) is nothing to sneeze at!

User avatar
jodokus31
Smart Inserter
Smart Inserter
Posts: 1603
Joined: Sun Feb 26, 2017 4:13 pm
Contact:

Re: OS X Ventura massive performance improvements (M1)

Post by jodokus31 »

eangineer wrote:
Thu Mar 02, 2023 6:58 pm
Although > 160 UPS on an M1 Mac mini (base model) is nothing to sneeze at!
Not at all. If you consider, that it is a lot more power efficient.
Although, those AMDs don't use that much compared to Intel, but still a huge difference,.

Post Reply

Return to “General discussion”