Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for cpuGroupSize (0.1 sec)

  1. pkg/kubelet/cm/cpumanager/cpu_assignment.go

    		// size 'cpuGroupSize' from 'bestCombo'.
    		distribution := (numCPUs / len(bestCombo) / cpuGroupSize) * cpuGroupSize
    		for _, numa := range bestCombo {
    			cpus, _ := takeByTopologyNUMAPacked(acc.topo, acc.details.CPUsInNUMANodes(numa), distribution)
    			acc.take(cpus)
    		}
    
    		// Then allocate any remaining CPUs in groups of size 'cpuGroupSize'
    		// from each NUMA node in the remainder set.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 25 23:56:21 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/cpumanager/cpu_assignment_test.go

    			}
    		})
    	}
    }
    
    type takeByTopologyExtendedTestCase struct {
    	description   string
    	topo          *topology.CPUTopology
    	availableCPUs cpuset.CPUSet
    	numCPUs       int
    	cpuGroupSize  int
    	expErr        string
    	expResult     cpuset.CPUSet
    }
    
    func commonTakeByTopologyExtendedTestCases(t *testing.T) []takeByTopologyExtendedTestCase {
    	var extendedTestCases []takeByTopologyExtendedTestCase
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 17:31:37 UTC 2023
    - 22.7K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/cpumanager/policy_static.go

    	if p.options.DistributeCPUsAcrossNUMA {
    		cpuGroupSize := 1
    		if p.options.FullPhysicalCPUsOnly {
    			cpuGroupSize = p.topology.CPUsPerCore()
    		}
    		return takeByTopologyNUMADistributed(p.topology, availableCPUs, numCPUs, cpuGroupSize)
    	}
    	return takeByTopologyNUMAPacked(p.topology, availableCPUs, numCPUs)
    }
    
    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