Live data from Hacker News

Ryzen 5800X vs. M1: Programming benchmarks

github.com

161–170 of 318 posts

Re: Ryzen 5800X vs. M1: Programming benchmarks

#161

Earlier quoted context omitted.

> the unified memory Castrated by a paltry 8GB of RAM in stock configuration!

Castrated by a paltry 8GB of RAM in stock configuration! Probably not. macOS has had RAM compression since 2009; by now, it's probably implemented in the M1 SoC, so it's really really fast. 8 GB on an M1 is closer to 16 GB on most other processor/operating system combinations.

That's amazing. I usually read in 16 GB of image data into memory for analysis. I'm guessing that will work fine on the 8GB ram macbook then. /s

Re: Ryzen 5800X vs. M1: Programming benchmarks

#162
post #127

Can anyone explain the Redis numbers, specifically the 3900X versus 5800X [1]? The 5800X is showing numbers easily more than 2x the 3900X. I understand this is a single-threaded test, so the additional cores of the 3900X (12C/24T versus 8C/16T for the 5800X) do it no advantage. But I wouldn't expect the Zen 3 architecture to be that dramatically superior to Zen 2. [1] https://raw.githubusercontent.com/tuhdo/tuhdo.git…

I would bet that the redis-benchmark and the redis-server were running across the CCD, not tasklocked to CPUs on the same chiplet. I have a 3970x, I'll run this test on different chiplets and the same chiplet...

Re: Ryzen 5800X vs. M1: Programming benchmarks

#163

Earlier quoted context omitted.

Some are making a "desktop with cheaper terminal laptop -vs- pro laptop" choice though. And in that case the comparison may matter.

Thing is M1 air is cheap for the quality/performance so you could probably get both.

Depends. If you go for the base model, yes. If you need more memory or a lot of fast storage or gobs of GPU horsepower or a lot of I/O, the 5800X will be definitely cheaper by a mile.

That being said, at the same config, the 5800X system would indeed only barely be cheaper.

Re: Ryzen 5800X vs. M1: Programming benchmarks

#164

Earlier quoted context omitted.

And directly above that graph says: > please keep in mind that for single-threaded tasks, a single core doesn’t consume all 95W TDP headroom of the CPU. Based on Anandtech’s analysis, a single 5800X core only consumes 17.3W at 4850 MHz Remember these are single-threaded benchmarks.

Yeah, that's irrelevant. One M1 core is not going to use its entire package power either, because there are other powered cores in there like the GPU. Look at the chart again. One Ryzen core active, 37 watts total package power. It doesn't matter what the per core wattage is, because you can't get that one core without the package.

37W because it's a desktop chip which has its I/O on 12nm. The laptop chips don't have that issue.

Also, if you want to do an apples-to-apples comparison, the 5800X package handles vastly more I/O.

Re: Ryzen 5800X vs. M1: Programming benchmarks

#165
post #162
post #127

Can anyone explain the Redis numbers, specifically the 3900X versus 5800X [1]? The 5800X is showing numbers easily more than 2x the 3900X. I understand this is a single-threaded test, so the additional cores of the 3900X (12C/24T versus 8C/16T for the 5800X) do it no advantage. But I wouldn't expect the Zen 3 architecture to be that dramatically superior to Zen 2. [1] https://raw.githubusercontent.com/tuhdo/tuhdo.git…

I would bet that the redis-benchmark and the redis-server were running across the CCD, not tasklocked to CPUs on the same chiplet. I have a 3970x, I'll run this test on different chiplets and the same chiplet...

  $ taskset -c 1 redis-server
  $ taskset -c 2 redis-benchmark -p 6379 -P 8 -q -c 1 -n 100000
  PING_INLINE: 775193.81 requests per second
  PING_BULK: 869565.19 requests per second
  SET: 724637.69 requests per second
  GET: 787401.56 requests per second
  INCR: 775193.81 requests per second
  LPUSH: 684931.50 requests per second
  RPUSH: 699300.69 requests per second
  LPOP: 680272.12 requests per second
  RPOP: 704225.31 requests per second
  SADD: 769230.81 requests per second
  HSET: 675675.69 requests per second
  SPOP: 819672.12 requests per second
  LPUSH (needed to benchmark LRANGE): 680272.12 requests per second
  LRANGE_100 (first 100 elements): 107758.62 requests per second
  LRANGE_300 (first 300 elements): 30721.96 requests per second
  LRANGE_500 (first 450 elements): 20040.08 requests per second
  LRANGE_600 (first 600 elements): 14658.46 requests per second
  MSET (10 keys): 317460.31 requests per second

  $ taskset -c 20 redis-server
  $ taskset -c 2 redis-benchmark -p 6379 -P 8 -q -c 1 -n 100000
  PING_INLINE: 469483.56 requests per second
  PING_BULK: 505050.50 requests per second
  SET: 446428.56 requests per second
  GET: 465116.28 requests per second
  INCR: 458715.59 requests per second
  LPUSH: 425531.91 requests per second
  RPUSH: 438596.50 requests per second
  LPOP: 429184.56 requests per second
  RPOP: 434782.59 requests per second
  SADD: 460829.50 requests per second
  HSET: 421940.94 requests per second
  SPOP: 478468.88 requests per second
  LPUSH (needed to benchmark LRANGE): 425531.91 requests per second
  LRANGE_100 (first 100 elements): 96899.23 requests per second
  LRANGE_300 (first 300 elements): 29019.15 requests per second
  LRANGE_500 (first 450 elements): 19109.50 requests per second
  LRANGE_600 (first 600 elements): 14035.09 requests per second
  MSET (10 keys): 253807.11 requests per second

