Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AvailablePhysicalCPUs (0.23 sec)

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

    type SMTAlignmentError struct {
    	RequestedCPUs         int
    	CpusPerCore           int
    	AvailablePhysicalCPUs int
    }
    
    func (e SMTAlignmentError) Error() string {
    	if e.AvailablePhysicalCPUs > 0 {
    		return fmt.Sprintf("SMT Alignment Error: not enough free physical CPUs: available physical CPUs = %d, requested CPUs = %d, CPUs per core = %d", e.AvailablePhysicalCPUs, e.RequestedCPUs, e.CpusPerCore)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 06 13:16:15 UTC 2023
    - 28.8K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/cpumanager/policy_static_test.go

    			stDefaultCPUSet: cpuset.New(0, 2, 3, 4, 5, 7, 8, 9, 10, 11),
    			pod:             makePod("fakePod", "fakeContainerBug113537_1", "10000m", "10000m"),
    			expErr:          SMTAlignmentError{RequestedCPUs: 10, CpusPerCore: 2, AvailablePhysicalCPUs: 8},
    			expCPUAlloc:     false,
    			expCSet:         cpuset.New(),
    		},
    		{
    			description: "GuPodManyCores, topoDualSocketHT, AutoReserve, ExpectAllocAllCPUs",
    			topo:        topoDualSocketHT,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 40.8K bytes
    - Viewed (0)
Back to top