Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 41 for num_nodes (3.82 sec)

  1. 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)
  2. 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)
  3. src/compress/flate/inflate.go

    	// additional proviso in section 3.2.5 which implies that distance codes
    	// 30 and 31 should never occur in compressed data.
    	maxNumLit  = 286
    	maxNumDist = 30
    	numCodes   = 19 // number of codes in Huffman meta-code
    )
    
    // Initialize the fixedHuffmanDecoder only once upon first use.
    var fixedOnce sync.Once
    var fixedHuffmanDecoder huffmanDecoder
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 23:20:03 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. tensorflow/c/experimental/stream_executor/stream_executor.cc

        if (device_.pci_bus_id != nullptr) {
          builder.set_pci_bus_id(device_.pci_bus_id);
        }
    
        if (device_fns_->get_numa_node != nullptr) {
          int32_t numa_node = device_fns_->get_numa_node(&device_);
          if (numa_node >= 0) {
            builder.set_numa_node(numa_node);
          }
        }
    
        if (device_fns_->get_memory_bandwidth != nullptr) {
          int64_t memory_bandwidth = device_fns_->get_memory_bandwidth(&device_);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. tensorflow/c/experimental/stream_executor/stream_executor_test.cc

      ASSERT_EQ(description.name(), "TestName");
      ASSERT_EQ(description.device_vendor(), "TestVendor");
      ASSERT_EQ(description.pci_bus_id(), "TestPCIBusId");
      ASSERT_EQ(description.numa_node(), 123);
      ASSERT_EQ(description.memory_bandwidth(), 54);
    }
    
    TEST_F(StreamExecutorTest, DeviceDescriptionNumaNodeNotSet) {
      static const char* hardware_name = "TestName";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 19:54:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsysctl_openbsd_amd64.go

    	{"kern.nfiles", []_C_int{1, 56}},
    	{"kern.ngroups", []_C_int{1, 18}},
    	{"kern.nosuidcoredump", []_C_int{1, 32}},
    	{"kern.nprocs", []_C_int{1, 47}},
    	{"kern.nthreads", []_C_int{1, 26}},
    	{"kern.numvnodes", []_C_int{1, 58}},
    	{"kern.osrelease", []_C_int{1, 2}},
    	{"kern.osrevision", []_C_int{1, 3}},
    	{"kern.ostype", []_C_int{1, 1}},
    	{"kern.osversion", []_C_int{1, 27}},
    	{"kern.pfstatus", []_C_int{1, 86}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 11.9K bytes
    - Viewed (0)
Back to top