cadalyst
Cadalyst

CAD Tech News (#146)

15 Apr, 2021 By: Cadalyst Staff


Herrera on Hardware:

CPU Boost & Base Clocks

Why They Vary and How They Impact CAD Computing Performance

 

By Alex Herrera

In this column, we often explore the trade-offs of performance in this era of multi-core CPUs. A question particularly relevant in the CAD world is how to best balance achievable performance for multi-threaded workloads that benefit from climbing core counts with the ability to still maximize throughput for single-thread execution, still so common in CAD workflows. The unfortunate reality underlying the tradeoff is that the top-line CPU specifications that primarily impact performance for the two disparate computing types — CPU frequency and core count — compete with one another, forming an inverse relationship, where one increases as the other declines.

A close examination of that competing interplay between core count, base frequency, and boost frequency is an insightful exercise. Plus, it’s especially important to CAD workflows which are among the most computationally intensive, combining intense demand and a diverse workload.

This month, I’ll recap the impact of the inverse relationship between a CPU’s base frequency and core count, and focus more on the behavior of core count and boost frequency. Boost frequency may be more revealing when it comes to choosing the best combination of CPU metrics for your next CAD machine.

Image source: Quardia, Inc./stock.adobe.com

Push & Pull: Base Frequency and Core Count

First, let’s take a look at the straightforward, yet inverse relationship between core count and base frequency. It’s understandable given the power and thermal (heat) implications of high-performance computing, where component and system designers want to push the performance throttle as close to the edge as possible, without causing system failure. Faster CPU clocks yield higher performance (as long as the rest of the system can keep up). If everything works to an equal power, such as voltage, chip process, and system cooling, faster clocks chew up more power and create more heat. The limits of power delivery and thermal dissipation represent that edge, and exceeding either can crash or even permanently damage the system.

Intel and AMD do all they can to walk that line, optimizing performance without incurring significant failure risk. One way they do so is to judiciously set clock rate limits to achieve best possible performance without short-changing reliability. (It’s worth noting that with chips such as Xeon that are highly reliable workstations and servers, Intel may intentionally dial down spec’d clock rates a bit from their die-equivalent Core-brand siblings to reduce that risk.)

The tricky part is that line typically shifts with core count, as larger, higher core count CPUs face more challenging electrical and thermal constraints than smaller, lower core count CPUs. As a result, the specified base frequencies of CPU SKUs in the same family tend to decline as you increase the core count.

AMD’s Vermeer family, currently bearing the Ryzen 5000 series brand, exemplifies that tradeoff. As the core count rises, the specified base frequency drops. Each SKU’s base frequency indicates the guaranteed minimum frequency the CPU will be able to sustain for all cores running at maximum throughput. Depending on several factors — how many threads are running on how many cores keeping how many core resources busy for how long — your CPU may be able to maintain a higher clip, even for longer periods.

Boost and base CPU clock frequencies for performance-oriented members (Ryzen 7 and Ryzen 9) of AMD’s Ryzen 5000 family (source: data from AMD).

 

Pull & Push: Base Clock vs Boost Clock

There’s another inverse relationship in play with respect to CPU frequencies over that same core-count axis that can significantly impact single-thread performance — the correlation between a part’s core count and its boost frequency. You may be familiar with Intel’s Turbo Boost and AMD’s Precision Boost and Turbo Core technologies. While differences exist, the approaches share the same basic concept and goal: to drive the clock frequency for one or more cores beyond the base frequency for as long as allowed by the system environment — namely supplying power and the bigger, associated problem of dissipating the resulting heat. In the context of this column, I will use the generic term boost clock or frequency.

The relationship between base and boost clocks may seem counter-intuitive. At first glance, you might expect that where base clocks rise, boost clocks will follow. Instead, usually where base clocks typically fall at increased core counts, boost clocks often rise. AMD’s Ryzen 5000 is a good example because it spans a sizable range from 8 to 16 cores. While the highest core count SKUs spec the lowest base frequencies, they also spec the highest boost frequencies. For example, the max-core Ryzen 9 5950X integrates 16 cores with the lowest base frequency in the family.

Why the different behavior in base and boost clocks? The reason interestingly stems from the same basic reasons outlined above with respect to core count vs base frequency. As core counts rise, the silicon area within a die and/or multiple dice in a package also rises, and thereby is more likely to limit the chip’s ability to sustain guaranteed base clock rates. But that increased area also means increased mass and surface area — be it represented as more dice, a bigger package, or more interconnection. Now think about that higher core count SKU running a short-duration boost. The bigger mass and surface area (all else being equal) is likely to better tolerate a short-term increase in the thermal output produced by the higher frequency. That doubles if only one or a few cores are currently executing. 

What about Intel's individual core families and how does all of this affect CAD computation?  Read more »

 

Alex Herrera is a consultant focusing on high-performance graphics and workstations.

 

WHAT'S NEW FROM OUR SPONSORS

 

US CAD Training

Complimentary Autodesk® Training, Tips & Tricks Webinars by U.S CAD

Join US CAD monthly for in-depth training sessions that will improve your existing workflows & increase your productivity! Our webinars are held the first Tuesday of every month. Registration is open for the whole year. Register now!

 

WHAT’S NEW FROM CADALYST

 

Autodesk Releases AutoCAD 2022

New version of renowned 2D/3D CAD program focuses on collaboration tools and automations. Read more»

CAD Manager Column: Keep Calm & Solve the Problem 
Being a CAD Manager is all about soft skills, such as communication, time management, organization, and situational awareness. Having situational awareness helps you find out the cause of a problem so you can better solve it and make sure it doesn’t happen again. Read more »

Editor's Window: Calling All Designers, Engineers 

US President Biden’s American Jobs Plan will potentially drive billions of dollars into rebuilding infrastructure, plus reinvigorate US manufacturing and more. Read more »

DraftSight Insight: Keep on Workin’ — Your Files are Safe

Your data is preserved when shared between AutoCAD and DraftSight and vice-versa. Find out more with Lynn Allen! 
Read more »

 

2021 Fabulous Freebies for CAD Users
NEW! Cadalyst's Fab Freebies for 
CAD Users 2021
Why buy it if you can get it for free!
The editors of Cadalyst, with help from our contributing editors and readers who are in the CAD trenches day in and day out, have updated everyone's favorite guide to helpful tools and resources that don't cost a cent. Download our guide and you’ll soon be asking yourself, “How did I live without this?”
 
The latest edition of the “Fabulous Freebies for CAD Users” guide has something for everyone, including unit converters, file and text utilities, PDF converters, BIM tools, CAD management tools, and more!  
Download now »