File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
test/e2e/performanceprofile/functests/13_llc Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -782,6 +782,18 @@ var _ = Describe("[rfe_id:77446] LLC-aware cpu pinning", Label(string(label.Open
782782 Expect (err ).ToNot (HaveOccurred (), "Unable to fetch numa nodes" )
783783 coresiblings , err := nodes .GetCoreSiblings (ctx , & cnfnode )
784784 Expect (err ).ToNot (HaveOccurred (), "Unable to get numa information from the node" )
785+ getCCX = nodes .GetL3SharedCPUs (& cnfnode )
786+ ccx , err := getCCX (0 )
787+ Expect (err ).ToNot (HaveOccurred ())
788+ L3CacheGroupSize = ccx .Size ()
789+ // Get actual CPU ID's from Numa Node 0
790+ numaNode0Cpus := cpuset .New (numaInfo [0 ]... )
791+
792+ // Compare if L3 cache group CPUs match NUMA Node 0 CPUs
793+ if ccx .Equals (numaNode0Cpus ) {
794+ Skip ("This test requires systems where L3 cache is shared amount subset of cpus" )
795+ }
796+
785797 nosmt = transformToNoSMT (coresiblings )
786798 if len (numaInfo ) < 2 {
787799 Skip (fmt .Sprintf ("This test need 2 Numa nodes. The number of numa nodes on node %s < 2" , cnfnode .Name ))
You can’t perform that action at this time.
0 commit comments