Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for siteNetperf (0.06 sec)

  1. cmd/perf-tests.go

    	}
    
    	globalNetPerfRX.Reset()
    	return madmin.NetperfNodeResult{Endpoint: "", TX: r.n / uint64(duration.Seconds()), RX: uint64(rx / delta.Seconds()), Error: errStr}
    }
    
    func siteNetperf(ctx context.Context, duration time.Duration) madmin.SiteNetPerfNodeResult {
    	r := &netperfReader{eof: make(chan struct{})}
    	r.buf = make([]byte, 128*humanize.KiByte)
    	rand.Read(r.buf)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. cmd/admin-handlers-site-replication.go

    	durationStr := r.Form.Get(peerRESTDuration)
    	duration, _ := time.ParseDuration(durationStr)
    	if duration < globalNetPerfMinDuration {
    		duration = globalNetPerfMinDuration
    	}
    	result := siteNetperf(r.Context(), duration)
    	adminLogIf(r.Context(), gob.NewEncoder(w).Encode(result))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    	if err != nil {
    		return results, err
    	}
    	var wg sync.WaitGroup
    	var resultsMu sync.RWMutex
    	for _, info := range infos.Sites {
    		info := info
    		// will call siteNetperf, means call others's adminAPISiteReplicationDevNull
    		if globalDeploymentID() == info.DeploymentID {
    			wg.Add(1)
    			go func() {
    				defer wg.Done()
    				result := madmin.SiteNetPerfNodeResult{}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top