Impact of GPU Acceleration on Browser CPU Usage • Helge Klein (2024)

GPU acceleration is en vogue. After slowly but steadily moving out of the 3D niche it has arrived in the mainstream. Today, applications like Microsoft Office leverage the GPU, but even more so do web browsers. Chrome, Firefox, and Internet Explorer all have hardware acceleration turned on by default. People generally seem to be happy about that – GPUs are super-efficient, the more work they do the fewer remains for the CPU, overall energy consumption is reduced and battery life increases. Or so the myth goes. Interestingly, facts to prove that are hard to find. Nobody seems to have measured how GPU acceleration affects CPU usage. Let’s change that.

Test Scenario

In order to evaluate the effect of GPU hardware acceleration on CPU utilization I put together a simple little test suite:

All of these sites use modern web technologies, only Youtube uses Flash as a fallback.

While running these tests I deliberately ignored things like visual quality, framerates, etc. Suffice to say that there are great differences between the browsers tested.

Test Methodology

I ran all three major browsers in their newest incarnations through the scenario outlined above: Chrome 39.0.2171.95m, Firefox 34.0.5, and Internet Explorer 11.0.9600.17416. The tests were run on a Lenovo W540 with an Intel HD Graphics 4600 GPU. For data collection and visualization I used our Windows performance monitoring product uberAgent for Splunk.

Chrome: CPU Usage without Hardware Acceleration

Let’s take a look at the CPU utilization of Chrome without GPU acceleration first:

Impact of GPU Acceleration on Browser CPU Usage • Helge Klein (1)

The four test phases are clearly visible. The different colors indicate which Chrome sub-processes perform how much work. Please remember, this is CPU only.

Chrome: CPU Usage with Hardware Acceleration

Now let’s have the same chart for Chrome with GPU hardware acceleration turned on:

Impact of GPU Acceleration on Browser CPU Usage • Helge Klein (2)

Taking into account that the scaling is different we can see that the CPU utilization during the Canvas demo practically doubled. On top of the tab rendering process, we get the GPU process which apparently has a hard time feeding the GPU all those moving lines and shapes. Boxtrolls and Twitter are pretty much the same as without GPU acceleration. Only during Youtube video playback is the CPU usage significantly lower than without GPU.

Chrome: Total CPU Usage

uberAgent not only reports the CPU usage over time, it also tells us the total CPU seconds consumed by an application. This is where it gets interesting:

  • Chrome with GPU acceleration: 458.9 CPU seconds
  • Chrome without GPU acceleration: 388.6 CPU seconds

In this test scenario Chrome is more CPU efficient without GPU acceleration.

Chrome: GPU Usage

Until now we only looked at the CPU utilization. But what about the GPU?

With hardware acceleration enabled Chrome’s GPU compute usage looks like this (again, data collected by uberAgent):

Impact of GPU Acceleration on Browser CPU Usage • Helge Klein (3)

Obviously, Chrome uses the GPU not only for video decoding but also for 2D rendering.

With hardware acceleration disabled one might assume that GPU utilization is near zero. Not quite:

Impact of GPU Acceleration on Browser CPU Usage • Helge Klein (4)

Especially during video playback, but also with a regular website such as Boxtrolls the GPU is still used extensively. The average utilization reflects this:

See Also
WebGPU

  • Chrome with GPU acceleration: 6.7% GPU compute usage, 246.1 MB GPU memory usage
  • Chrome without GPU acceleration: 1.3% GPU compute usage, 145.1 MB GPU memory usage

Firefox: CPU & GPU Usage

With acceleration enabled GPU compute utilization looks like this:

Impact of GPU Acceleration on Browser CPU Usage • Helge Klein (5)

With acceleration disabled GPU compute utilization is as follows:

Impact of GPU Acceleration on Browser CPU Usage • Helge Klein (6)

Please note the difference in scale.

Firefox’s GPU acceleration implementation seems to be less efficient than Chrome’s. This is also reflected in average GPU utilization:

  • Firefox with GPU acceleration: 21.1% GPU compute usage, 166.6 MB GPU memory usage
  • Firefox without GPU acceleration: 2.0% GPU compute usage, 114.5 MB GPU memory usage