Re: Ryzen 5800X vs. M1: Programming benchmarks

#166
post #159

Earlier quoted context omitted.

> In the real world, there aren't many people making purchasing decision between an M1 Apple laptop or Mac Mini and an AMD 5800X desktop machine anyway I have a 15 inch 2018 i9 MBP that's objectively a terrible device (throttling/keyboard). With corona and WFH I'm weighing my options - right now everything is out of stock but early next year I'd be interested in building a desktop. My problem is the M1 is so good tha…

Has there been any leak that a 16 inch MBP with Apple Silicon is coming anytime soon? Haven't heard any substantial info on roadmap.

There’s not been leaks, but there’s no reason to believe that it won’t be coming any time soon. Hypothetically the latest it would come out is in first half of 2022, but I’d be surprised if it took that long for the 16 inch macbook pro.

Re: Ryzen 5800X vs. M1: Programming benchmarks

#167

Earlier quoted context omitted.

Can you provide a link where they say it beats everything ? Because on their marketing page they specifically compare it to laptops and refer to low-power use cases. I have never seen them compare it against HEDT platforms.

Here's the initial announcement video with a timestamp where they called it the "worlds fastest CPU core". They've very quickly stopped using that as the tagline, but it was part of their initial marketing push. https://youtu.be/5AwdkGKmZ0I?t=529

True, the text on screen did have that phrase without qualifiers, but what he actually said is: “…when it comes to low-power silicon, our high-performance core is the world’s fastest CPU core.”

Re: Ryzen 5800X vs. M1: Programming benchmarks

#168
post #92

Thanks for sharing some programming-centric benchmarks using modern CPUs. I always wish that CPU reviewers would stop churning out pages of graphs with synthetic benchmark workloads and instead post things that actually matter, like compile times and other programming benchmarks. The M1 processor is extremely impressive for the price and power envelope. However, I'm noticing a lot of people have taken Apple's marketi…

> A significant portion of Apple's lead came from buying exclusivity on TSMC's 5nm process It's hard to estimate how much of Apple's advantage came from the 5nm process, but we can get a guess by comparing the A13 and A14. One of the biggest differences between last year's A13 and this year's A14 is the 5nm process (vs 7nm+). The performance increase seems to be on the order of 15% [1], and Apple was able to fit in a…

How much of that added density is used for what kind of performance and how much is used to prioritize efficiency is up to the chip designers -- for the M1 you get a couple cores that focus on performance and a couple cores that focus on efficiency, plus a lot of area for the GPU and a not insignificant area for the mysterious (to me at least) 16-core neural engine (aside: I wonder if e.g. the graphics pipeline is able to make use of that, as it seems like it should be able to perform matrix multiplications, and it'd be a bit of a waste if that just sat there most of the time).

So you'll probably see some variation but each time a process is scaled down to 0.7x of the previous size, you'll get smaller transistors that use less power individually and you could expect a "40% performance boost for the same amount of power and a 50% reduction in area" (according to https://semiengineering.com/5nm-vs-3nm/)

90 nm (2003) * 0.7 = 63 nm

65 nm (2005) * 0.7 = 45.5 nm

45 nm (2007) * 0.7 = 31.5 nm

32 nm (2009) * 0.7 = 22.4 nm

22 nm (2012) * 0.7 = 15.4 nm

14 nm (2014) * 0.7 = 9.8 nm

10 nm (2016) * 0.7 = 7 nm

7 nm (2018) * 0.7 = 4.9 nm

5 nm (2020) * 0.7 = 3.5 nm

To me, it's a bit of a miracle that Intel is still able to sort of compete on mostly 14 nm nodes, but maybe that's because "node size" basically just means "smallest feature size", and their 14 nm or new 10 nm process is a little better than e.g. competing 14/10 nm processes, or maybe their chip designs just prioritize different things that have a decent real world effect (e.g. Intel CPUs have AVX-512, but AMD CPUs don't).

Re: Ryzen 5800X vs. M1: Programming benchmarks

#169
post #159

Earlier quoted context omitted.

> In the real world, there aren't many people making purchasing decision between an M1 Apple laptop or Mac Mini and an AMD 5800X desktop machine anyway I have a 15 inch 2018 i9 MBP that's objectively a terrible device (throttling/keyboard). With corona and WFH I'm weighing my options - right now everything is out of stock but early next year I'd be interested in building a desktop. My problem is the M1 is so good tha…

Has there been any leak that a 16 inch MBP with Apple Silicon is coming anytime soon? Haven't heard any substantial info on roadmap.

Does Apple ever announce anything before the day it happens? This is the company that drops iOS, macOS, and M1 on developers the day they do the public.

I'm not sure where people are pulling all these Apple silicon timelines from, but I can guess :)

Re: Ryzen 5800X vs. M1: Programming benchmarks

#170
post #121

The most impressive part to me is how the m1 compares to the 3900X. I’ve got a mere 3600X and every laptop I owned or worked on over the past year is noticeably and painfully slower than the 3600X. It’s been a relief to get home and turn on my desktop. It doesn’t matter if the laptops I’m using are very recent i7’s and i9’s, the desktop is always very noticeably faster. I got my m1 MacBook Pro 16GB yesterday and was…

No doubt that the 3600x is impressive- but Desktop class CPUs will outperform laptop ones almost always (due to the significantly higher power draw and thermal envelope).

My 7 year old desktop goes toe-to-toe with my top of the line MacBook Pro from 2020 and in almost all benchmarks crushes it.

https://cpu.userbenchmark.com/Compare/Intel-Core-i7-4930K-vs...

Post reply on HN