Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • L libgtop
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 52
    • Issues 52
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOME
  • libgtop
  • Issues
  • #6

Closed
Open
Created Aug 25, 2006 by Bugzilla@bugzilla-migration💬Reporter

misbehaves with Linux' CPU hotplug/unplug

Submitted by Tomasz Torcz

Link to original bug (#352807)

Description

Please describe the problem: GNOME System Monitor is totally unaware of CPU Hotplug/Hotremove events. It also have problem with "sparse" cpu numbers.

Steps to reproduce: Scenario A:

  1. Run System Monitor
  2. Unplug CPU (echo 0 > /sys/devices/system/cpu/cpu1/online)

Scenario B:

  1. Unplug CPU
  2. Run System Monitor
  3. Plug CPU (echo 1 > /sys/devices/system/cpu/cpu1/online)

Scenario C:

  1. Run System Monitor on 4-way SMP system.
  2. Unplug second or third CPU

Actual results: Scenario A: Unplugged CPU's line goes flat, but CPU is still displayed

Scenario B: Freshly plugged-in CPU do not appear in monitor.

Scenario C: SERIOUS! System Monitor shows only one (if second CPU was unplugged) or two (if third CPU) CPU's graphs. It doesn't show fourth (and third) CPU's graph.

Expected results: Scenario A: Unplugged CPU's label should be grayed-out and percent display should be changed to "offline".

Scenario B: Freshly plugged CPU should either: a) appear b) be un-grayed-out (see Scenario A expected action)

Scenario C: CPUs 3 and 4 should be shown even if CPU2 is disabled. System Monitor shouldn't stop enumerating CPUs on first offline one.

Does this happen every time? Yes.

Other information: Multicore laptops are becoming standard, and power management policy could turn off (unplug) unused CPUs. So this is rather imporant drawback in GNOME System Monitor.

Assignee
Assign to
Time tracking