Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for numa_node (0.15 sec)

  1. tensorflow/c/env.cc

      options->guard_size = 0;
      options->numa_node = -1;
    }
    
    TF_Thread* TF_StartThread(const TF_ThreadOptions* options,
                              const char* thread_name, void (*work_func)(void*),
                              void* param) {
      ::tensorflow::ThreadOptions cc_options;
      cc_options.stack_size = options->stack_size;
      cc_options.guard_size = options->guard_size;
      cc_options.numa_node = options->numa_node;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 7K bytes
    - Viewed (0)
  2. tensorflow/c/env.h

      // that the system default will be used.
      size_t guard_size;
    
      // The NUMA node to use, -1 implies that there should be no NUMA affinity for
      // this thread.
      int numa_node;
    } TF_ThreadOptions;
    
    // Creates the specified directory. Typical status code are:
    //  * TF_OK - successfully created the directory
    //  * TF_ALREADY_EXISTS - directory already exists
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 09 02:53:27 UTC 2021
    - 9.6K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/internal_container_lifecycle_linux.go

    			containerConfig.Linux.Resources.CpusetCpus = allocatedCPUs.String()
    		}
    	}
    
    	if i.memoryManager != nil {
    		numaNodes := i.memoryManager.GetMemoryNUMANodes(pod, container)
    		if numaNodes.Len() > 0 {
    			var affinity []string
    			for _, numaNode := range sets.List(numaNodes) {
    				affinity = append(affinity, strconv.Itoa(numaNode))
    			}
    			containerConfig.Linux.Resources.CpusetMems = strings.Join(affinity, ",")
    		}
    	}
    
    	return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. pkg/kubelet/cm/cpumanager/topology/topology.go

    		}
    	}
    	return result
    }
    
    // NUMANodes returns all of the NUMANode IDs associated with the CPUs in this
    // CPUDetails.
    func (d CPUDetails) NUMANodes() cpuset.CPUSet {
    	var numaNodeIDs []int
    	for _, info := range d {
    		numaNodeIDs = append(numaNodeIDs, info.NUMANodeID)
    	}
    	return cpuset.New(numaNodeIDs...)
    }
    
    // NUMANodesInSockets returns all of the logical NUMANode IDs associated with
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 03 16:26:09 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  5. pkg/kubelet/apis/config/validation/validation_reserved_memory.go

    		return nil
    	}
    
    	var errors []error
    
    	numaTypeDuplicates := map[int32]map[v1.ResourceName]bool{}
    	for _, reservedMemory := range kc.ReservedMemory {
    		numaNode := reservedMemory.NumaNode
    		if _, ok := numaTypeDuplicates[numaNode]; !ok {
    			numaTypeDuplicates[numaNode] = map[v1.ResourceName]bool{}
    		}
    
    		for resourceName, q := range reservedMemory.Limits {
    			if !reservedMemorySupportedLimit(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)
  6. pkg/kubelet/apis/config/validation/validation_reserved_memory_test.go

    			kubeletConfiguration: &kubeletconfig.KubeletConfiguration{
    				ReservedMemory: []kubeletconfig.MemoryReservation{
    					{
    						NumaNode: 0,
    						Limits: v1.ResourceList{
    							v1.ResourceMemory: *resource.NewQuantity(128, resource.DecimalSI),
    						},
    					},
    					{
    						NumaNode: 0,
    						Limits: v1.ResourceList{
    							v1.ResourceMemory: *resource.NewQuantity(64, resource.DecimalSI),
    						},
    					},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 18 13:38:01 UTC 2021
    - 3.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/GraphMutationTest.java

    @RunWith(JUnit4.class)
    
    public final class GraphMutationTest {
      private static final int NUM_TRIALS = 50;
      private static final int NUM_NODES = 100;
      private static final int NUM_EDGES = 1000;
      private static final int NODE_POOL_SIZE = 1000; // must be >> NUM_NODES
    
      @Test
      public void directedGraph() {
        testGraphMutation(GraphBuilder.directed());
      }
    
      @Test
      public void undirectedGraph() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Aug 18 16:17:46 UTC 2017
    - 4.2K bytes
    - Viewed (0)
  8. pkg/util/flag/flags_test.go

    			expectVal: []kubeletconfig.MemoryReservation{
    				{
    					NumaNode: 0,
    					Limits: v1.ResourceList{
    						v1.ResourceMemory: memory1Gi,
    					},
    				},
    			},
    		},
    		{
    			desc: "valid input with multiple memory types",
    			argc: "blah --reserved-memory=0:memory=1Gi,hugepages-1Gi=1Gi",
    			expectVal: []kubeletconfig.MemoryReservation{
    				{
    					NumaNode: 0,
    					Limits: v1.ResourceList{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 14 10:45:23 UTC 2021
    - 8.8K bytes
    - Viewed (0)
  9. cluster/kubemark/gce/config-default.sh

    # NUM_NODES should not be specified by the user. Instead we use
    # NUM_NODES=KUBEMARK_AUTOSCALER_MAX_NODES. This gives other cluster components
    # (e.g. kubemark master, Heapster) enough resources to handle maximum cluster size.
    if [[ "${ENABLE_KUBEMARK_CLUSTER_AUTOSCALER}" == "true" ]]; then
      NUM_REPLICAS=1
      if [[ -n "$NUM_NODES" ]]; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 09 19:04:44 UTC 2021
    - 2.7K bytes
    - Viewed (0)
  10. tests/integration/create_cluster_gke.sh

    MACHINE_TYPE=${MACHINE_TYPE:-n1-standard-4}
    NUM_NODES=${NUM_NODES:-3}
    # Store the previous value (which may have been unset) so we can restore it on cleanup
    OLD_USE_CLIENT_CERT=$(gcloud config list 2>/dev/null | grep use_client_certificate | cut -d' ' -f3)
    
    function usage() {
      echo "${0} -p PROJECT [-z ZONE] [-c CLUSTER_NAME] [-v CLUSTER_VERSION] [-m MACHINE_TYPE] [-n NUM_NODES]"
      echo ''
      # shellcheck disable=SC2016
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 12 16:02:51 UTC 2022
    - 3.8K bytes
    - Viewed (0)
Back to top