News for hackers. Stuff that matters.
Re:How M1 Macs feel faster than Intel models: it’s about QoS by omegabravo on Monday May 17, 2021 @09:53AM (#27183408)
I've done a side by side with my Ryzen 3700x compiling a Go project.

6 seconds on the Ryzen, vs 9 seconds on the M1 air.

`time go build -a`, so not very scientific. Could be attributed to the multicore performance of the Ryzen.

Starting applications on the M1 seems to have significant delays too, but I'm not sure if that's a Mac OSX thing. Overall it's very impressive, I just don't see the same lunch eating performance as everyone else.

The battery life and lack of fans is wonderful.

edit: Updated with the arm build on OSX. 16s -> 9 seconds.

Re:How M1 Macs feel faster than Intel models: it’s about QoS by coder543 on Monday May 17, 2021 @11:05AM (#27184283)
> `time go build -a`, so not very scientific.

A tool I have enjoyed using to make these measurements more accurate is hyperfine[0].

In general, the 3700X beating the M1 should be the expected result... it has double the number of high performance cores, several times as much TDP, and access to way more RAM and faster SSDs.

The fact that the M1 is able to be neck and neck with the 3700X is impressive, and the M1 definitely can achieve some unlikely victories. It'll be interesting to see what happens with the M1X (or M2, whatever they label it).

[0]: https://github.com/sharkdp/hyperfine

Re:How M1 Macs feel faster than Intel models: it’s about QoS by ngngngng on Monday May 17, 2021 @03:01PM (#27186947)
M1 S Pro Max
Re:How M1 Macs feel faster than Intel models: it’s about QoS by brailsafe on Monday May 17, 2021 @03:12PM (#27187102)
Faster SSDs on the Ryzen machine? The SSD on even my 2019 Macbook pro is ridic
Re:How M1 Macs feel faster than Intel models: it’s about QoS by ideamotor on Monday May 17, 2021 @10:24AM (#27183772)
I find M1 optimized apps load quickly while others vary. But what really varies is website load times. Sometimes instant, sometimes delayed.

All this said, there really is no comparison. I don’t even think about battery for the M1, I leave the charger at home, and it’s 100% cool and silent. It’s a giant leap for portable creative computing.

Re:How M1 Macs feel faster than Intel models: it’s about QoS by cbsmith on Monday May 17, 2021 @10:45AM (#27184014)
> Starting applications on the M1 seems to have significant delays too, but I'm not sure if that's a Mac OSX thing.

That's a Mac OSX thing. It's verifying the apps.

https://appletoolbox.com/why-is-macos-catalina-verifying-app...

Re:How M1 Macs feel faster than Intel models: it’s about QoS by kemayo on Monday May 17, 2021 @12:01PM (#27184964)
If it's Intel-compiled apps, it's also that Rosetta is translating them to run on M1 when they're first run, as I understand it.

Both of these are first-time launch issues, so comparing launch times on the second launch is probably more reasonable.

Re:How M1 Macs feel faster than Intel models: it’s about QoS by cbsmith on Monday May 17, 2021 @05:51PM (#27188875)
Good point. I'm really surprised they don't translate during installation (ahead of time).
Re:How M1 Macs feel faster than Intel models: it’s about QoS by lukeh on Monday May 17, 2021 @09:57PM (#27190535)
I believe they do.
Re:How M1 Macs feel faster than Intel models: it’s about QoS by saagarjha on Tuesday May 18, 2021 @04:08AM (#27192272)
In certain cases, such as when they come from the App Store. I believe other apps do not get this.
Re:How M1 Macs feel faster than Intel models: it’s about QoS by lukeh on Thursday May 20, 2021 @07:50AM (#27219945)
I think Installer.app triggers the AOT translation, too?
Re:How M1 Macs feel faster than Intel models: it’s about QoS by yaktubi on Monday May 17, 2021 @10:33AM (#27183889)
I’d like to point out that compiling stuff is usually disk/io intensive. Could this not just be that the Apple machine has a faster hard drive/memory?
Re:How M1 Macs feel faster than Intel models: it’s about QoS by vetinari on Monday May 17, 2021 @11:27AM (#27184539)
It doesn't. It has the same 4 lanes, PCIe 3.0 flash as everyone else.
Re:How M1 Macs feel faster than Intel models: it’s about QoS by monocasa on Monday May 17, 2021 @03:38PM (#27187433)
They have an extremely heavily integrated flash controller. Part of it is what they bought from Annobit.
Re:How M1 Macs feel faster than Intel models: it’s about QoS by vetinari on Monday May 17, 2021 @03:42PM (#27187482)
I know, but the flash controller isn't the slow part (usually ;) ).
Re:How M1 Macs feel faster than Intel models: it’s about QoS by monocasa on Monday May 17, 2021 @03:43PM (#27187502)
It does for real world tasks, rather than benchmarks. The FTL plays a big part in real world, small access latency.
Re:How M1 Macs feel faster than Intel models: it’s about QoS by vetinari on Monday May 17, 2021 @04:08PM (#27187814)
We still don't know how good is the FTL in the Apple controller; all the devices are still too new and haven't been dragged through the coal as all the other controllers. It is still in the "easy job" part of it's lifecycle, with brand new flash cells.

However, to quote @Dylan16807 from similar discussion few weeks ago (https://news.ycombinator.com/item?id=26118415):

> The analog parts are the slow parts.

Re:How M1 Macs feel faster than Intel models: it’s about QoS by monocasa on Monday May 17, 2021 @04:17PM (#27187922)
They've been using custom controllers for over a decade.

And the Annobit IP includes the analog parts as a large piece of their value add.

Re:How M1 Macs feel faster than Intel models: it’s about QoS by vetinari on Monday May 17, 2021 @04:46PM (#27188242)
We are getting too deep into irrelevant things. We don't know how much of Anobit IP was used in M1 macs; they may own it, but they might not use it all. They purchase their NAND and it may be not compatible with the current gen, just like when it was not compatible with Samsung's V-NAND/3D TLC.

In practice, the I/O performance of M1-based Macs is comparable to random PCIE 3.0 NVMe drive. (I'm typing this comment on M1 MBP, I'm well aware how it performs).

Re:How M1 Macs feel faster than Intel models: it’s about QoS by markandrewj on Tuesday May 18, 2021 @10:37AM (#27195148)
PCIe 4.0 is the current standard.
Re:How M1 Macs feel faster than Intel models: it’s about QoS by omegabravo on Monday May 17, 2021 @03:00PM (#27186934)
update:

time GOARCH=amd GOOS=linux go build -a

6s for the M1 too!

Re:How M1 Macs feel faster than Intel models: it’s about QoS by jrockway on Monday May 17, 2021 @05:07PM (#27188467)
Do keep in mind that go heavily caches for "go build":

https://golang.org/cmd/go/#hdr-Build_and_test_caching

Re:How M1 Macs feel faster than Intel models: it’s about QoS by coder543 on Monday May 17, 2021 @10:38PM (#27190717)
the "-a" directive in "go build -a" should cause a clean rebuild, which is what they were using