News for hackers. Stuff that matters.
Re:Graviton 3, Apple M2 and Qualcomm 8cx 3rd gen: a URL pars... by tlamponi on Thursday May 04, 2023 @06:46AM (#35813490)
On my (not idle) i7-12700K with DDR5 4800 memory Workstation, using Proxmox VE 7.4 (based on Debian 11) with our 6.2 based Linux kernel, I get something between 139.44 ns/url and 140.66 ns/url (ran it about 10 times in a row), so 1.35x faster than the M2.
Re:Graviton 3, Apple M2 and Qualcomm 8cx 3rd gen: a URL pars... by heredoc on Thursday May 04, 2023 @02:08PM (#35819679)
I constantly get between 154 and 156 ns/url when running on an M2 Air 2022 while using asahi linux instead of MacOs. 22 Celsius according to smartmontools :)
Re:Graviton 3, Apple M2 and Qualcomm 8cx 3rd gen: a URL pars... by tlamponi on Friday May 05, 2023 @04:56AM (#35826839)
So seems a good part of the speed-up comes from using the Linux kernel, which tbh. doesn't really surprise me. It's hard to match the engineering amount and quality getting poured into it (well at least the core stuff, some niche driver will be a mess like everywhere). The remainder then comes from modern x86_64/amd64 CPU combined with DDR5 beating the M2, well at least in this micro benchmark.
Re:Graviton 3, Apple M2 and Qualcomm 8cx 3rd gen: a URL pars... by StillBored on Thursday May 04, 2023 @04:27PM (#35821622)
One of the comments on the article notes a 7950x doing "time/url=109ns"

so I tossed it on my 5950x and it reports "ns/url=148.994" which is about right from what I understand (zen4 gets a nice ~30% bump on a number of Linux benchmarks over zen3), here its 35% with only a 16% clock advantage.

Which is about the diff between the M2 and my old 5950X in a generation older process/etc.

So, yah current M2 slower than previous gen Intel and AMD both in this benchmark.