Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 60 for num_nodes (0.15 sec)

  1. 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)
  2. pkg/scheduler/internal/cache/snapshot.go

    	return s
    }
    
    // StorageInfos returns a StorageInfoLister.
    func (s *Snapshot) StorageInfos() framework.StorageInfoLister {
    	return s
    }
    
    // NumNodes returns the number of nodes in the snapshot.
    func (s *Snapshot) NumNodes() int {
    	return len(s.nodeInfoList)
    }
    
    // List returns the list of nodes in the snapshot.
    func (s *Snapshot) List() ([]*framework.NodeInfo, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 01:38:03 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  3. 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)
  4. pkg/scheduler/internal/cache/cache.go

    	snapshot.havePodsWithRequiredAntiAffinityNodeInfoList = make([]*framework.NodeInfo, 0, cache.nodeTree.numNodes)
    	snapshot.usedPVCSet = sets.New[string]()
    	if updateAll {
    		// Take a snapshot of the nodes order in the tree
    		snapshot.nodeInfoList = make([]*framework.NodeInfo, 0, cache.nodeTree.numNodes)
    		nodesList, err := cache.nodeTree.list()
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 09:56:48 UTC 2023
    - 24.9K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/native-binaries/visual-studio/groovy/build.gradle

    model {
        visualStudio {
            solution { solution ->
                solutionFile.withContent { content ->
                    def sourceControlSection = """
        GlobalSection(SolutionNotes) = postSolution
            NumNotes = 2
            Name1 = FirstNote
            Issue1 = N
            Text1 = This is a shared note.
            Name2 = SecondNote
            Issue2 = N
            Text2 = The projects in this solution are ${projects*.name}.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/volumezone/volume_zone_test.go

    	tests := []struct {
    		Name      string
    		Pod       *v1.Pod
    		NumPV     int
    		NumPVC    int
    		NumNodes  int
    		PreFilter bool
    	}{
    		{
    			Name:      "with prefilter",
    			Pod:       createPodWithVolume("pod_0", "PVC_Stable_0"),
    			NumPV:     1000,
    			NumPVC:    1000,
    			NumNodes:  1000,
    			PreFilter: true,
    		},
    		{
    			Name:      "without prefilter",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 14 05:17:04 UTC 2023
    - 20K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/memorymanager/policy_static.go

    	var numaNodes []int
    	for n := range machineState {
    		numaNodes = append(numaNodes, n)
    	}
    	sort.Ints(numaNodes)
    
    	// Initialize minAffinitySize to include all NUMA Cells.
    	minAffinitySize := len(numaNodes)
    
    	hints := map[string][]topologymanager.TopologyHint{}
    	bitmask.IterateBitMasks(numaNodes, func(mask bitmask.BitMask) {
    		maskBits := mask.GetBits()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Nov 12 07:34:55 UTC 2023
    - 34K bytes
    - Viewed (0)
  8. pkg/scheduler/internal/cache/cache_test.go

    	if len(snapshot.nodeInfoList) != cache.nodeTree.numNodes {
    		return fmt.Errorf("unexpected number of nodes in NodeInfoList. Expected: %v, got: %v", cache.nodeTree.numNodes, len(snapshot.nodeInfoList))
    	}
    
    	expectedNodeInfoList := make([]*framework.NodeInfo, 0, cache.nodeTree.numNodes)
    	expectedHavePodsWithAffinityNodeInfoList := make([]*framework.NodeInfo, 0, cache.nodeTree.numNodes)
    	expectedUsedPVCSet := sets.New[string]()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 01:38:03 UTC 2023
    - 63.8K bytes
    - Viewed (0)
  9. tensorflow/c/kernels_experimental.cc

      // DT_VARIANT tensors must be allocated on CPU since they wrap C++
      // objects which can not be efficiently represented in GPU memory.
      int numa_node = cc_ctx->device()->NumaNode();
      Tensor out(::tensorflow::cpu_allocator(numa_node), ::tensorflow::DT_VARIANT,
                 ::tensorflow::TensorShape({}));
      Variant* out_v = &(out.scalar<Variant>()());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ir/fmt.go

    //	%.v	Go syntax, comma-separated
    //	%+v	Debug syntax, as in DumpList.
    func (l Nodes) Format(s fmt.State, verb rune) {
    	if s.Flag('+') && verb == 'v' {
    		// %+v is DumpList output
    		dumpNodes(s, l, 1)
    		return
    	}
    
    	if verb != 'v' {
    		fmt.Fprintf(s, "%%!%c(Nodes)", verb)
    		return
    	}
    
    	sep := "; "
    	if _, ok := s.Precision(); ok { // %.v is expr list
    		sep = ", "
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 26K bytes
    - Viewed (0)
Back to top