- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 60 for num_nodes (0.14 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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)