Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 105 for cpuIDs (0.25 sec)

  1. pkg/kubelet/apis/config/validation/validation.go

    	}
    	if kc.ReservedSystemCPUs != "" {
    		// --reserved-cpus does not support --system-reserved-cgroup or --kube-reserved-cgroup
    		if kc.SystemReservedCgroup != "" || kc.KubeReservedCgroup != "" {
    			allErrors = append(allErrors, fmt.Errorf("invalid configuration: can't use reservedSystemCPUs (--reserved-cpus) with systemReservedCgroup (--system-reserved-cgroup) or kubeReservedCgroup (--kube-reserved-cgroup)"))
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 17:13:59 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  2. src/runtime/sema_test.go

    	// to another goroutine. Stop the current goroutine from migrating to
    	// another CPU where it can win the race (and appear to have not yielded) by
    	// keeping the CPUs slightly busy.
    	var wg sync.WaitGroup
    	for i := 0; i < GOMAXPROCS(-1); i++ {
    		wg.Add(1)
    		go func() {
    			defer wg.Done()
    			for {
    				select {
    				case <-done:
    					return
    				default:
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 21 19:37:22 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_cluster_util.h

    OptimizerOptions::GlobalJitLevel GetGlobalJitLevelForGraph(
        const GraphOptimizationPassOptions& options);
    
    // Returns true if `g` is a single-GPU graph.  A single-GPU graph uses exactly
    // one GPU (and any number of CPUs).
    bool IsSingleGpuGraph(const Graph& g);
    
    // Returns true if it is possible (but not guaranteed) that `n` calls a
    // function.
    bool MayCallFunction(const Node& n, const FunctionLibraryDefinition* flib_def);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. src/internal/cpu/cpu.go

    // This should not be changed after it is initialized.
    var DebugOptions bool
    
    // CacheLinePad is used to pad structs to avoid false sharing.
    type CacheLinePad struct{ _ [CacheLinePadSize]byte }
    
    // CacheLineSize is the CPU's assumed cache line size.
    // There is currently no runtime detection of the real cache line size
    // so we use the constant per GOARCH CacheLinePadSize as an approximation.
    var CacheLineSize uintptr = CacheLinePadSize
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. src/hash/crc64/crc64.go

    			helperTable = slicing8TableISO
    			// For smaller sizes creating extended table takes too much time
    		} else if len(p) >= 2048 {
    			// According to the tests between various x86 and arm CPUs, 2k is a reasonable
    			// threshold for now. This may change in the future.
    			helperTable = makeSlicingBy8Table(tab)
    		} else {
    			break
    		}
    		// Update using slicing-by-8
    		for len(p) > 8 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 22:36:41 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go

    		// syscall expects a NULL-terminated string.
    		cmdlineLen++
    	}
    	return kexecFileLoad(kernelFd, initrdFd, cmdlineLen, cmdline, flags)
    }
    
    //sys	riscvHWProbe(pairs []RISCVHWProbePairs, cpuCount uintptr, cpus *CPUSet, flags uint) (err error)
    
    func RISCVHWProbe(pairs []RISCVHWProbePairs, set *CPUSet, flags uint) (err error) {
    	var setSize uintptr
    
    	if set != nil {
    		setSize = uintptr(unsafe.Sizeof(*set))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  7. pilot/cmd/pilot-agent/config/config.go

    	}
    
    	// Concurrency wasn't explicitly set
    	if proxyConfig.Concurrency == nil {
    		// We want to detect based on CPU limit configured. If we are running on a 100 core machine, but with
    		// only 2 CPUs allocated, we want to have 2 threads, not 100, or we will get excessively throttled.
    		if CPULimit != 0 {
    			log.Infof("cpu limit detected as %v, setting concurrency", CPULimit)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. src/runtime/os_openbsd.go

    func internal_cpu_sysctlUint64(mib []uint32) (uint64, bool) {
    	return sysctlUint64(mib)
    }
    
    func getncpu() int32 {
    	// Try hw.ncpuonline first because hw.ncpu would report a number twice as
    	// high as the actual CPUs running on OpenBSD 6.4 with hyperthreading
    	// disabled (hw.smt=0). See https://golang.org/issue/30127
    	if n, ok := sysctlInt([]uint32{_CTL_HW, _HW_NCPUONLINE}); ok {
    		return int32(n)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go

    func riscvHWProbe(pairs []RISCVHWProbePairs, cpuCount uintptr, cpus *CPUSet, flags uint) (err error) {
    	var _p0 unsafe.Pointer
    	if len(pairs) > 0 {
    		_p0 = unsafe.Pointer(&pairs[0])
    	} else {
    		_p0 = unsafe.Pointer(&_zero)
    	}
    	_, _, e1 := Syscall6(SYS_RISCV_HWPROBE, uintptr(_p0), uintptr(len(pairs)), uintptr(cpuCount), uintptr(unsafe.Pointer(cpus)), uintptr(flags), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 14.2K bytes
    - Viewed (0)
  10. maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            assertThrows(IllegalArgumentException.class, () -> cli.calculateDegreeOfConcurrency("XXXC"));
    
            int cpus = Runtime.getRuntime().availableProcessors();
            assertEquals((int) (cpus * 2.2), cli.calculateDegreeOfConcurrency("2.2C"));
            assertEquals(1, cli.calculateDegreeOfConcurrency("0.0001C"));
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 28.3K bytes
    - Viewed (0)
Back to top