You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* cache sizes reported by type
Signed-off-by: Harper, Jason M <[email protected]>
* refactor
Signed-off-by: Harper, Jason M <[email protected]>
* address code review comments
Signed-off-by: Harper, Jason M <[email protected]>
* more refactoring
Signed-off-by: Harper, Jason M <[email protected]>
* increase precision
Signed-off-by: Harper, Jason M <[email protected]>
* config set only needs l3 instance size
Signed-off-by: Harper, Jason M <[email protected]>
---------
Signed-off-by: Harper, Jason M <[email protected]>
{Name: "NUMA CPU List", Values: []string{numaCPUListFromOutput(outputs)}},
1017
-
{Name: "L1d Cache", Values: []string{l1dFromOutput(outputs)}, Description: "The sum of all L1 data cache sizes for one CPU socket."},
1018
-
{Name: "L1i Cache", Values: []string{l1iFromOutput(outputs)}, Description: "The sum of all L1 instruction cache sizes for one CPU socket."},
1019
-
{Name: "L2 Cache", Values: []string{l2FromOutput(outputs)}, Description: "The sum of all L2 cache sizes for one CPU socket."},
1020
-
{Name: "L3 Cache", Values: []string{l3FromOutput(outputs)}, Description: "The total L3 cache size for one CPU socket."},
1021
-
{Name: "L3 per Core", Values: []string{l3PerCoreFromOutput(outputs)}, Description: "The L3 cache size per CPU core."},
1036
+
{Name: "L1d Cache", Values: []string{l1d}, Description: "The size of the L1 data cache for one core."},
1037
+
{Name: "L1i Cache", Values: []string{l1i}, Description: "The size of the L1 instruction cache for one core."},
1038
+
{Name: "L2 Cache", Values: []string{l2}, Description: "The size of the L2 cache for one core."},
1039
+
{Name: "L3 Cache (instance/total)", Values: []string{l3FromOutput(outputs)}, Description: "The size of one L3 cache instance and the total L3 cache size for the system."},
1040
+
{Name: "L3 per Core", Values: []string{l3PerCoreFromOutput(outputs)}, Description: "The L3 cache size per core."},
{Name: "L3 Cache", Values: []string{l3FromOutput(outputs)}, Description: "The total L3 cache size for one CPU socket."},
2005
+
{Name: "L3 Cache (instance/total)", Values: []string{l3FromOutput(outputs)}, Description: "The size of one L3 cache instance and the total L3 cache size for the system."},
1987
2006
{Name: "Cores per Socket", Values: []string{valFromRegexSubmatch(outputs[script.LscpuScriptName].Stdout, `^Core\(s\) per socket:\s*(.+)$`)}},
0 commit comments