And CPU usage?

  • Firefox with GPU acceleration: 187.0 CPU seconds
  • Firefox without GPU acceleration: 271.4 CPU seconds

At least Firefox lives up to the promise of reduced CPU utilization when GPU hardware acceleration is turned on. Whether overall (CPU plus GPU) energy consumption is lower with acceleration enabled or disabled, however, is a completely different matter.

Internet Explorer: CPU & GPU Usage

With acceleration enabled GPU compute utilization looks like this:

Impact of GPU Acceleration on Browser CPU Usage • Helge Klein (7)

With acceleration disabled GPU compute utilization is as follows:

Impact of GPU Acceleration on Browser CPU Usage • Helge Klein (8)

Average GPU utilization:

  • IE with GPU acceleration: 4.4% GPU compute usage, 246.4 MB GPU memory usage
  • IE without GPU acceleration: 1.7% GPU compute usage, 169.6 MB GPU memory usage

And CPU usage?

  • IE with GPU acceleration: 264.8 CPU seconds
  • IE without GPU acceleration: 505.3 CPU seconds

Internet Explorer’s hardware acceleration implementation seems to be very efficient. It reduces the CPU load by approximately 50% while only marginally taxing the GPU.

Conclusion

Let’s put all the numbers together:

ScenarioTotal CPUAvg. GPU computeAvg. GPU memory
Chrome with acceleration458.9 s6.7%246.1 MB
Chrome without acceleration388.6 s1.3%145.1 MB
Firefox with acceleration187.0 s21.1%166.6 MB
Firefox without acceleration271.4 s2.0%114.5 MB
IE with acceleration264.8 s4.4%246.4 MB
IE without acceleration505.3 s1.7%169.6 MB

The differences between the three browsers are astonishing. Chrome takes whatever it can get. Firefox is a lot more frugal but its GPU code seems to be inefficient. Internet Explorer is the only browser where hardware acceleration clearly reduces the overall load.

Offloading computation to the GPU is difficult to get right. If an application boasts hardware acceleration the acceleration part may or may not be true. Even if the CPU load is significantly reduced by utilizing the GPU overall energy consumption is not necessarily much lower.

In the case of virtual desktops, there is typically no GPU available. Instead, the major products provide an emulated (“software”) GPU that should be used as little as possible as Shawn Bass explains.

Impact of GPU Acceleration on Browser CPU Usage • Helge Klein (2024)

FAQs

Does GPU acceleration reduce CPU usage? ›

Leveraging the GPU's enormous parallel processing capacity, hardware acceleration successfully conserves CPU time and power consumption. Specifically, hardware acceleration solutions enable 4K ultra HD video processing to outperform CPU-in efficiency significantly.

Does CPU usage affect GPU usage? ›

CPU bottleneck: The CPU may not be able to supply data fast enough to the GPU, causing the GPU to idle while it waits for data. This is one of the most common causes of low GPU utilization. Optimizing CPU code and using asynchronous data transfers can help to mitigate this.

Should I turn off hardware acceleration Chrome? ›

Hardware acceleration is good because it boosts performance for certain tasks. But sometimes, it may cause issues such as freezing or crashing in Google Chrome or other browsers, forcing you to disable the feature to fix the issue.

Do browsers use GPU? ›

This works well because the browser is designed to optimize these effects and use the GPU to handle them smoothly with minimal impact on processor performance. Another benefit is that you can define these effects in CSS along with the rest of your app's look-and-feel, using a standardized syntax.

Does a better GPU increase CPU usage? ›

No. CPU usage has nothing to do with the GPU. And in fact adding a GPU might raise your CPU usage in some instances. If you're thinking that an integrated GPU is actually using the CPU to do the work…

Should CPU usage be higher than GPU usage? ›

Why does the CPU use 100% utilization while GPU uses very little, like 5%? When, for example, a CPU has higher utilization than the GPU, it means that the system is experiencing bottleneck. Bottleneck refers to a component that limits the potential of other hardware due to differences in their maximum capabilities.

How does the GPU affect CPU performance? ›

Accelerating data — A GPU has advanced calculation ability that accelerates the amount of data a CPU can process in a given amount of time. When there are specialized programs that require complex mathematical calculations, such as deep learning or machine learning, those calculations can be offloaded by the GPU.

What is the difference between CPU usage and GPU usage? ›

The CPU handles all the tasks required for all software on the server to run correctly. A GPU, on the other hand, supports the CPU to perform concurrent calculations. A GPU can complete simple and repetitive tasks much faster because it can break the task down into smaller components and finish them in parallel.

Is high GPU usage low CPU usage good? ›

If you are playing in 1440p or 4k its going to almost certainly be GPU intensive, if you run at 1080p you should see a boost in CPU usage, but all in all, low CPU usage and high GPU usage is pretty normal. Games are mostly GPU intensive anyways, so a cpu doesnt need to be utilized up at 100% percent.

Why do people turn off hardware acceleration? ›

It may improve performance on computers with powerful components but can have the opposite effect on less powerful computers. Disabling hardware acceleration may improve performance if you're experiencing freezing and crashing. You can also disable hardware acceleration in web browsers like Google Chrome.

Should you let Chrome use hardware acceleration? ›

Enabling hardware acceleration in Chrome is generally recommended for users with modern hardware and up-to-date drivers. The potential benefits in performance and responsiveness often outweigh the risks.

Does turning on hardware acceleration in your browser improve your performance? ›

In your browser, Hardware Acceleration is a setting feature that enables the browser to maximize your hardware, passing some bulky tasks such as graphic and video loading to other hardware components. Enabling the features improves the browser performance as well as freeing up the CPU to handle other tasks.

Should Chrome run on GPU? ›

Yes this can help immensely. I went into settings on Windows -> Graphics Settings and turned on use of the discrete GPU for Google Chrome and it made a MASSIVE performance difference for me despite nothing being 3D in any of the tabs.

Does Chrome use more CPU or GPU? ›

The main reason to use the hardware acceleration feature is so Chrome uses your GPU instead of the CPU for graphics-intensive sites. However, sometimes it doesn't work correctly and causes the CPU to spike – especially on older hardware.

Does Chrome run on CPU or GPU? ›

By default, if you have a compatible GPU, Chromes uses this. The setting for this is turned on by default. If you have no compatible GPU it will use the CPU. designed specifically for these types of workloads.

Does hardware acceleration reduce CPU usage? ›

Hardware acceleration, by exploiting GPU's massively parallel processing power, turns out to be the most efficient solution to cut time and energy consumption. Particularly, hardware acceleration solutions let 4K ultra HD HEVC H. 265, and HD H. 264 video processing go far beyond the traditional CPU-in efficiency.

How do I reduce CPU usage on my GPU? ›

6 Ways to Fix High CPU Usage but Low GPU Usage
  1. Solution 1: Disable All Power-Preserving Modes.
  2. Solution 2: Close Tasks Running in the Background.
  3. Solution 3: Update the Graphics Driver.
  4. Solution 4: Enable XMP in BIOS/UEFI.
  5. Solution 5: Lower in-game Settings.
  6. Solution 6: Reinstall the Fault Game.
Feb 19, 2024

What are the benefits of GPU acceleration? ›

GPU acceleration is essential because it allows computers to speed up processes that work similarly to graphical processing. Acceleration boosts the speed of execution for complex computational problems that can be broken down into similar, parallel operations.

Top Articles
Latest Posts
Article information

Author: Errol Quitzon

Last Updated:

Views: 6349

Rating: 4.9 / 5 (59 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Errol Quitzon

Birthday: 1993-04-02

Address: 70604 Haley Lane, Port Weldonside, TN 99233-0942

Phone: +9665282866296

Job: Product Retail Agent

Hobby: Computer programming, Horseback riding, Hooping, Dance, Ice skating, Backpacking, Rafting

Introduction: My name is Errol Quitzon, I am a fair, cute, fancy, clean, attractive, sparkling, kind person who loves writing and wants to share my knowledge and understanding with you.