Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for takeByTopologyNUMAPacked (0.2 sec)

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

    // contrast to the takeByTopologyNUMAPacked algorithm, which attempts to 'pack'
    // CPUs onto NUMA nodes and fill them up before moving on to the next one.
    //
    // At a high-level this algorithm can be summarized as:
    //
    // For each NUMA single node:
    //   - If all requested CPUs can be allocated from this NUMA node;
    //     --> Do the allocation by running takeByTopologyNUMAPacked() over the
    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

    			64,
    			"",
    			mustParseCPUSet(t, "0-29,40-69,30,31,70,71"),
    		},
    	}...)
    
    	for _, tc := range testCases {
    		t.Run(tc.description, func(t *testing.T) {
    			result, err := takeByTopologyNUMAPacked(tc.topo, tc.availableCPUs, tc.numCPUs)
    			if tc.expErr != "" && err != nil && err.Error() != tc.expErr {
    				t.Errorf("expected error to be [%v] but it was [%v]", tc.expErr, err)
    			}
    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

    		cpuGroupSize := 1
    		if p.options.FullPhysicalCPUsOnly {
    			cpuGroupSize = p.topology.CPUsPerCore()
    		}
    		return takeByTopologyNUMADistributed(p.topology, availableCPUs, numCPUs, cpuGroupSize)
    	}
    	return takeByTopologyNUMAPacked(p.topology, availableCPUs, numCPUs)
    }
    
    func (p *staticPolicy) GetTopologyHints(s state.State, pod *v1.Pod, container *v1.Container) map[string][]topologymanager.TopologyHint {
    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