Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 76 for numaNodes (0.35 sec)

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

    	// Get the total number of NUMA nodes in the system.
    	numNUMANodes := a.topo.CPUDetails.NUMANodes().Size()
    
    	// Get the total number of NUMA nodes that have CPUs available on them.
    	numNUMANodesAvailable := a.details.NUMANodes().Size()
    
    	// Get the total number of CPUs in the system.
    	numCPUs := a.topo.CPUDetails.CPUs().Size()
    
    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/policy_static.go

    	// Initialize minAffinitySize to include all NUMA Nodes.
    	minAffinitySize := p.topology.CPUDetails.NUMANodes().Size()
    
    	// Iterate through all combinations of numa nodes bitmask and build hints from them.
    	hints := []topologymanager.TopologyHint{}
    	bitmask.IterateBitMasks(p.topology.CPUDetails.NUMANodes().List(), func(mask bitmask.BitMask) {
    		// First, update minAffinitySize for the current request size.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 06 13:16:15 UTC 2023
    - 28.8K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/devicemanager/topology_hints_test.go

    			allocatedDevices: make(map[string]sets.Set[string]),
    			podDevices:       newPodDevices(),
    			sourcesReady:     &sourcesReadyStub{},
    			activePods:       func() []*v1.Pod { return []*v1.Pod{tc.pod} },
    			numaNodes:        []int{0, 1},
    		}
    
    		for r := range tc.devices {
    			m.allDevices[r] = make(DeviceInstances)
    			m.healthyDevices[r] = sets.New[string]()
    
    			for _, d := range tc.devices[r] {
    				m.allDevices[r][d.ID] = d
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 47.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/graph/GraphMutationTest.java

    @RunWith(JUnit4.class)
    
    public final class GraphMutationTest {
      private static final int NUM_TRIALS = 50;
      private static final int NUM_NODES = 100;
      private static final int NUM_EDGES = 1000;
      private static final int NODE_POOL_SIZE = 1000; // must be >> NUM_NODES
    
      @Test
      public void directedGraph() {
        testGraphMutation(GraphBuilder.directed());
      }
    
      @Test
      public void undirectedGraph() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Aug 18 16:17:46 UTC 2017
    - 4.2K bytes
    - Viewed (0)
  5. cluster/kubemark/gce/config-default.sh

    # NUM_NODES should not be specified by the user. Instead we use
    # NUM_NODES=KUBEMARK_AUTOSCALER_MAX_NODES. This gives other cluster components
    # (e.g. kubemark master, Heapster) enough resources to handle maximum cluster size.
    if [[ "${ENABLE_KUBEMARK_CLUSTER_AUTOSCALER}" == "true" ]]; then
      NUM_REPLICAS=1
      if [[ -n "$NUM_NODES" ]]; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 09 19:04:44 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  6. tests/integration/create_cluster_gke.sh

    MACHINE_TYPE=${MACHINE_TYPE:-n1-standard-4}
    NUM_NODES=${NUM_NODES:-3}
    # Store the previous value (which may have been unset) so we can restore it on cleanup
    OLD_USE_CLIENT_CERT=$(gcloud config list 2>/dev/null | grep use_client_certificate | cut -d' ' -f3)
    
    function usage() {
      echo "${0} -p PROJECT [-z ZONE] [-c CLUSTER_NAME] [-v CLUSTER_VERSION] [-m MACHINE_TYPE] [-n NUM_NODES]"
      echo ''
      # shellcheck disable=SC2016
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 12 16:02:51 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  7. pkg/kubelet/apis/config/validation/validation_reserved_memory.go

    		return nil
    	}
    
    	var errors []error
    
    	numaTypeDuplicates := map[int32]map[v1.ResourceName]bool{}
    	for _, reservedMemory := range kc.ReservedMemory {
    		numaNode := reservedMemory.NumaNode
    		if _, ok := numaTypeDuplicates[numaNode]; !ok {
    			numaTypeDuplicates[numaNode] = map[v1.ResourceName]bool{}
    		}
    
    		for resourceName, q := range reservedMemory.Limits {
    			if !reservedMemorySupportedLimit(resourceName) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 18 13:31:31 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  8. pkg/kubelet/apis/config/validation/validation_reserved_memory_test.go

    			kubeletConfiguration: &kubeletconfig.KubeletConfiguration{
    				ReservedMemory: []kubeletconfig.MemoryReservation{
    					{
    						NumaNode: 0,
    						Limits: v1.ResourceList{
    							v1.ResourceMemory: *resource.NewQuantity(128, resource.DecimalSI),
    						},
    					},
    					{
    						NumaNode: 0,
    						Limits: v1.ResourceList{
    							v1.ResourceMemory: *resource.NewQuantity(64, resource.DecimalSI),
    						},
    					},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 18 13:38:01 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  9. cluster/kubemark/iks/config-default.sh

    # User defined
    # number of real workers in spawnTester cluster
    NUM_NODES="${NUM_NODES:-2}"
    # spec of real workers in spawnTester cluster
    NODE_SIZE=${NODE_SIZE:-u2c.2x4}
    DESIRED_NODES="${DESIRED_NODES:-10}"
    # number of hollow nodes
    # TODO: once IKS supports `kubetest`, i.e. the base cluster provisioning implemented in `kubetest`
    # we can use NUM_NODES=${KUBEMARK_NUM_NODES:-10} to avoid usage of KUBEMARK_NUM_NODES
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 17:15:29 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  10. hack/e2e-internal/e2e-grow-cluster.sh

      export MULTIZONE="${2}"
    fi
    if [[ -n "${3:-}" ]]; then
      export KUBE_REPLICATE_EXISTING_MASTER="${3}"
    fi
    if [[ -n "${4:-}" ]]; then
      export KUBE_USE_EXISTING_MASTER="${4}"
    fi
    if [[ -z "${NUM_NODES:-}" ]]; then
      export NUM_NODES=3
    fi
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 19 03:50:03 UTC 2019
    - 1K bytes
    - Viewed (0)
Back to top