Close Menu

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    Microsoft’s next Xbox console is Project Helix, and it will run PC games too

    Winter Paralympics 2026 Live Streams: Free Channels, Schedule & Preview for Milano Cortina

    Mattress Firm Coupons and Discounts: Save Up to $600

    Facebook X (Twitter) Instagram
    • Artificial Intelligence
    • Business Technology
    • Cryptocurrency
    • Gadgets
    • Gaming
    • Health
    • Software and Apps
    • Technology
    Facebook X (Twitter) Instagram Pinterest Vimeo
    Tech AI Verse
    • Home
    • Artificial Intelligence

      What the polls say about how Americans are using AI

      February 27, 2026

      Tensions between the Pentagon and AI giant Anthropic reach a boiling point

      February 21, 2026

      Read the extended transcript: President Donald Trump interviewed by ‘NBC Nightly News’ anchor Tom Llamas

      February 6, 2026

      Stocks and bitcoin sink as investors dump software company shares

      February 4, 2026

      AI, crypto and Trump super PACs stash millions to spend on the midterms

      February 2, 2026
    • Business

      Google releases Gemini 3.1 Flash Lite at 1/8th the cost of Pro

      March 4, 2026

      Huawei Watch GT Series

      March 4, 2026

      Weighing up the enterprise risks of neocloud providers

      March 3, 2026

      A stolen Gemini API key turned a $180 bill into $82,000 in two days

      March 3, 2026

      These ultra-budget laptops “include” 1.2TB storage, but most of it is OneDrive trial space

      March 1, 2026
    • Crypto

      Banks Respond to Kraken’s Federal Reserve Access as Trump Sides with Crypto

      March 4, 2026

      Hyperliquid and DEXs Break the Top 10 — Is the CEX Era Ending?

      March 4, 2026

      Consensus Hong Kong 2026: The Institutional Turn 

      March 4, 2026

      New Crypto Mutuum Finance (MUTM) Reports V1 Protocol Progress as Roadmap Enters Phase 3

      March 4, 2026

      Bitcoin Short Sellers Caught Off Guard in New White House Move

      March 4, 2026
    • Technology

      Microsoft’s next Xbox console is Project Helix, and it will run PC games too

      March 6, 2026

      Winter Paralympics 2026 Live Streams: Free Channels, Schedule & Preview for Milano Cortina

      March 6, 2026

      Mattress Firm Coupons and Discounts: Save Up to $600

      March 6, 2026

      The best iPhone 17e pre-orders and plans in Australia for March 2026

      March 6, 2026

      Norton Coupon Codes and Discounts: Up to 58% Off

      March 6, 2026
    • Others
      • Gadgets
      • Gaming
      • Health
      • Software and Apps
    Check BMI
    Tech AI Verse
    You are at:Home»Technology»%CPU utilization is a lie
    Technology

    %CPU utilization is a lie

    TechAiVerseBy TechAiVerseSeptember 3, 2025No Comments4 Mins Read4 Views
    Facebook Twitter Pinterest Telegram LinkedIn Tumblr Email Reddit
    %CPU utilization is a lie
    Share
    Facebook Twitter LinkedIn Pinterest WhatsApp Email

    %CPU utilization is a lie

    By Brendan Long on September 02, 2025

    I deal with a lot of servers at work, and one thing everyone wants to know about their servers is how close they are to being at max utilization. It should be easy, right? Just pull up top or another system monitor tool, look at network, memory and CPU utilization, and whichever one is the highest tells you how close you are to the limits.

    For example, this machine is at 50% CPU utilization, so it can probably do twice as much of whatever it’s doing.

    And yet, whenever people actually try to project these numbers, they find that CPU utilization doesn’t quite increase linearly. But how bad could it possibly be?

    To answer this question, I ran a bunch of stress tests and monitored both how much work they did and what the system-reported CPU utilization was, then graphed the results.

    Setup

    For my test machine, I used a desktop computer running Ubuntu with a Ryzen 9 5900X (12 core / 24 thread) processor. I also enabled Precision Boost Overdrive (i.e. Turbo).

    I vibe-coded a script that runs stress-ng in a loop, first using 24 workers and attempting to run them each at different utilizations from 1% to 100%, then using 1 to 24 workers all at 100% utilization. It used different stress testing method and measured the number of operations that could be completed (“Bogo ops1“).

    The reason I did two different methods was that operating systems are smart about how they schedule work, and scheduling a small number of workers at 100% utilization can be done optimally (spoilers) but with 24 workers all at 50% utilization it’s hard for the OS to do anything other than spreading the work evenly.

    Results

    You can see the raw CSV results here.

    General CPU

    The most basic test just runs all of stress-ng’s CPU stress tests in a loop.

    You can see that when the system is reporting 50% CPU utilization, it’s actually doing 60-65% of the actual maximum work it can do.

    64-bit Integer Math

    But maybe that one was just a fluke. What if we just run some random math on 64-bit integers?

    This one is even worse! At “50% utilization”, we’re actually doing 65-85% of the max work we can get done. It can’t possibly get worse than that though, right?

    Matrix Math

    Something is definitely off. Doing matrix math, “50% utilization” is actually 80% to 100% of the max work that can be done.

    In case you were wondering about the system monitor screenshot from the start of the article, that was a matrix math test running with 12 workers, and you can see that it really did report 50% utilization even though additional workers do absolutely nothing (except make the utilization number go up).

    What’s Going On?

    Hyperthreading

    You might notice that this the graph keeps changing at 50%, and I’ve helpfully added piecewise linear regressions showing the fit.

    The main reason this is happening is hyperthreading: Half of the “cores” on this machine (and most machines) are sharing resources with other cores. If I run 12 workers on this machine, they each get scheduled on their own physical core with no shared resources, but once I go over that, each additional worker is sharing resources with another. In some cases (general CPU benchmarks), this makes things slightly worse, and in some cases (SIMD-heavy matrix math), there are no useful resources left to share.

    Turbo

    It’s harder to see, but Turbo is also having an effect. This particular processor runs at 4.9 GHz at low utilization, but slowly drops to 4.3 GHz as more cores become active2.

    Note the zoomed-in y-axis. The clock speed “only” drops by 15% on this processor.

    Since CPU utilization is calculated as busy cycles / total cycles, this means the denominator is getting smaller as the numerator gets larger, so we get yet another reason why actual CPU utilization increases faster than linearly.

    Does This Matter?

    If you look at CPU utilization and assume it will increase linearly, you’re going to have a rough time. If you’re using the CPU efficiently (running above “50%” utilization), the reported utilization is an underestimate, sometimes significantly so.

    And keep in mind that I’ve only shown results for one processor, but hyperthreading performance and Turbo behavior can vary wildly between different processors, especially from different companies (AMD vs Intel).

    The best way I know to work around this is to run benchmarks and monitor actual work done:

    1. Benchmark how much work your server can do before having errors or unacceptable latency.
    2. Report how much work your server is currently doing.
    3. Compare those two metrics instead of CPU utilization.
    Share. Facebook Twitter Pinterest LinkedIn Reddit WhatsApp Telegram Email
    Previous ArticleIndices, not Pointers
    Next Article Show HN: LightCycle, a FOSS game in Rust based on Tron
    TechAiVerse
    • Website

    Jonathan is a tech enthusiast and the mind behind Tech AI Verse. With a passion for artificial intelligence, consumer tech, and emerging innovations, he deliver clear, insightful content to keep readers informed. From cutting-edge gadgets to AI advancements and cryptocurrency trends, Jonathan breaks down complex topics to make technology accessible to all.

    Related Posts

    Microsoft’s next Xbox console is Project Helix, and it will run PC games too

    March 6, 2026

    Winter Paralympics 2026 Live Streams: Free Channels, Schedule & Preview for Milano Cortina

    March 6, 2026

    Mattress Firm Coupons and Discounts: Save Up to $600

    March 6, 2026
    Leave A Reply Cancel Reply

    Top Posts

    Ping, You’ve Got Whale: AI detection system alerts ships of whales in their path

    April 22, 2025705 Views

    Lumo vs. Duck AI: Which AI is Better for Your Privacy?

    July 31, 2025290 Views

    6.7 Cummins Lifter Failure: What Years Are Affected (And Possible Fixes)

    April 14, 2025164 Views

    6 Best MagSafe Phone Grips (2025), Tested and Reviewed

    April 6, 2025125 Views
    Don't Miss
    Technology March 6, 2026

    Microsoft’s next Xbox console is Project Helix, and it will run PC games too

    Microsoft’s next Xbox console is Project Helix, and it will run PC games too Project…

    Winter Paralympics 2026 Live Streams: Free Channels, Schedule & Preview for Milano Cortina

    Mattress Firm Coupons and Discounts: Save Up to $600

    The best iPhone 17e pre-orders and plans in Australia for March 2026

    Stay In Touch
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    • YouTube
    • Vimeo

    Subscribe to Updates

    Get the latest creative news from SmartMag about art & design.

    About Us
    About Us

    Welcome to Tech AI Verse, your go-to destination for everything technology! We bring you the latest news, trends, and insights from the ever-evolving world of tech. Our coverage spans across global technology industry updates, artificial intelligence advancements, machine learning ethics, and automation innovations. Stay connected with us as we explore the limitless possibilities of technology!

    Facebook X (Twitter) Pinterest YouTube WhatsApp
    Our Picks

    Microsoft’s next Xbox console is Project Helix, and it will run PC games too

    March 6, 20262 Views

    Winter Paralympics 2026 Live Streams: Free Channels, Schedule & Preview for Milano Cortina

    March 6, 20262 Views

    Mattress Firm Coupons and Discounts: Save Up to $600

    March 6, 20262 Views
    Most Popular

    7 Best Kids Bikes (2025): Mountain, Balance, Pedal, Coaster

    March 13, 20250 Views

    VTOMAN FlashSpeed 1500: Plenty Of Power For All Your Gear

    March 13, 20250 Views

    Best TV Antenna of 2025

    March 13, 20250 Views
    © 2026 TechAiVerse. Designed by Divya Tech.
    • Home
    • About Us
    • Contact Us
    • Privacy Policy
    • Terms & Conditions

    Type above and press Enter to search. Press Esc to cancel.