Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Narrowest (0.08 sec)

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

    		var best bitmask.BitMask
    		if (policyName != PolicySingleNumaNode) && opts.PreferClosestNUMA {
    			best = numaInfo.Closest(current.NUMANodeAffinity, candidate.NUMANodeAffinity)
    		} else {
    			best = numaInfo.Narrowest(current.NUMANodeAffinity, candidate.NUMANodeAffinity)
    		}
    		if best.IsEqual(current.NUMANodeAffinity) {
    			return current
    		}
    		return candidate
    	}
    
    	merger := HintMerger{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 09:45:25 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/cpumanager/policy_static.go

    // available CPUs and the number of CPUs being requested.
    //
    // It follows the convention of marking all hints that have the same number of
    // bits set as the narrowest matching NUMANodeAffinity with 'Preferred: true', and
    // marking all others with 'Preferred: false'.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 06 13:16:15 UTC 2023
    - 28.8K bytes
    - Viewed (0)
Back to top