News for hackers. Stuff that matters.
Re:AMD Launches Ryzen 7000 Series Desktop Processors with Ze... by tiffanyh on Tuesday August 30, 2022 @10:39AM (#32651045)
> AMD Ryzen 7950X processor enables single-core performance improvement of up to +29%

It appears that the new micro architecture is not providing any performance increase itself since 4.5Ghz is 32% faster than the previous 3.4Ghz clock ... and AMD is measuring a 29% IPC increase.

All of the performance gains must be purely from going to 5nm (vs 7nm).

For reference, the previous chip (5950X) had a base clock of 3.4Ghz [0] and this new 7950X has a base clock of 4.5Ghz.

[0] https://www.amd.com/en/products/cpu/amd-ryzen-9-5950x

EDIT: I'm confused, why the downvotes? Why not just message below if you don't agree with something and we can have a discussion about it.

Re:AMD Launches Ryzen 7000 Series Desktop Processors with Ze... by neogodless on Tuesday August 30, 2022 @10:55AM (#32651234)
This is not accurate. Per their presentation, the geomean of the measured IPC improvement is 13% at a fixed 4.0Ghz comparing Zen 4 to Zen 3. That combined with increased maximum clockspeeds accounts for the up to 29% single-core performance improvement.

(Base clock speeds are not relevant or used in their performance comparisons.)

Re:AMD Launches Ryzen 7000 Series Desktop Processors with Ze... by tiffanyh on Tuesday August 30, 2022 @10:58AM (#32651269)
Where do you see in the article information about 13% IPC improvement at fixed 4.0Ghz?

(Was the article link changed after posting. Others in this thread are referencing other things I also don't see in the article)

Re:AMD Launches Ryzen 7000 Series Desktop Processors with Ze... by neogodless on Tuesday August 30, 2022 @11:08AM (#32651373)
There was a thread last night based on the Anandtech coverage of their launch presentation, which includes the slides they used in the presentation.

Here's a direct link to the relevant slide: https://images.anandtech.com/doci/17552/Ryzen%207000%20Tech%...

Re:AMD Launches Ryzen 7000 Series Desktop Processors with Ze... by slavik81 on Tuesday August 30, 2022 @01:54PM (#32653134)
The launch presentation itself is also on YouTube. You can hear it straight from Mark Papermaster, if you like. https://youtu.be/WcH_7xsYtUk?t=11m5s
Re:AMD Launches Ryzen 7000 Series Desktop Processors with Ze... by ben-schaaf on Tuesday August 30, 2022 @10:54AM (#32651227)
Base clocks have been basically meaningless for quite a while. My 3700x happily sits at 4GHz on all cores; others see their 5950x at 4.1GHz. It's basically just a number AMD came up with that they want to guarantee under all workloads, not a number that indicates any kind of performance characteristics.
Re:AMD Launches Ryzen 7000 Series Desktop Processors with Ze... by kolbe on Tuesday August 30, 2022 @12:01PM (#32651936)
Why is it meaningless? It tells you how long a clock cycle takes, and you can look up instructions per cycle for relevant calls. I admit the picture for what makes a fast CPU is highly application dependent and has a lot of variables to consider, but I don't think it's meaningless.
Re:AMD Launches Ryzen 7000 Series Desktop Processors with Ze... by ben-schaaf on Tuesday August 30, 2022 @12:50PM (#32652491)
As I stated, CPUs don't actually run at the base clock rate. They idle well below and under load they boost above it. How much they boost is of course architecture, load and temperature dependent, but it's generally a fair bit higher than the base clock.
Re:AMD Launches Ryzen 7000 Series Desktop Processors with Ze... by mibsl on Tuesday August 30, 2022 @12:12PM (#32652071)
Meaningless because (adequately cooled) modern desktop CPUs mostly run near their boost clock in single threaded loads and somewhere between base and boost in multithreaded.
Re:AMD Launches Ryzen 7000 Series Desktop Processors with Ze... by Tuna-Fish on Tuesday August 30, 2022 @04:59PM (#32654975)
> It tells you how long a clock cycle takes

It does not tell you how long a clock cycle takes. It tells you how long a clock cycle takes when the CPU is massively loaded on all threads, in adverse thermal conditions. If you have better than average cooling, you will never see the base clock under load. If you are running just a single thread, you will always boost to Fmax.

Re:AMD Launches Ryzen 7000 Series Desktop Processors with Ze... by KuiN on Tuesday August 30, 2022 @10:43AM (#32651085)
Yeah there are no major microarchitectural changes that we're aware of for these chips. Bigger L2$, support for AVX-512 (kinda ... double pumping 256bit units), possibly wider front-end but not a huge amount more; it's primarily the new process making the difference.
Re:AMD Launches Ryzen 7000 Series Desktop Processors with Ze... by adrian_b on Tuesday August 30, 2022 @11:15AM (#32651455)
The support for AVX-512 is not "kinda". AVX-512 at the Ice Lake level is supported. The most widespread Intel CPU with AVX-512 support is Tiger Lake and its support is no better than that of Zen 4, it also provides one 512-bit pipeline for FMA or multiplication and two 512-bit pipelines for simple operations, the same as Zen 4.

What happens is that Zen 4 has the same execution units as Zen 3, so any program which can keep all the execution units busy is accelerated on Zen 4 only by the greater clock frequency.

However Zen 4 has a new frontend for instruction fetching and decoding and for branch prediction. Many programs will be executed more efficiently than on Zen 3, with a better utilization of the execution units, leading to the claimed IPC improvement of 13% on average.

Additionally, rewriting a program to use AVX-512 can also improve the utilization of the execution units, leading to a speed-up greater than the clock frequency ratio.

Support for a certain ISA does not imply anything about the speed of the CPU, even if sometimes the CPU vendors change in the same generation both the ISA and the microarchitecture, resulting in greater throughput.

In this case AMD has postponed the improvement of the execution units for Zen 5. Even if the support for AVX-512 does not improve the maximum possible throughput, it improves the average throughput over many programs. The same is true for most of the Intel CPUs that support AVX-512, except for the top models of server or workstation CPUs, because they have one of the 512-bit FMA units disabled, which results in the same maximum throughput as on Zen 4 or on the older CPUs, since Haswell.

Re:AMD Launches Ryzen 7000 Series Desktop Processors with Ze... by zekica on Tuesday August 30, 2022 @11:21AM (#32651511)
You are correct in saying that ISA doesn't matter. The only difference is that it is easier to do 8 instruction parallel pre-fetcher on ARM or another fixed length instruction architecture than on x86_64, and decoding more instructions can be better for re-ordering and register renaming.
Re:AMD Launches Ryzen 7000 Series Desktop Processors with Ze... by malkia on Tuesday August 30, 2022 @11:41AM (#32651702)
Didn't AVX-512 turned out to be a flop? e.g. https://en.wikipedia.org/wiki/AVX-512#Performance -

"On some processors AVX-512 instructions cause a frequency throttling even greater than its predecessors, causing a penalty for mixed workloads. The additional downclocking is triggered by the 512-bit width of vectors and depend on the nature of instructions being executed, and using the 128 or 256-bit part of AVX-512 (AVX-512VL) does not trigger it. As a result, gcc and clang default to prefer using the 256-bit vectors. ()"

() - https://stackoverflow.com/questions/56852812/simd-instructio...

Re:AMD Launches Ryzen 7000 Series Desktop Processors with Ze... by adrian_b on Tuesday August 30, 2022 @12:33PM (#32652287)
The AVX-512 instruction set has never been a flop. It is much a much better instruction set than AVX.

Most AVX-512 instructions have 3 variants, with 512-bit registers, with 256-bit registers or with 128-bit registers.

When using the 256-bit or the 128-bit AVX-512 instructions, there has never been any disadvantage versus using AVX.

The only problems have been when using the 512-bit AVX-512 instructions, especially on the CPUs derived from Skylake Server, due to the way how Intel has implemented the clock frequency control.

Using the 512-bit AVX-512 instructions requires more power than when using the 256-bit AVX-512 instructions, the same as when using e.g. 4 cores instead of 2 cores. In both cases, when doubling the operation width or when doubling the number of active cores, the clock frequency is reduced.

When a program has a large proportion of 512-bit instructions, then the throughput is higher despite the lower clock frequency.

On the other hand, when a program has only a few 512-bit instructions, the execution will be slowed down for almost a second after 512-bit instructions are no longer used, until the CPU decides to power down the upper half of the 512-bit units.

All this problem is caused because the Intel CPU tries to be too smart and decides automatically when to power down the unused units.

In the similar case when using more cores, there is no problem because when the core is no longer used, the program has a halt or a MWAIT instruction which powers down immediately the core, restoring the higher clock frequency.

If Intel had provided an instruction like "end of 512-bit instructions" to power down the upper halves of the execution units immediately, there would have been no problems with the slow down caused by sporadically using a few 512-bit instructions, exactly like there is no problem when launching some extra execution threads, because the clock frequency is restored when the extra threads finish or are suspended.

Because Zen 4 has the same execution units as Zen 3, using AVX-512 on Zen 4 will not cause any kind of slow down that would not have also happened when using AVX on Zen 3.

Re:AMD Launches Ryzen 7000 Series Desktop Processors with Ze... by malkia on Tuesday August 30, 2022 @08:06PM (#32656758)
Thank you Adrian (B) for explaining this thoroughly! I'll use your comment as future reference for me!
Re:AMD Launches Ryzen 7000 Series Desktop Processors with Ze... by wtallis on Tuesday August 30, 2022 @11:51AM (#32651821)
AVX-512 was a bit of a flop initially, because of how Intel implemented it. AMD's solution doesn't provide quite as much peak throughput for highly-optimized code, but is a better way of providing the flexibility benefits of AVX-512 to the masses without the severe downclocking. There may still be plenty of situations where it would make sense to use 256-bit vectors with AVX-512 instructions, but on Zen 4 there won't be a strong reason to avoid 512-bit vectors where they are useful.
Re:AMD Launches Ryzen 7000 Series Desktop Processors with Ze... by monocasa on Tuesday August 30, 2022 @12:05PM (#32651995)
It was a flop because it was intended for a process node that Intel was delayed on for years. It had massive problems to the point of not really making sense when backported to older nodes.
Re:AMD Launches Ryzen 7000 Series Desktop Processors with Ze... by wtallis on Tuesday August 30, 2022 @12:52PM (#32652508)
I don't think it's accurate to say AVX-512 was backported. The original Skylake consumer CPUs released as the second generation of products on Intel's 14nm already had space reserved in the CPU core floorplan for the AVX-512 register file. That space didn't get used until the Skylake server CPUs shipped, still on 14nm several years later. AVX-512 support didn't arrive in the consumer desktop product line until Rocket Lake, which was backported to 14nm but was not remotely the beginning of the AVX-512 story.
Re:AMD Launches Ryzen 7000 Series Desktop Processors with Ze... by fulafel on Tuesday August 30, 2022 @10:53AM (#32651207)
The uarch affects reachable clock speeds, a lot.
Re:AMD Launches Ryzen 7000 Series Desktop Processors with Ze... by Symmetry on Tuesday August 30, 2022 @12:10PM (#32652045)
Yes. You'll essentially never see a 10% clockspeed boost result in 10% faster completion of a benchmark more sophisticated than dhrystone, because you're still limited by the speed of your memory.
Re:AMD Launches Ryzen 7000 Series Desktop Processors with Ze... by ajross on Tuesday August 30, 2022 @12:38PM (#32652340)
It really depends on the benchmark. Lots of real-world tasks remain highly cache-bound. One important one for me personally is building software. I run big system builds for Zephyr test suites and Chromeos regularly on 64 core devices, and have access to systems with both 4-channel and 8-channel DRAM setups. The doubled memory bandwidth makes for only about 5% higher build throughput.

Honestly I think a lot of modern benchmarkery has ended up too far down the "cover all the use cases" rabbit holes, and there's not enough coverage of the kind of boring scalar workloads that most of these systems are being purchased to run.

Re:AMD Launches Ryzen 7000 Series Desktop Processors with Ze... by cillian64 on Tuesday August 30, 2022 @11:12AM (#32651423)
IPC means “instructions per cycle”, not “instructions per core”. So the numbers you quote would mean a 0% IPC increase (or slight decrease)
Re:AMD Launches Ryzen 7000 Series Desktop Processors with Ze... by neogodless on Tuesday August 30, 2022 @12:06PM (#32652000)
The numbers quoted have an implicit assumption that performance claims are based on "base clocks", which is incorrect.
Re:AMD Launches Ryzen 7000 Series Desktop Processors with Ze... by asdgasfgnuio on Tuesday August 30, 2022 @12:03PM (#32651959)
Base clocks are largely irrelevant. These things will run way above or way above that clock speed when appropriate.

Furthermore, architecture determines what frequency can be achieved. Designers can choose to sacrifice IPC to increase frequency, or vice-versa. We could build a machine with ridiculously high IPC if you don't mind it running at 1 MHz.

Re:AMD Launches Ryzen 7000 Series Desktop Processors with Ze... by ignaloidas on Tuesday August 30, 2022 @10:46AM (#32651122)
You need to improve your micro-architecture to hit those speeds as well. You can't get there without deep pipelines.
Re:AMD Launches Ryzen 7000 Series Desktop Processors with Ze... by nazgulnarsil on Tuesday August 30, 2022 @11:34AM (#32651642)
... you seem pretty confused by words. Micro architecture is where you get IPC improvements, along with some fraction of the speed and energy efficiency improvements (it's not 100% the node, or rather, designing for a node is in feedback with microarch).
Re:AMD Launches Ryzen 7000 Series Desktop Processors with Ze... by mccorrinall on Tuesday August 30, 2022 @11:14AM (#32651445)
You compare instructions per clock with the clockspeed.
Re:AMD Launches Ryzen 7000 Series Desktop Processors with Ze... by willis936 on Tuesday August 30, 2022 @11:36AM (#32651655)
A practical reason for downvotes: having misinformation being the top comment isn't conducive for anything good.