Xfce Wiki

Sub domains

xfce4-cpugraph-plugin - CPUGraph

This panel plugin offers multiple display modes (LED, gradient, fire, etc…) to show the current CPU load of the system. Various appearance options, like colors or size, are customizable.

On multi core or multi CPU systems, CPU Graph can either track and display all of them at once, or at the user's option only a specific core or CPU.


:panel-plugins:cpugrah-1_0_0.png :panel-plugins:cpugraph-fire-nobar.png :panel-plugins:cpugraph-grid.png :panel-plugins:cpugraph-grid-nobar.png :panel-plugins:cpugraph-led-nobar.png :panel-plugins:cpugraph-fire-long.png

Highlighting of suboptimal thread placements

Starting with CPU Graph 1.2.0, it's possible to optionally highlight CPU usage bars corresponding to potentially suboptimal allocation of CPU cores to tasks on CPUs with SMT. The highlighting can be enabled via the “Highlight suboptimal SMT scheduling” checkbox.

On CPUs with SMT, CPU Graph automatically counts the number of SMT scheduling events (SMT scheduling incidents) that could have resulted in reduced performance of tasks running on the CPU. Detecting these events has a very low overhead and thus is enabled even if the “Highlight suboptimal SMT scheduling” checkbox is disabled. The number of SMT scheduling incidents and an estimate of how much they might have impacted performance is printed in the Stats tab in CPU Graph's Properties window.

In order to test this feature, run the following command-lines in a terminal window (adjusting numactl's CPU list according to your CPU topology if necessary):

$ numactl -C 0,1             perf stat stress-ng --cpu 2   # Optimal performance (IPC=1.6)
$ numactl -C 0,$[$(nproc)/2] perf stat stress-ng --cpu 2   # Suboptimal performance (IPC=1.21)
“Highlight suboptimal SMT scheduling” checkbox Stats view

Latest Release

Back to Top

Source code repository

Reporting Bugs

Back To Top

Return to Main Xfce4-panel page