- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 185 for load64 (0.16 sec)
-
cmd/metrics-resource.go
cpuNice MetricName = "nice" cpuSteal MetricName = "steal" cpuLoad1 MetricName = "load1" cpuLoad5 MetricName = "load5" cpuLoad15 MetricName = "load15" cpuLoad1Perc MetricName = "load1_perc" cpuLoad5Perc MetricName = "load5_perc" cpuLoad15Perc MetricName = "load15_perc" ) var ( resourceCollector *minioResourceCollector // resourceMetricsMap is a map of subsystem to its metrics
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) -
cmd/metrics-v3-system-cpu.go
if cpuMetrics.LoadStat != nil { m.Set(sysCPULoad, cpuMetrics.LoadStat.Load1) perc := cpuMetrics.LoadStat.Load1 * 100 / float64(cpuMetrics.CPUCount) m.Set(sysCPULoadPerc, math.Round(perc*100)/100) } ts := cpuMetrics.TimesStat tot := ts.User + ts.System + ts.Idle + ts.Iowait + ts.Nice + ts.Steal cpuUserVal := math.Round(ts.User/tot*100*100) / 100 m.Set(sysCPUUser, cpuUserVal)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Apr 23 23:56:12 GMT 2024 - 3K bytes - Viewed (0) -
internal/grid/connection.go
} } for { // Handle the extremely unlikely scenario that we wrapped. if _, loaded := c.outgoing.LoadOrStore(client.MuxID, client); client.MuxID != 0 && !loaded { if debugReqs { _, found := c.outgoing.Load(client.MuxID) fmt.Println(client.MuxID, c.String(), "Connection.newMuxClient: RELOADED MUX. loaded:", loaded, "found:", found) } return client, nil } client.MuxID = atomic.AddUint64(&c.NextID, 1)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 42.6K bytes - Viewed (0) -
cmd/config.go
} // NewConfigSys - creates new config system object. func NewConfigSys() *ConfigSys { return &ConfigSys{} } // Initialize and load config from remote etcd or local config directory func initConfig(objAPI ObjectLayer) (err error) { bootstrapTraceMsg("load the configuration") defer func() { if err != nil { bootstrapTraceMsg(fmt.Sprintf("loading configuration failed: %v", err)) } }()
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Aug 23 10:07:06 GMT 2023 - 6K bytes - Viewed (0) -
internal/bucket/bandwidth/measurement.go
m.expMovingAvg = float64(bytesSinceLastWindow) / duration.Seconds() return } increment := float64(bytesSinceLastWindow) / duration.Seconds() m.expMovingAvg = exponentialMovingAverage(betaBucket, m.expMovingAvg, increment) } // exponentialMovingAverage calculates the exponential moving average func exponentialMovingAverage(beta, previousAvg, incrementAvg float64) float64 {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Jun 03 20:41:51 GMT 2023 - 2.9K bytes - Viewed (0) -
cmd/batch-rotate.go
batchLogIf(ctx, ri.updateAfter(ctx, api, 10*time.Second, job)) if success { break } if delay > 0 { time.Sleep(delay + time.Duration(rnd.Float64()*float64(delay))) } } if wait := globalBatchConfig.KeyRotationWait(); wait > 0 { time.Sleep(wait) } }() } wk.Wait() ri.Complete = ri.ObjectsFailed == 0
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 14.2K bytes - Viewed (0) -
internal/bucket/bandwidth/reader.go
r.opts.HeaderSize = 0 need = int(math.Min(float64(b-hdr), float64(need))) // use remaining tokens towards payload tokens = need + hdr } else { // part of header can be accommodated r.opts.HeaderSize -= b - 1 need = 1 // to ensure we read at least one byte for every Read tokens = b } } else { // all tokens go towards payload need = int(math.Min(float64(b), float64(need))) tokens = need }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Sep 06 03:21:59 GMT 2023 - 3.1K bytes - Viewed (0) -
cmd/dynamic-timeouts_test.go
wg.Add(1) rng := rand.New(rand.NewSource(int64(i))) go func() { defer wg.Done() for i := 0; i < 100; i++ { for j := 0; j < 100; j++ { timeout.LogSuccess(time.Duration(float64(time.Second) * rng.Float64())) } to := timeout.Timeout() if to < time.Millisecond || to > time.Second { panic(to) } } }() } wg.Wait() }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Oct 14 10:08:40 GMT 2022 - 5.4K bytes - Viewed (0) -
cmd/warm-backend-minio.go
return } configuredPartSize := minPartSize // Use floats for part size for all calculations to avoid // overflows during float64 to int64 conversions. partSizeFlt := float64(objectSize / maxPartsCount) partSizeFlt = math.Ceil(partSizeFlt/float64(configuredPartSize)) * float64(configuredPartSize) // Part size. partSize = int64(partSizeFlt) if partSize == 0 { return minPartSize, nil } return partSize, nil
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 21 11:43:18 GMT 2024 - 3.8K bytes - Viewed (0) -
cmd/peer-rest-client.go
return *resp, nil } // GetSRMetrics loads site replication metrics, optionally for a specific bucket func (client *peerRESTClient) GetSRMetrics() (SRMetricsSummary, error) { resp, err := getSRMetricsRPC.Call(context.Background(), client.gridConn(), grid.NewMSS()) if err != nil || resp == nil { return SRMetricsSummary{}, err } return *resp, nil } // GetAllBucketStats - load replication stats for all buckets
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)