Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 122 for topology (0.15 sec)

  1. pkg/test/framework/components/environment/kube/flags.go

    		return nil, nil
    	}
    	return topology, nil
    }
    
    func parseClusterTopology(topology string) (clusterTopology, error) {
    	if topology == "" {
    		return nil, nil
    	}
    	out := make(clusterTopology)
    
    	values := strings.Split(topology, ",")
    	for _, v := range values {
    		parts := strings.Split(v, ":")
    		if len(parts) != 2 {
    			return nil, fmt.Errorf("failed parsing topology mapping entry %s", v)
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/topologymanager/numa_info_test.go

    				t.Errorf("Unexpected error message. Have: %s wants %s", err.Error(), tcase.expectedErr.Error())
    			}
    		}
    
    		if !reflect.DeepEqual(topology, tcase.expectedNUMAInfo) {
    			t.Fatalf("Expected topology to equal %v, not %v", tcase.expectedNUMAInfo, topology)
    		}
    
    	}
    }
    
    func TestCalculateAvgDistanceFor(t *testing.T) {
    	tcases := []struct {
    		name        string
    		bm          []int
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 16:52:14 UTC 2022
    - 11.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tpu_validate_inputs.mlir

      %0:2 = tf_executor.graph {
        %control = tf_executor.island() wraps "tf.TPUReplicateMetadata"() {_tpu_replicate = "cluster", device = "/device:TPU:0", num_replicas = 2, topology = "topology"} : () -> ()
        %ri, %c0 = tf_executor.island wraps "tf.TPUReplicatedInput"(%arg0, %arg1) {index = 1 : i64, is_mirrored_variable = false, is_packed = false} : (tensor<i32>, tensor<i32>) -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 06:51:01 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/loadbalancer/loadbalancer_test.go

    			expected         []*endpoint.LocalityLbEndpoints
    		}{
    			{
    				name:             "match none label",
    				failoverPriority: []string{"topology.istio.io/network", "topology.istio.io/cluster"},
    				proxyLabels: map[string]string{
    					"topology.istio.io/network": "test",
    					"topology.istio.io/cluster": "test",
    				},
    				expected: []*endpoint.LocalityLbEndpoints{
    					{
    						Locality: &core.Locality{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/cpumanager/topology_hints_test.go

    			}
    			activePods = append(activePods, &pod)
    		}
    
    		m := manager{
    			policy: &staticPolicy{
    				topology: topology,
    			},
    			state: &mockState{
    				assignments:   tc.assignments,
    				defaultCPUSet: tc.defaultCPUSet,
    			},
    			topology:          topology,
    			activePods:        func() []*v1.Pod { return activePods },
    			podStatusProvider: mockPodStatusProvider{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/volumebinding/volume_binding_test.go

    					withLabel("topology.kubernetes.io/region", "region-b").
    					withLabel("topology.kubernetes.io/zone", "zone-b").Node,
    				makeNode("zone-c-node-a").
    					withLabel("topology.kubernetes.io/region", "region-c").
    					withLabel("topology.kubernetes.io/zone", "zone-c").Node,
    				makeNode("zone-c-node-b").
    					withLabel("topology.kubernetes.io/region", "region-c").
    					withLabel("topology.kubernetes.io/zone", "zone-c").Node,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 32K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/devicemanager/topology_hints.go

    	}
    
    	return deviceHints
    }
    
    func (m *ManagerImpl) deviceHasTopologyAlignment(resource string) bool {
    	// If any device has Topology NUMANodes available, we assume they care about alignment.
    	for _, device := range m.allDevices[resource] {
    		if device.Topology != nil && len(device.Topology.Nodes) > 0 {
    			return true
    		}
    	}
    	return false
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 27 02:10:25 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/podtopologyspread/plugin.go

    		// - Add. An unschedulable Pod may fail due to violating topology spread constraints,
    		// adding an assigned Pod may make it schedulable.
    		// - Update. Updating on an existing Pod's labels (e.g., removal) may make
    		// an unschedulable Pod schedulable.
    		// - Delete. An unschedulable Pod may fail due to violating an existing Pod's topology spread constraints,
    		// deleting an existing Pod may make it schedulable.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/cpumanager/policy_static.go

    // applications running within exclusively-allocated containers must tolerate
    // potentially sharing their allocated CPUs for up to the CPU manager
    // reconcile period.
    type staticPolicy struct {
    	// cpu socket topology
    	topology *topology.CPUTopology
    	// set of CPUs that is not available for exclusive assignment
    	reservedCPUs cpuset.CPUSet
    	// Superset of reservedCPUs. It includes not just the reservedCPUs themselves,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 06 13:16:15 UTC 2023
    - 28.8K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/podtopologyspread/scoring.go

    // the number of values that exist for a topology.
    // Since <size> is at least 1 (all nodes that passed the Filters are in the
    // same topology), and k8s supports 5k nodes, the result is in the interval
    // <1.09, 8.52>.
    //
    // Note: <size> could also be zero when no nodes have the required topologies,
    // however we don't care about topology weight in this case as we return a 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 10.1K bytes
    - Viewed (0)
Back to top