Skip to content

resctrl: return 0 for AMD when we get Unavailable stats - #3928

Open
dqminh wants to merge 1 commit into
google:masterfrom
dqminh:resctrl-amd
Open

resctrl: return 0 for AMD when we get Unavailable stats#3928
dqminh wants to merge 1 commit into
google:masterfrom
dqminh:resctrl-amd

Conversation

@dqminh

@dqminh dqminh commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

AMD can return Unavailable for groups that was just initialized and didn't have any data i.e. no tasks ran on the group. For example

cat mon_data/mon_L3_*/mbm_total_bytes
1536320
Unavailable
Unavailable
Unavailable

There isn't anything really wrong with Unavailable here, so we should assume 0 and continue with the collection.

See also the original report https://bugzilla.kernel.org/show_bug.cgi?id=213311

AMD can return Unavailable for groups that was just initialized and
didn't have any data i.e. no tasks ran on the group. For example

> cat mon_data/mon_L3_*/mbm_total_bytes
  1536320
  Unavailable
  Unavailable
  Unavailable

There isn't anything really wrong with Unavailable here, so we should
assume 0 and continue with the collection.

See also the original report https://bugzilla.kernel.org/show_bug.cgi?id=213311
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant