Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for CPU (0.15 sec)

  1. cmd/metrics-v3-system-cpu.go

    	sysCPUAvgIdleMD   = NewGaugeMD(sysCPUAvgIdle, "Average CPU idle time")
    	sysCPUAvgIOWaitMD = NewGaugeMD(sysCPUAvgIOWait, "Average CPU IOWait time")
    	sysCPULoadMD      = NewGaugeMD(sysCPULoad, "CPU load average 1min")
    	sysCPULoadPercMD  = NewGaugeMD(sysCPULoadPerc, "CPU load average 1min (percentage)")
    	sysCPUNiceMD      = NewGaugeMD(sysCPUNice, "CPU nice time")
    	sysCPUStealMD     = NewGaugeMD(sysCPUSteal, "CPU steal time")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 3K bytes
    - Viewed (0)
  2. cmd/metrics-resource.go

    		cpuUser:           "CPU user time",
    		cpuSystem:         "CPU system time",
    		cpuIdle:           "CPU idle time",
    		cpuIOWait:         "CPU ioWait time",
    		cpuSteal:          "CPU steal time",
    		cpuNice:           "CPU nice time",
    		cpuLoad1:          "CPU load average 1min",
    		cpuLoad5:          "CPU load average 5min",
    		cpuLoad15:         "CPU load average 15min",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  3. cmd/metrics-realtime.go

    	}
    	if types.Contains(madmin.MetricsCPU) {
    		m.Aggregated.CPU = &madmin.CPUMetrics{
    			CollectedAt: UTCNow(),
    		}
    		cm, err := c.Times(false)
    		if err != nil {
    			m.Errors = append(m.Errors, fmt.Sprintf("%s: %v (cpuTimes)", byHostName, err.Error()))
    		} else {
    			// not collecting per-cpu stats, so there will be only one element
    			if len(cm) == 1 {
    				m.Aggregated.CPU.TimesStat = &cm[0]
    			} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 10 16:28:08 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  4. cmd/update.go

    			cpuMap[cpus[i].PhysicalID] = struct{}{}
    			coreMap[cpus[i].CoreID] = struct{}{}
    		}
    		cpu := cpus[0]
    		uaAppend(" CPU ", fmt.Sprintf("(total_cpus:%d, total_cores:%d; vendor:%s; family:%s; model:%s; stepping:%d; model_name:%s)",
    			len(cpuMap), len(coreMap), cpu.VendorID, cpu.Family, cpu.Model, cpu.Stepping, cpu.ModelName))
    	}
    	uaAppend(")", "")
    
    	return strings.Join(userAgentParts, "")
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  5. schema/naming.go

    	}
    	return formattedName
    }
    
    var (
    	// https://github.com/golang/lint/blob/master/lint.go#L770
    	commonInitialisms         = []string{"API", "ASCII", "CPU", "CSS", "DNS", "EOF", "GUID", "HTML", "HTTP", "HTTPS", "ID", "IP", "JSON", "LHS", "QPS", "RAM", "RHS", "RPC", "SLA", "SMTP", "SSH", "TLS", "TTL", "UID", "UI", "UUID", "URI", "URL", "UTF8", "VM", "XML", "XSRF", "XSS"}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Oct 30 09:15:49 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  6. cmd/license-update.go

    			// sleep for some time and try again.
    			duration := time.Duration(r.Float64() * float64(time.Hour))
    			if duration < time.Second {
    				// Make sure to sleep at least a second to avoid high CPU ticks.
    				duration = time.Second
    			}
    			time.Sleep(duration)
    		}
    	}()
    }
    
    func licenceUpdaterLoop(ctx context.Context, objAPI ObjectLayer) {
    	ctx, cancel := globalLeaderLock.GetLock(ctx)
    	defer cancel()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  7. internal/s3select/select_test.go

    		t.Run(testCase.name, func(t *testing.T) {
    			// Hack cpuid to the CPU doesn't appear to support AVX2.
    			// Restore whatever happens.
    			if cpuid.CPU.Supports(cpuid.AVX2) {
    				cpuid.CPU.Disable(cpuid.AVX2)
    				defer cpuid.CPU.Enable(cpuid.AVX2)
    			}
    			if simdjson.SupportedCPU() {
    				t.Fatal("setup error: expected cpu to be unsupported")
    			}
    			testReq := testCase.requestXML
    			if len(testReq) == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  8. cmd/bootstrap-peer-server.go

    				} else {
    					onlineServers++
    				}
    				mu.Unlock()
    			}(clnt)
    		}
    		wg.Wait()
    
    		select {
    		case <-ctx.Done():
    			return ctx.Err()
    		default:
    			// Sleep and stagger to avoid blocked CPU and thundering
    			// herd upon start up sequence.
    			time.Sleep(25*time.Millisecond + time.Duration(rand.Int63n(int64(100*time.Millisecond))))
    			retries++
    			// after 20 retries start logging that servers are not reachable yet
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  9. operator/cmd/mesh/manifest-generate_test.go

    	g := NewWithT(t)
    
    	flags := "-s components.ingressGateways.[0].k8s.resources.requests.memory=999Mi " +
    		"-s components.ingressGateways.[name:user-ingressgateway].k8s.resources.requests.cpu=555m"
    
    	objss, err := runManifestCommands("gateways", flags, liveCharts, nil)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	for _, objs := range objss {
    		g.Expect(objs.kind(name.HPAStr).size()).Should(Equal(3))
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
  10. cmd/peer-rest-client.go

    	resp, err := serverInfoRPC.Call(context.Background(), client.gridConn(), grid.NewMSSWith(map[string]string{peerRESTMetrics: strconv.FormatBool(metrics)}))
    	return resp.ValueOrZero(), err
    }
    
    // GetCPUs - fetch CPU information for a remote node.
    func (client *peerRESTClient) GetCPUs(ctx context.Context) (info madmin.CPUs, err error) {
    	resp, err := getCPUsHandler.Call(ctx, client.gridConn(), grid.NewMSS())
    	return resp.ValueOrZero(), err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
Back to top