Re: [PATCH 1/2] x86/resctrl, Documentation: Keep mbm_assign_mode "default" on boot
From: Reinette Chatre
Date: Mon Jul 27 2026 - 20:30:23 EST
Hi Babu,
On 7/27/26 4:29 PM, Moger, Babu wrote:
> I still have to get back to few questions(test details etc..) on this thread. Let me get back to on that later tomorrow.
> thanks
Don't bother.
I just installed a distro version of pqos utility and modified resctrl to return "Unavailable"
once in a while on an Intel system.
Below is the output on an idle system that confirms the pqos team's analysis that
it perceives counter wraparound when there is none. This is when I run with something like
"pqos -m all:0-143" to show all counts. When I run with "pqos -m all:[0-143]" to provide an
average I see the number repeatedly jump to the large number and back over time.
In summary I see:
- pqos utility does not support all scenarios of memory bandwidth measurement
on AMD systems without ABMC active. pqos may intermittently report very large
and incorrect bandwidth numbers.
- pqos utility reports 0MB/s when there are unassigned counters on AMD systems
that support ABMC (and it is enabled).
As I mused earlier (https://lore.kernel.org/lkml/119188c4-1127-4155-9a05-dff47e25be85@xxxxxxxxx/),
I do not know (and can thus only speculate) why the issue with "Unavailable" handling has not
been reported before.
If you are expecting more pqos usage on AMD systems then users may encounter output like
below more and more until the fix is created and propagated to users. (sidenote: You may
want to participate in the fix since it may involve exposing the text state, including
"Unassigned", to users where currently it is 0.)
Considering this, could you please confirm that you consider default mode the best
choice? After all, "it will make things keep working as it used to", which sometimes
will look something like:
CORE IPC MISSES LLC[KB] MBL[MB/s] MBR[MB/s]
0 1.77 16k 0.0 17592186044410.4 0.0
1 2.74 9k 0.0 2.0 0.0
2 0.75 0k 0.0 0.0 0.0
3 0.71 0k 0.0 0.0 0.0
4 0.71 0k 0.0 0.0 0.1
5 0.71 0k 0.0 17592186044415.9 0.0
6 1.59 0k 0.0 0.0 0.0
7 0.72 0k 0.0 0.0 0.0
8 1.20 1k 0.0 0.0 0.0
9 2.48 887k 0.0 0.0 90.6
10 0.73 0k 0.0 17592186044415.4 0.0
11 0.68 0k 0.0 0.0 0.0
12 0.53 0k 0.0 0.0 0.0
13 0.71 0k 0.0 0.0 0.0
14 0.72 1k 0.0 0.0 0.1
15 0.70 0k 0.0 17592186044415.9 0.0
16 0.76 0k 0.0 0.0 0.0
17 0.72 0k 0.0 0.0 0.0
18 2.48 116k 3456.0 0.0 0.0
19 0.66 0k 0.0 0.0 0.1
20 0.64 0k 0.0 0.0 0.0
21 0.65 0k 0.0 0.1 0.0
22 0.41 0k 0.0 0.0 0.0
23 2.49 88k 6408.0 0.0 17592186044313.9
24 0.96 1k 0.0 0.0 0.1
25 0.03 0k 0.0 0.0 0.0
26 0.72 0k 0.0 0.4 0.0
27 0.71 0k 0.0 0.0 0.0
28 0.67 0k 72.0 0.0 0.0
29 0.79 0k 0.0 0.0 0.0
30 0.79 1k 0.0 17592186044415.9 0.0
31 0.71 0k 0.0 0.3 0.0
32 0.67 0k 0.0 0.0 0.0
33 0.72 0k 0.0 0.0 0.0
34 0.72 0k 0.0 0.0 0.0
35 0.71 0k 0.0 0.0 0.0
36 0.83 28k 0.0 2.0 0.0
37 0.86 0k 0.0 0.0 0.0
38 0.62 0k 0.0 0.0 0.0
39 0.67 0k 0.0 0.0 0.0
40 0.57 0k 0.0 0.0 0.0
41 0.87 0k 0.0 0.0 0.0
42 0.74 0k 0.0 0.0 0.0
43 0.79 0k 0.0 0.0 0.0
44 0.73 0k 0.0 0.0 0.0
45 0.86 0k 0.0 0.0 0.0
46 0.93 2k 0.0 0.0 0.0^C
Reinette