Live data from Hacker News

Ryzen 5800X vs. M1: Programming benchmarks

github.com

241–250 of 318 posts

Re: Ryzen 5800X vs. M1: Programming benchmarks

#241
post #122

I'm glad someone finally started comparing state of the art vs state of art. Most comparisons have been M1 vs the frankly dated Intel offerings with the previous Mac product line. So things to remember would be that power/performance is not linear and so 5800 like CPU could be scaled back in power consumption without sacrificing the same proportion of it's performance. Also, 5800X is on TSMC 7nm process where as M1 i…

[deleted]

Re: Ryzen 5800X vs. M1: Programming benchmarks

#242

Earlier quoted context omitted.

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

Look, it doesn't have to work for everyone. Of course there are workloads where it's not going to be enough. That's fine. My personal workload requires 128GB of ram but I don't go around telling people 8GB laptops are pointless.

I don't think that's the point they were trying to make. I think they were saying that just because the OS has RAM compression doesn't mean it's like doubling the RAM on other operating systems, and that's even before you consider that those other operating systems have RAM compression too. Saying something is like having 16 GB of RAM when you can't actually use it as 16 GB of RAM deserves to be called out.

Re: Ryzen 5800X vs. M1: Programming benchmarks

#243

Last year i replaced my aging mac pro with a 3900x amd Hackintosh. The cpu upgrade was hard to believe. Everything felt fast in a way even my 2019 air failed to achieve. The idea that the laptop-grade M1 is keeping pace in these tests with the processor in my desktop is mind blowing. Sure the 5800x was tuned for these tests. Sure the M1 is on 5nm. All of this is missing the point: Intel created a huge market opportun…

The 3900X really is an incredible processor. I switched from mostly crappy Dell work laptops to a proper desktop with a 3900X late last year and the compile and general responsiveness times are night and day (not unexpectedly)

I'm hoping to upgrade next year from an i7 5820k to a good AMD processor. (Assuming availability improves)

I'm excited to try out the similar VM workloads (and gaming) that I currently run.

Re: Ryzen 5800X vs. M1: Programming benchmarks

#245

Earlier quoted context omitted.

Doesn't include monitor, keyboard, mouse, speakers, webcam, microphone, battery backup, and fingerprint scanner which would be necessary to make it "comparable" to a base model Macbook Air. It also isn't a portable, fanless laptop which has its perks.

>Doesn't include monitor, keyboard, mouse, speakers, webcam, microphone, battery backup, and fingerprint scanner which would be necessary to make it "comparable" to a base model Macbook Air. Let us not pretend that you don't need to also buy a keyboard, monitor, speakers, and mouse for the Macbook Air to be in anyway usable.

> Let us not pretend that you don't need to also buy a keyboard, monitor, speakers, and mouse for the Macbook Air to be in anyway usable.

Having worked on Mac laptops for the last 8 years without external keyboard, monitor, speakers or mouse, I beg to differ.

Re: Ryzen 5800X vs. M1: Programming benchmarks

#246

Earlier quoted context omitted.

Doesn't include monitor, keyboard, mouse, speakers, webcam, microphone, battery backup, and fingerprint scanner which would be necessary to make it "comparable" to a base model Macbook Air. It also isn't a portable, fanless laptop which has its perks.

And you have to assemble the pc and install an operating system on it. It's really not comparable.

You also have to unbox each component vs' just the macbook air, am I right?

Sarcasm aside, I don't think assembling a PC has any factor in performance/price here...

Re: Ryzen 5800X vs. M1: Programming benchmarks

#247

I’m just sitting here wondering why a mobile chip from a 1100$ fan-less notebook is even a challenging contender in this race

lol judging from this post, my MBP m1 is pretty much better than my desktop 3900x...

Not disappointed! The only time the fan even spun up was when I built nodejs from source (which took 10mins). And even then it ran at like ~10% fan speed or something.

Re: Ryzen 5800X vs. M1: Programming benchmarks

#248

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.

M1 with all its CPUs pegged to 100% only hits 20W, so M1 still uses way less power than single core in Zen. Edit: In fact I just ran Cinebench R23 single thread test and package power barely crossed 5W.

> M1 with all its CPUs pegged to 100% only hits 20W, so M1 still uses way less power than single core in Zen.

So do Ryzen CPUs. The 16 core Ryzen only needs 5W per core. It's purely a matter of frequency management.

These comparisons are meaningless because you can say stupid things like "Ryzens are more power efficient than Ryzens" and still be right.

Re: Ryzen 5800X vs. M1: Programming benchmarks

#249
post #232

I have a little doubt about the results of the Java benchmarks. I think the JVM tests should have been executed with the same amount of heap allocated for each platform in order to get the internal dynamics/heuristics of the JVM to be comparable. IMHO all JVM tests should have been executed with -Xmx 7G (8 Gigs maximum as per the M1 MacBook Air minus a little something for the OS and the system buffers) Still, I'm im…

Why? You cannot buy 8gb of dual channel high performance ddr4 - it's a capacity with such a small market and low expected price that manufacturers won't bother. It's only Apple that insists on $200 extra for 16gb.

I'm sorry, if I wasn't making this clear enough. I'm not proposing to remove DIMMs. I'm merely suggesting to run the Java VM with the same amount of memory/heap for all the platforms. That is purely a software setting. The command-line switch to configure the heap size of a JVM is -Xmx

The reason why I'm suggesting to have the same heap size for the benchmarks is that the maximum heap size is the single most important (tuning) setting for the JVM. Based on this setting the VM sizes its internal data structures and adepts its behavior.

Also, garbage collection times are typically* dependent on the size of the heap. With most* garbage collectors collecting a 32gb heap takes longer than collecting a 8gb heap. If the workload of the benchmark allows for the heap to be used entirely, then garbage collection overhead is directly related to the heap size.

* unless a "big heap" garbage collector like ZGC or Shenandoah is used

Re: Ryzen 5800X vs. M1: Programming benchmarks

#250

This is how-to-make-a-click-bait article-101. Show me an x86 laptop in the same power envelope that can match the fanless MacBook Air with the m1. I’ll wait. Oh and do so at roughly 1k. On the desktop the Mac mini is 699 USD in its base spec. The 5800X is 500 euros on its own before motherboard, case, ram etc etc. Apples to apples benchmarks either controlling for power or price would make for a more relevant article…

Here's a datapoint. I just got an HP Omen gaming laptop for $1100 on Amazon. Pretty much equivalent to the 3800x mentioned in the article, but came with 16GB of RAM and 1TB SSD, and 6GB Nvidia 1660ti discrete graphics. I can seemingly run unlimited browser tabs, video conference and play a game across 3 monitors (built in one is 144hz) simultaneously with no latency whatsoever. I upgraded to 32GB of ram for $144 and…

sounds good but I'm waiting for a proper Ryzen Linux laptop that is actually meant to be carried around... otherwise a desktop makes more sense to me
Post reply on HN