- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 52 for cpuIDs (0.15 sec)
-
pkg/kubelet/apis/podresources/server_v1_test.go
{ Name: initContainerName, Devices: devs, CpuIds: cpus, Memory: memory, DynamicResources: []*podresourcesapi.DynamicResource{}, }, { Name: containerName, Devices: devs, CpuIds: cpus, Memory: memory, DynamicResources: []*podresourcesapi.DynamicResource{},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 45.9K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/topology_hints_test.go
}, { name: "TestCase04: Guaranteed Pod requests 2 CPUs", pod: testPod4, expectedCPU: 2, }, { name: "TestCase05: Guaranteed Pod requests 5 CPUs", pod: testPod5, expectedCPU: 5, }, { name: "TestCase06: The number of CPUs requested By app is bigger than the number of CPUs requested by init", pod: testPod6, expectedCPU: 5, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 19K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/policy_static_test.go
expErr: nil, expCPUAlloc: false, expCSet: cpuset.New(), }, { // All the CPUs from Socket 0 are available. Some CPUs from each // Socket have been already assigned. // Expect all CPUs from Socket 0. description: "GuPodMultipleCores, topoQuadSocketFourWayHT, ExpectAllocSock0", topo: topoQuadSocketFourWayHT,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 40.8K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/cpu_assignment.go
// by number of free CPUs that their cores contain. Finally, for each core, the CPUs in it are // sorted by numerical ID. The order is always ascending. In other words, the relative order of two // CPUs is determined as follows: // 1. If the two CPUs belong to different sockets, the CPU in the socket with the smaller amount of // free CPUs appears first.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jan 25 23:56:21 UTC 2024 - 36.3K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/cpu_assignment_test.go
if cpus.Intersection(availableCPUs).Size() > 0 { t.Errorf("expected intersection of taken cpus [%s] and acc.details.CPUs() [%s] to be empty", cpus, availableCPUs) } if !cpus.IsSubsetOf(acc.result) { t.Errorf("expected [%s] to be a subset of acc.result [%s]", cpus, acc.result) } } expNumCPUsNeeded := tc.numCPUs - totalTaken if acc.numCPUsNeeded != expNumCPUsNeeded {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 09 17:31:37 UTC 2023 - 22.7K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/policy_static.go
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) } return fmt.Sprintf("SMT Alignment Error: requested %d cpus not multiple cpus per core = %d", 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) -
pkg/kubelet/cm/cpumanager/cpu_manager.go
GetPodTopologyHints(pod *v1.Pod) map[string][]topologymanager.TopologyHint // GetAllocatableCPUs returns the total set of CPUs available for allocation. GetAllocatableCPUs() cpuset.CPUSet // GetCPUAffinity returns cpuset which includes cpus from shared pools // as well as exclusively allocated cpus GetCPUAffinity(podUID, containerName string) cpuset.CPUSet } type manager struct { sync.Mutex policy Policy
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 03 16:26:09 UTC 2023 - 19.9K bytes - Viewed (0) -
cmd/update.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 18.7K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/state/state_checkpoint_test.go
for pod := range tc.assignments { for container, set := range tc.assignments[pod] { state.SetCPUSet(pod, container, set) if cpus, _ := state.GetCPUSet(pod, container); !cpus.Equals(set) { t.Fatalf("state inconsistent, got %q instead of %q", set, cpus) } state.Delete(pod, container) if _, ok := state.GetCPUSet(pod, container); ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 03 16:26:09 UTC 2023 - 10.9K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/cpu_manager_test.go
t.Errorf("Expected reconciliation failure for container: %s", testCase.expectFailedContainerName) } } } } // above test cases are without kubelet --reserved-cpus cmd option // the following tests are with --reserved-cpus configured func TestCPUManagerAddWithResvList(t *testing.T) { testPolicy, _ := NewStaticPolicy( &topology.CPUTopology{ NumCPUs: 4, NumSockets: 1, NumCores: 4,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 06 13:16:15 UTC 2023 - 42.9K bytes - Viewed (0)