Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CPUsPerCore (0.11 sec)

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

    			stDefaultCPUSet: cpuset.New(0, 1, 2, 3, 4, 5, 6, 7),
    			pod:             makePod("fakePod", "fakeContainer2", "1000m", "1000m"),
    			expErr:          SMTAlignmentError{RequestedCPUs: 1, CpusPerCore: 2},
    			expCPUAlloc:     false,
    			expCSet:         cpuset.New(), // reject allocation of sibling of partial core
    		},
    		{
    			// test SMT-level != 2 - which is the default on x86_64
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/cpumanager/cpu_assignment.go

    // "fully available" means that all the CPUs in it are free.
    func (a *cpuAccumulator) isCoreFree(coreID int) bool {
    	return a.details.CPUsInCores(coreID).Size() == a.topo.CPUsPerCore()
    }
    
    // Returns free NUMA Node IDs as a slice sorted by sortAvailableNUMANodes().
    func (a *cpuAccumulator) freeNUMANodes() []int {
    	free := []int{}
    	for _, numa := range a.sortAvailableNUMANodes() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 25 23:56:21 UTC 2024
    - 36.3K bytes
    - Viewed (0)
Back to top