Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 104 for numaux (0.25 sec)

  1. pkg/kubelet/cm/cpumanager/topology_hints_test.go

    				},
    			},
    		},
    		{
    			name:          "Request 11 CPUs, 4 available on NUMA 0, 6 available on NUMA 1",
    			pod:           *testPod4,
    			container:     *testContainer4,
    			defaultCPUSet: cpuset.New(2, 3, 4, 5, 6, 7, 8, 9, 10, 11),
    			expectedHints: nil,
    		},
    		{
    			name:          "Request 2 CPUs, 1 available on NUMA 0, 1 available on NUMA 1",
    			pod:           *testPod1,
    			container:     *testContainer1,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. pkg/kubelet/cm/memorymanager/state/state.go

    	// Cells contains the current NUMA node and all other nodes that are in a group with current NUMA node
    	// This parameter indicates if the current node is used for the multiple NUMA node memory allocation
    	// For example if some container has pinning 0,1,2, NUMA nodes 0,1,2 under the state will have
    	// this parameter equals to [0, 1, 2]
    	Cells []int `json:"cells"`
    }
    
    // NUMANodeMap contains memory information for each NUMA node.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 08 23:10:00 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  3. pkg/kubelet/apis/config/validation/validation_reserved_memory.go

    			}
    
    			// validates that the limit has non-zero value
    			if q.IsZero() {
    				errors = append(errors, fmt.Errorf("invalid configuration: reserved memory may not be zero for NUMA node %d and resource %q", numaNode, resourceName))
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 18 13:31:31 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/memorymanager/policy_static.go

    	if err != nil {
    		return err
    	}
    
    	machineState := s.GetMachineState()
    	bestHint := &hint
    	// topology manager returned the hint with NUMA affinity nil
    	// we should use the default NUMA affinity calculated the same way as for the topology manager
    	if hint.NUMANodeAffinity == nil {
    		defaultHint, err := p.getDefaultHint(machineState, pod, requestedResources)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Nov 12 07:34:55 UTC 2023
    - 34K bytes
    - Viewed (0)
  5. src/hash/adler32/adler32.go

    	return nil
    }
    
    // Add p to the running checksum d.
    func update(d digest, p []byte) digest {
    	s1, s2 := uint32(d&0xffff), uint32(d>>16)
    	for len(p) > 0 {
    		var q []byte
    		if len(p) > nmax {
    			p, q = p[:nmax], p[nmax:]
    		}
    		for len(p) >= 4 {
    			s1 += uint32(p[0])
    			s2 += s1
    			s1 += uint32(p[1])
    			s2 += s1
    			s1 += uint32(p[2])
    			s2 += s1
    			s1 += uint32(p[3])
    			s2 += s1
    			p = p[4:]
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 12 05:36:29 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/memorymanager/policy.go

    	// and is consulted to achieve NUMA aware resource alignment among this
    	// and other resource controllers.
    	GetTopologyHints(s state.State, pod *v1.Pod, container *v1.Container) map[string][]topologymanager.TopologyHint
    	// GetPodTopologyHints implements the topologymanager.HintProvider Interface
    	// and is consulted to achieve NUMA aware resource alignment among this
    	// and other resource controllers.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 05 17:52:25 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/topologymanager/numa_info_test.go

    		name        string
    		bm          []int
    		distance    NUMADistances
    		expectedAvg float64
    	}{
    		{
    			name: "1 NUMA node",
    			bm: []int{
    				0,
    			},
    			distance: NUMADistances{
    				0: {
    					10,
    				},
    			},
    			expectedAvg: 10,
    		},
    		{
    			name: "2 NUMA node, 1 set in bitmask",
    			bm: []int{
    				0,
    			},
    			distance: NUMADistances{
    				0: {
    					10,
    					11,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 09 16:52:14 UTC 2022
    - 11.6K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/cpumanager/policy.go

    	// and is consulted to achieve NUMA aware resource alignment among this
    	// and other resource controllers.
    	GetTopologyHints(s state.State, pod *v1.Pod, container *v1.Container) map[string][]topologymanager.TopologyHint
    	// GetPodTopologyHints implements the topologymanager.HintProvider Interface
    	// and is consulted to achieve NUMA aware resource alignment per Pod
    	// among this and other resource controllers.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/cpumanager/topology/topology.go

    type NUMANodeInfo map[int]cpuset.CPUSet
    
    // CPUDetails is a map from CPU ID to Core ID, Socket ID, and NUMA ID.
    type CPUDetails map[int]CPUInfo
    
    // CPUTopology contains details of node cpu, where :
    // CPU  - logical CPU, cadvisor - thread
    // Core - physical CPU, cadvisor - Core
    // Socket - socket, cadvisor - Socket
    // NUMA Node - NUMA cell, cadvisor - Node
    type CPUTopology struct {
    	NumCPUs      int
    	NumCores     int
    	NumSockets   int
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/memorymanager/memory_manager.go

    	// GetMemoryNUMANodes provides NUMA nodes that are used to allocate the container memory
    	GetMemoryNUMANodes(pod *v1.Pod, container *v1.Container) sets.Set[int]
    
    	// GetAllocatableMemory returns the amount of allocatable memory for each NUMA node
    	GetAllocatableMemory() []state.Block
    
    	// GetMemory returns the memory allocated by a container from NUMA nodes
    	GetMemory(podUID, containerName string) []state.Block
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 00:50:45 UTC 2023
    - 17.1K bytes
    - Viewed (0)
Back to top