Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 81 for latency (0.19 sec)

  1. internal/grid/benchmark_test.go

    						resp, err := conn.Request(ctx, handlerTest, payload)
    						latency += time.Since(t).Nanoseconds()
    						if err != nil {
    							if debugReqs {
    								fmt.Println(err.Error())
    							}
    							b.Fatal(err.Error())
    						}
    						PutByteBuffer(resp)
    						n++
    					}
    					atomic.AddInt64(&ops, int64(n))
    					atomic.AddInt64(&lat, latency)
    				})
    				spent := time.Since(t)
    				if spent > 0 && n > 0 {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 12.2K bytes
    - Viewed (0)
  2. cmd/site-replication-metrics.go

    			metric.TotalDowntime = epHealth.offlineDuration
    			metric.LastOnline = epHealth.lastOnline
    			metric.Online = epHealth.Online
    			metric.Latency = madmin.LatencyStat{
    				Curr: epHealth.latency.curr,
    				Avg:  epHealth.latency.avg,
    				Max:  epHealth.latency.peak,
    			}
    		}
    		m[dID] = metric
    	}
    	return m
    }
    
    func (srs *SRStatus) updateXferRate(sz int64, duration time.Duration) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  3. cmd/bucket-targets.go

    					if hs, ok := h[t.URL().Host]; ok {
    						t.TotalDowntime = hs.offlineDuration
    						t.Online = hs.Online
    						t.LastOnline = hs.lastOnline
    						t.Latency = madmin.LatencyStat{
    							Curr: hs.latency.curr,
    							Avg:  hs.latency.avg,
    							Max:  hs.latency.peak,
    						}
    					}
    					targets = append(targets, t.Clone())
    				}
    			}
    		}
    		return targets
    	}
    	sys.RLock()
    	defer sys.RUnlock()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  4. cmd/data-scanner-metric.go

    		if s < scannerMetricLastRealtime {
    			p.latency[s].addSize(duration, int64(sz))
    		}
    	}
    }
    
    // incTime will increment time on metric s with a specific duration.
    // Use for s < scannerMetricLastRealtime
    func (p *scannerMetrics) incTime(s scannerMetric, d time.Duration) {
    	atomic.AddUint64(&p.operations[s], 1)
    	if s < scannerMetricLastRealtime {
    		p.latency[s].add(d)
    	}
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Sep 25 05:15:31 GMT 2023
    - 9.1K bytes
    - Viewed (0)
  5. cmd/bucket-stats_gen.go

    				err = msgp.WrapError(err, "ReplicatedCount")
    				return
    			}
    		case "Latency":
    			var zb0002 uint32
    			zb0002, err = dc.ReadMapHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "Latency")
    				return
    			}
    			for zb0002 > 0 {
    				zb0002--
    				field, err = dc.ReadMapKeyPtr()
    				if err != nil {
    					err = msgp.WrapError(err, "Latency")
    					return
    				}
    				switch msgp.UnsafeString(field) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 57.5K bytes
    - Viewed (0)
  6. cmd/site-replication-metrics_gen.go

    				return
    			}
    		case "Online":
    			z.Online, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "Online")
    				return
    			}
    		case "Latency":
    			err = z.Latency.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "Latency")
    				return
    			}
    		case "ReplicatedSize":
    			z.ReplicatedSize, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "ReplicatedSize")
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 40.6K bytes
    - Viewed (0)
  7. cmd/bucket-stats.go

    	"github.com/minio/madmin-go/v3"
    )
    
    //go:generate msgp -file $GOFILE
    
    // ReplicationLatency holds information of bucket operations latency, such us uploads
    type ReplicationLatency struct {
    	// Single & Multipart PUTs latency
    	UploadHistogram LastMinuteHistogram
    }
    
    // Merge two replication latency into a new one
    func (rl ReplicationLatency) merge(other ReplicationLatency) (newReplLatency ReplicationLatency) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  8. istioctl/pkg/metrics/metrics.go

    }
    
    func printHeader(writer io.Writer) {
    	w := tabwriter.NewWriter(writer, 13, 1, 2, ' ', tabwriter.AlignRight)
    	_, _ = fmt.Fprintf(w, "%40s\tTOTAL RPS\tERROR RPS\tP50 LATENCY\tP90 LATENCY\tP99 LATENCY\t\n", "WORKLOAD")
    	_ = w.Flush()
    }
    
    func printMetrics(writer io.Writer, wm workloadMetrics) {
    	w := tabwriter.NewWriter(writer, 13, 1, 2, ' ', tabwriter.AlignRight)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  9. cmd/os-instrumented.go

    	// All fields must be accessed atomically and aligned.
    	operations [osMetricLast]uint64
    	latency    [osMetricLast]lockedLastMinuteLatency
    }
    
    // time an os action.
    func (o *osMetrics) time(s osMetric) func() {
    	startTime := time.Now()
    	return func() {
    		duration := time.Since(startTime)
    
    		atomic.AddUint64(&o.operations[s], 1)
    		o.latency[s].add(duration)
    	}
    }
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  10. cmd/bucket-replication-stats.go

    				Failed:          fstats.toMetric(),
    				FailStats:       fstats,
    				ReplicatedSize:  stat.ReplicatedSize + oldst.ReplicatedSize,
    				ReplicatedCount: stat.ReplicatedCount + oldst.ReplicatedCount,
    				Latency:         stat.Latency.merge(oldst.Latency),
    				XferRateLrg:     &lrg,
    				XferRateSml:     &sml,
    			}
    			totReplicatedSize += stat.ReplicatedSize
    			totReplicatedCount += stat.ReplicatedCount
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
Back to top