Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PreferClosestNUMA (0.35 sec)

  1. pkg/kubelet/cm/topologymanager/numa_info_test.go

    			},
    			opts: PolicyOptions{
    				PreferClosestNUMA: true,
    			},
    		},
    		{
    			name: "negative test 1 node, no distance file with PreferClosestNUMA",
    			topology: []cadvisorapi.Node{
    				{
    					Id: 9,
    				},
    			},
    			expectedNUMAInfo: nil,
    			expectedErr:      fmt.Errorf("error getting NUMA distances from cadvisor"),
    			opts: PolicyOptions{
    				PreferClosestNUMA: true,
    			},
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 16:52:14 UTC 2022
    - 11.6K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/topologymanager/policy.go

    			return current
    		}
    
    		// Otherwise compare the hints, based on the policy options provided
    		var best bitmask.BitMask
    		if (policyName != PolicySingleNumaNode) && opts.PreferClosestNUMA {
    			best = numaInfo.Closest(current.NUMANodeAffinity, candidate.NUMANodeAffinity)
    		} else {
    			best = numaInfo.Narrowest(current.NUMANodeAffinity, candidate.NUMANodeAffinity)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 09:45:25 UTC 2022
    - 12.7K bytes
    - Viewed (0)
Back to top