- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for Netperf (0.74 sec)
-
cmd/peer-rest-client.go
} return *resp, nil } // DevNull - Used by netperf to pump data to peer func (client *peerRESTClient) DevNull(ctx context.Context, r io.Reader) error { respBody, err := client.callWithContext(ctx, peerRESTMethodDevNull, nil, r, -1) if err != nil { return err } defer xhttp.DrainBody(respBody) return err } // Netperf - To initiate netperf on peer
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 26.1K bytes - Viewed (0) -
cmd/notification.go
}, idx, *client.host) } nerrs := ng.Wait() if freeze { freezeServices() } else { unfreezeServices() } return nerrs } // Netperf - perform mesh style network throughput test func (sys *NotificationSys) Netperf(ctx context.Context, duration time.Duration) []madmin.NetperfNodeResult { length := len(sys.allPeerClients) if length == 0 { // For single node erasure setup. return nil
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 46K bytes - Viewed (0) -
cmd/perf-tests.go
func (m *netperfReader) Read(b []byte) (int, error) { select { case <-m.eof: return 0, io.EOF default: } n := copy(b, m.buf) atomic.AddUint64(&m.n, uint64(n)) return n, nil } func netperf(ctx context.Context, duration time.Duration) madmin.NetperfNodeResult { r := &netperfReader{eof: make(chan struct{})} r.buf = make([]byte, 128*humanize.KiByte) rand.Read(r.buf) connectionsPerPeer := 16
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 11.8K bytes - Viewed (0) -
cmd/admin-handlers-site-replication.go
} else { w.WriteHeader(http.StatusBadRequest) } break } } } // SiteReplicationNetPerf - everything goes to io.Discard // [POST] /minio/admin/v3/site-replication/netperf func (a adminAPIHandlers) SiteReplicationNetPerf(w http.ResponseWriter, r *http.Request) { durationStr := r.Form.Get(peerRESTDuration) duration, _ := time.ParseDuration(durationStr) if duration < globalNetPerfMinDuration {Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 19.4K bytes - Viewed (0) -
cmd/admin-handlers.go
// We need sample size of minimum 10 secs. duration = globalNetPerfMinDuration } duration = duration.Round(time.Second) results, err := globalSiteReplicationSys.Netperf(ctx, duration) if err != nil { writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(toAPIErrorCode(ctx, err)), r.URL) return } enc := json.NewEncoder(w) if err := enc.Encode(results); err != nil {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 99.7K bytes - Viewed (0) -
cmd/admin-router.go
adminAPIVersionPrefix = SlashSeparator + adminAPIVersion adminAPISiteReplicationDevNull = "/site-replication/devnull" adminAPISiteReplicationNetPerf = "/site-replication/netperf" adminAPIClientDevNull = "/speedtest/client/devnull" adminAPIClientDevExtraTime = "/speedtest/client/devnull/extratime" ) var gzipHandler = func() func(http.Handler) http.HandlerFunc {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 10 18:57:03 UTC 2025 - 26.7K bytes - Viewed (0) -
cmd/peer-rest-server.go
return } durationStr := r.Form.Get(peerRESTDuration) duration, err := time.ParseDuration(durationStr) if err != nil || duration.Seconds() == 0 { duration = time.Second * 10 } result := netperf(r.Context(), duration.Round(time.Second)) peersLogIf(r.Context(), gob.NewEncoder(w).Encode(result)) }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 53.6K bytes - Viewed (0) -
cmd/site-replication.go
if !reflect.DeepEqual(s[i], s[0]) { return errSRIAMConfigMismatch(peers[0].Name, peers[i].Name, s[0], s[i]) } } return nil } // Netperf for site-replication net perf func (c *SiteReplicationSys) Netperf(ctx context.Context, duration time.Duration) (results madmin.SiteNetPerfResult, err error) { infos, err := globalSiteReplicationSys.GetClusterInfo(ctx) if err != nil { return results, err
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 184.8K bytes - Viewed (1) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/GraphTest.java
Graph graph = new Graph(); graph.addEdge("a1", "a2"); assertThrows(Graph.CycleDetectedException.class, () -> graph.addEdge("a2", "a1")); } @Test public void testPerf() throws IOException { List<String[]> data = new ArrayList<>(); String k = null; for (String line : Files.readAllLines(Paths.get("src/test/resources/dag.txt"))) { if (line.startsWith("\t")) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 2K bytes - Viewed (0)