Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for cpus (0.65 sec)

  1. cmd/bucket-replication.go

    			<-ctx.Done()
    			return
    		}
    		duration := time.Duration(r.Float64() * float64(time.Minute))
    		if duration < time.Second {
    			// Make sure to sleep at least a second to avoid high CPU ticks.
    			duration = time.Second
    		}
    		time.Sleep(duration)
    	}
    }
    
    // Loads bucket replication resync statuses into memory.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  2. cmd/site-replication.go

    		duration := time.Duration(r.Float64() * float64(time.Minute))
    		if duration < time.Second {
    			// Make sure to sleep at least a second to avoid high CPU ticks.
    			duration = time.Second
    		}
    		time.Sleep(duration)
    	}
    	c.RLock()
    	defer c.RUnlock()
    	if c.enabled {
    		logger.Info("Cluster replication initialized")
    	}
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  3. cmd/metrics-v3.go

    	systemDriveCollectorPath            collectorPath = "/system/drive"
    	systemMemoryCollectorPath           collectorPath = "/system/memory"
    	systemCPUCollectorPath              collectorPath = "/system/cpu"
    	systemProcessCollectorPath          collectorPath = "/system/process"
    	systemGoCollectorPath               collectorPath = "/system/go"
    
    	clusterHealthCollectorPath       collectorPath = "/cluster/health"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  4. cmd/erasure-sets.go

    	erasureLockOwner string
    
    	// List of endpoints provided on the command line.
    	endpoints PoolEndpoints
    
    	// String version of all the endpoints, an optimization
    	// to avoid url.String() conversion taking CPU on
    	// large disk setups.
    	endpointStrings []string
    
    	// Total number of sets and the number of disks per set.
    	setCount, setDriveCount int
    	defaultParityCount      int
    
    	poolIndex int
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
  5. cmd/data-scanner.go

    		for {
    			runDataScanner(ctx, objAPI)
    			duration := time.Duration(r.Float64() * float64(scannerCycle.Load()))
    			if duration < time.Second {
    				// Make sure to sleep at least a second to avoid high CPU ticks.
    				duration = time.Second
    			}
    			time.Sleep(duration)
    		}
    	}()
    }
    
    func getCycleScanMode(currentCycle, bitrotStartCycle uint64, bitrotStartTime time.Time) madmin.HealScanMode {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
  6. cmd/utils.go

    	switch madmin.ProfilerType(profilerType) {
    	case madmin.ProfilerCPU:
    		dirPath, err := os.MkdirTemp("", "profile")
    		if err != nil {
    			return nil, err
    		}
    		fn := filepath.Join(dirPath, "cpu.out")
    		f, err := Create(fn)
    		if err != nil {
    			return nil, err
    		}
    		err = pprof.StartCPUProfile(f)
    		if err != nil {
    			return nil, err
    		}
    		prof.stopFn = func() ([]byte, error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
Back to top