Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for cpuIDs (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. pkg/kubelet/kuberuntime/kuberuntime_container_windows_test.go

    	require.NoError(t, err)
    
    	limit := int64(3000)
    	expectedCpuMax := 10 * limit / int64(winstats.ProcessorCount())
    	// Above, we're setting the limit to 3 CPUs. But we can't expect more than 100% of the CPUs
    	// we have. (e.g.: if we only have 2 CPUs, we can't have 150% CPU max).
    	if expectedCpuMax > 10000 {
    		expectedCpuMax = 10000
    	}
    	expectedWindowsConfig := &runtimeapi.WindowsContainerConfig{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. src/runtime/debug.go

    	// newprocs will be processed by startTheWorld
    	newprocs = int32(n)
    
    	startTheWorldGC(stw)
    	return ret
    }
    
    // NumCPU returns the number of logical CPUs usable by the current process.
    //
    // The set of available CPUs is checked by querying the operating system
    // at process startup. Changes to operating system CPU allocation after
    // process startup are not reflected.
    func NumCPU() int {
    	return int(ncpu)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. cmd/update.go

    		}
    	}
    	uaAppend("; ", "")
    
    	if cpus, err := gopsutilcpu.Info(); err == nil && len(cpus) > 0 {
    		cpuMap := make(map[string]struct{}, len(cpus))
    		coreMap := make(map[string]struct{}, len(cpus))
    		for i := range cpus {
    			cpuMap[cpus[i].PhysicalID] = struct{}{}
    			coreMap[cpus[i].CoreID] = struct{}{}
    		}
    		cpu := cpus[0]
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  7. pkg/kubelet/kuberuntime/kuberuntime_container_windows.go

    		// Part one - Windows kernel
    		//   cpuMaximum is documented at https://docs.microsoft.com/en-us/virtualization/windowscontainers/manage-containers/resource-controls
    		//   the range and how it relates to number of CPUs is at https://docs.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-jobobject_cpu_rate_control_information
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/Striped64.java

       * failed CAS on base update), the table is initialized to size 2.
       * The table size is doubled upon further contention until
       * reaching the nearest power of two greater than or equal to the
       * number of CPUS. Table slots remain empty (null) until they are
       * needed.
       *
       * A single spinlock ("busy") is used for initializing and
       * resizing the table, as well as populating slots with new Cells.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/Striped64.java

       * failed CAS on base update), the table is initialized to size 2.
       * The table size is doubled upon further contention until
       * reaching the nearest power of two greater than or equal to the
       * number of CPUS. Table slots remain empty (null) until they are
       * needed.
       *
       * A single spinlock ("busy") is used for initializing and
       * resizing the table, as well as populating slots with new Cells.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (2)
  10. guava/src/com/google/common/hash/Striped64.java

       * failed CAS on base update), the table is initialized to size 2.
       * The table size is doubled upon further contention until
       * reaching the nearest power of two greater than or equal to the
       * number of CPUS. Table slots remain empty (null) until they are
       * needed.
       *
       * A single spinlock ("busy") is used for initializing and
       * resizing the table, as well as populating slots with new Cells.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top