Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 31 for numaNodes (1.37 sec)

  1. pkg/scheduler/schedule_one.go

    		if percentage < minFeasibleNodesPercentageToFind {
    			percentage = minFeasibleNodesPercentageToFind
    		}
    	}
    
    	numNodes = numAllNodes * percentage / 100
    	if numNodes < minFeasibleNodesToFind {
    		return minFeasibleNodesToFind
    	}
    
    	return numNodes
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:28:08 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  2. pkg/controller/volume/attachdetach/attach_detach_controller_test.go

    				pod.Spec.Volumes[0].Name,
    				pod.Spec.NodeName)
    		}
    	}
    }
    
    func largeClusterClient(t testing.TB, numNodes int) *fake.Clientset {
    	// Arrange
    	fakeKubeClient := fake.NewSimpleClientset()
    
    	// populate numNodes nodes, each with 100 volumes
    	for i := 0; i < numNodes; i++ {
    		nodeName := fmt.Sprintf("node-%d", i)
    		node := &v1.Node{
    			ObjectMeta: metav1.ObjectMeta{
    				Name: nodeName,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/imagelocality/image_locality.go

    // a few nodes due to image locality.
    func scaledImageScore(imageState *framework.ImageStateSummary, totalNumNodes int) int64 {
    	spread := float64(imageState.NumNodes) / float64(totalNumNodes)
    	return int64(float64(imageState.Size) * spread)
    }
    
    // normalizedImageName returns the CRI compliant name for a given image.
    // TODO: cover the corner cases of missed matches, e.g,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 06:17:57 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/xla_cluster_util.cc

      return absl::OkStatus();
    }
    
    // Sorts control inputs of a graphdef so that they are deterministically
    // ordered.
    void SortControlInputs(GraphDef* gdef) {
      int64_t num_nodes = gdef->node_size();
      for (int64_t i = 0; i < num_nodes; ++i) {
        NodeDef* node = gdef->mutable_node(i);
        // Stable sort control inputs and leave the order of data inputs unchanged.
        std::stable_sort(node->mutable_input()->begin(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  5. pkg/kubelet/apis/config/v1beta1/zz_generated.conversion.go

    }
    
    func autoConvert_v1beta1_MemoryReservation_To_config_MemoryReservation(in *v1beta1.MemoryReservation, out *config.MemoryReservation, s conversion.Scope) error {
    	out.NumaNode = in.NumaNode
    	out.Limits = *(*corev1.ResourceList)(unsafe.Pointer(&in.Limits))
    	return nil
    }
    
    // Convert_v1beta1_MemoryReservation_To_config_MemoryReservation is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/devicemanager/manager_test.go

    			"dev1": {
    				ID: "dev1",
    				Topology: &pluginapi.TopologyInfo{
    					Nodes: []*pluginapi.NUMANode{
    						{
    							ID: 1,
    						},
    					},
    				},
    			},
    			"dev2": {
    				ID: "dev2",
    				Topology: &pluginapi.TopologyInfo{
    					Nodes: []*pluginapi.NUMANode{
    						{
    							ID: 1,
    						},
    						{
    							ID: 2,
    						},
    					},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/container_manager.go

    				respDevs = append(respDevs, &podresourcesapi.ContainerDevices{
    					ResourceName: resourceName,
    					DeviceIds:    []string{devID},
    					Topology: &podresourcesapi.TopologyInfo{
    						Nodes: []*podresourcesapi.NUMANode{
    							{
    								ID: node.GetID(),
    							},
    						},
    					},
    				})
    			}
    		}
    	}
    
    	return respDevs
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:13 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. pkg/controller/nodelifecycle/node_lifecycle_controller_test.go

    	const numNodes = 50
    	const podsPerNode = 100
    	makeNodes := func() []*v1.Node {
    		nodes := make([]*v1.Node, numNodes)
    		// Node created long time ago, with status updated by kubelet exceeds grace period.
    		// Expect pods status updated and Unknown node status posted from node controller
    		for i := 0; i < numNodes; i++ {
    			nodes[i] = &v1.Node{
    				ObjectMeta: metav1.ObjectMeta{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 03:26:45 UTC 2024
    - 119K bytes
    - Viewed (0)
  9. tensorflow/c/c_api.cc

          // TODO(b/74949947): turn this back into an error status
          LOG(WARNING) << mutation_warning;
          session->graph->sessions[session].clear();
        }
    
        const auto num_nodes = graph.num_node_ids();
        if (session->last_num_graph_nodes < num_nodes) {
          // TODO(nolivia): check this on a subset of the graph instead of all of
          // it.
          status->status = graph::ValidateGraphHasNoCycle(session->graph->graph);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  10. pkg/kubelet/apis/config/v1beta1/defaults_test.go

    				ShutdownGracePeriod:             metav1.Duration{Duration: 60 * time.Second},
    				ShutdownGracePeriodCriticalPods: metav1.Duration{Duration: 60 * time.Second},
    				ReservedMemory: []v1beta1.MemoryReservation{
    					{
    						NumaNode: 1,
    						Limits:   v1.ResourceList{v1.ResourceMemory: resource.MustParse("1Gi")},
    					},
    				},
    				EnableProfilingHandler:        utilpointer.Bool(true),
    				EnableDebugFlagsHandler:       utilpointer.Bool(true),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 51K bytes
    - Viewed (0)
Back to top