Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for numaNodes (0.25 sec)

  1. pkg/kubelet/cm/devicemanager/topology_hints.go

    	// Initialize minAffinitySize to include all NUMA Nodes
    	minAffinitySize := len(m.numaNodes)
    
    	// Iterate through all combinations of NUMA Nodes and build hints from them.
    	hints := []topologymanager.TopologyHint{}
    	bitmask.IterateBitMasks(m.numaNodes, func(mask bitmask.BitMask) {
    		// First, update minAffinitySize for the current request size.
    		devicesInMask := 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 27 02:10:25 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/devicemanager/pod_devices.go

    				if numaid != nodeWithoutTopology {
    					NUMANodes := []*pluginapi.NUMANode{{ID: numaid}}
    					if pDev, ok := devicePluginMap[devID]; ok && pDev.Topology != nil {
    						if nodes := pDev.Topology.GetNodes(); nodes != nil {
    							NUMANodes = append(NUMANodes, nodes...)
    						}
    					}
    
    					// ID and Healthy are not relevant here.
    					topology = &pluginapi.TopologyInfo{Nodes: NUMANodes}
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 27 02:10:25 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/devicemanager/manager.go

    	klog.V(2).InfoS("Creating Device Plugin manager", "path", socketPath)
    
    	var numaNodes []int
    	for _, node := range topology {
    		numaNodes = append(numaNodes, node.Id)
    	}
    
    	manager := &ManagerImpl{
    		endpoints: make(map[string]endpointInfo),
    
    		allDevices:            NewResourceDeviceInstances(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 12:01:56 UTC 2024
    - 43K bytes
    - Viewed (0)
  4. 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)
  5. pkg/kubelet/apis/podresources/server_v1_test.go

    			Topology:     &podresourcesapi.TopologyInfo{Nodes: []*podresourcesapi.NUMANode{{ID: numaID}}},
    		},
    	}
    
    	cpus := []int64{12, 23, 30}
    
    	memory := []*podresourcesapi.ContainerMemory{
    		{
    			MemoryType: "memory",
    			Size_:      1073741824,
    			Topology:   &podresourcesapi.TopologyInfo{Nodes: []*podresourcesapi.NUMANode{{ID: numaID}}},
    		},
    		{
    			MemoryType: "hugepages-1Gi",
    			Size_:      1073741824,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
  6. cluster/gce/config-common.sh

    # limitations under the License.
    
    # Returns the total number of Linux and Windows nodes in the cluster.
    #
    # Vars assumed:
    #   NUM_NODES
    #   NUM_WINDOWS_NODES
    function get-num-nodes {
      echo "$((NUM_NODES + NUM_WINDOWS_NODES))"
    }
    
    # Vars assumed:
    #   NUM_NODES
    #   NUM_WINDOWS_NODES
    function get-master-size {
      local suggested_master_size=2
      if [[ "$(get-num-nodes)" -gt "10" ]]; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 20:06:08 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. tensorflow/cc/client/client_session.cc

                 nullptr);
    }
    
    Status ClientSession::Impl::MaybeExtendGraph() const {
      mutex_lock l(mu_);
      int num_nodes = graph_->num_node_ids();
      if (num_nodes > last_num_graph_nodes_) {
        GraphDef graph_def;
        graph_->ToGraphDefSubRange(&graph_def, last_num_graph_nodes_);
        last_num_graph_nodes_ = num_nodes;
        return session_->Extend(graph_def);
      }
      return absl::OkStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 09:04:10 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc

            VLOG(2) << "Graph #nodes " << (*graph)->num_nodes() << " #edges "
                    << (*graph)->num_edges();
            is_module_updated = true;
          }
        } else if (pass_state == MlirOptimizationPassState::FallbackEnabled) {
          VLOG(2) << "Run MLIR graph optimization pass with fallback: "
                  << StringRefToView(name);
          VLOG(2) << "Graph #nodes " << (*graph)->num_nodes() << " #edges "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. internal/bucket/bandwidth/monitor.go

    // NewMonitor returns a monitor with defaults.
    func NewMonitor(ctx context.Context, numNodes uint64) *Monitor {
    	m := &Monitor{
    		bucketsMeasurement:    make(map[BucketOptions]*bucketMeasurement),
    		bucketsThrottle:       make(map[BucketOptions]*bucketThrottle),
    		bucketMovingAvgTicker: time.NewTicker(2 * time.Second),
    		ctx:                   ctx,
    		NodeCount:             numNodes,
    	}
    	go m.trackEWMA()
    	return m
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. cluster/gce/config-default.sh

    ZONE=${KUBE_GCE_ZONE:-us-central1-b}
    export REGION=${ZONE%-*}
    RELEASE_REGION_FALLBACK=${RELEASE_REGION_FALLBACK:-false}
    REGIONAL_KUBE_ADDONS=${REGIONAL_KUBE_ADDONS:-true}
    NODE_SIZE=${NODE_SIZE:-e2-standard-2}
    NUM_NODES=${NUM_NODES:-3}
    NUM_WINDOWS_NODES=${NUM_WINDOWS_NODES:-0}
    MASTER_SIZE=${MASTER_SIZE:-e2-standard-$(get-master-size)}
    MASTER_MIN_CPU_ARCHITECTURE=${MASTER_MIN_CPU_ARCHITECTURE:-} # To allow choosing better architectures.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 20:16:32 UTC 2024
    - 26.9K bytes
    - Viewed (0)
Back to top