Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for speedtest (0.06 sec)

  1. cmd/speedtest.go

    	"runtime"
    	"sort"
    	"time"
    
    	"github.com/minio/dperf/pkg/dperf"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/auth"
    	xioutil "github.com/minio/minio/internal/ioutil"
    )
    
    const speedTest = "speedtest"
    
    type speedTestOpts struct {
    	objectSize       int
    	concurrencyStart int
    	concurrency      int
    	duration         time.Duration
    	autotune         bool
    	storageClass     string
    	bucketName       string
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 27 15:19:03 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. cmd/admin-router.go

    		}
    
    		adminRouter.Methods(http.MethodPost).Path(adminVersion + "/speedtest").HandlerFunc(adminMiddleware(adminAPI.ObjectSpeedTestHandler, noGZFlag))
    		adminRouter.Methods(http.MethodPost).Path(adminVersion + "/speedtest/object").HandlerFunc(adminMiddleware(adminAPI.ObjectSpeedTestHandler, noGZFlag))
    		adminRouter.Methods(http.MethodPost).Path(adminVersion + "/speedtest/drive").HandlerFunc(adminMiddleware(adminAPI.DriveSpeedtestHandler, noGZFlag))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  3. cmd/perf-tests.go

    	xhttp "github.com/minio/minio/internal/http"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/pkg/v3/randreader"
    )
    
    // SpeedTestResult return value of the speedtest function
    type SpeedTestResult struct {
    	Endpoint      string
    	Uploads       uint64
    	Downloads     uint64
    	UploadTimes   madmin.TimeDurations
    	DownloadTimes madmin.TimeDurations
    	DownloadTTFB  madmin.TimeDurations
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    			defer deleteObjectPerfBucket(objectAPI)
    		}
    	}
    
    	if !noClear {
    		defer objectAPI.DeleteObject(ctx, customBucket, speedTest+SlashSeparator, ObjectOptions{
    			DeletePrefix: true,
    		})
    	}
    
    	// Freeze all incoming S3 API calls before running speedtest.
    	globalNotificationSys.ServiceFreeze(ctx, true)
    
    	// Unfreeze as soon as request context is canceled or when the function returns.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
  5. cmd/object-api-interface.go

    	DeletePrefixObject                  bool      // set true when object's erasure set is resolvable by object name (using getHashedSetIndex)
    
    	Speedtest bool // object call specifically meant for SpeedTest code, set to 'true' when invoked by SpeedtestHandler.
    
    	// Use the maximum parity (N/2), used when saving server configuration files
    	MaxParity bool
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  6. cmd/notification.go

    		results[len(results)-1].Endpoint = u.String()
    	}()
    	wg.Wait()
    
    	return results
    }
    
    // SpeedTest run GET/PUT tests at input concurrency for requested object size,
    // optionally you can extend the tests longer with time.Duration.
    func (sys *NotificationSys) SpeedTest(ctx context.Context, sopts speedTestOpts) []SpeedTestResult {
    	length := len(sys.allPeerClients)
    	if length == 0 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 45.9K bytes
    - Viewed (0)
  7. cmd/erasure-multipart.go

    	}
    
    	if !opts.Speedtest && len(versions) > 0 {
    		globalMRFState.addPartialOp(PartialOperation{
    			Bucket:    bucket,
    			Object:    object,
    			Queued:    time.Now(),
    			Versions:  versions,
    			SetIndex:  er.setIndex,
    			PoolIndex: er.poolIndex,
    		})
    	}
    
    	if !opts.Speedtest && len(versions) == 0 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 47.3K bytes
    - Viewed (0)
  8. cmd/object-api-options.go

    		opts.ProxyHeaderSet = true
    		opts.ProxyRequest = strings.Join(v, "") == "true"
    	}
    	if _, ok := header[xhttp.MinIOSourceReplicationRequest]; ok {
    		opts.ReplicationRequest = true
    	}
    	opts.Speedtest = header.Get(globalObjectPerfUserMetadata) != ""
    
    	if copySource {
    		if crypto.SSECopy.IsRequested(header) {
    			clientKey, err = crypto.SSECopy.ParseHTTP(header)
    			if err != nil {
    				return
    			}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Sep 06 17:34:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  9. cmd/erasure-object.go

    			// Object info is the same in all disks, so we can pick
    			// the first meta from online disk
    			fi = partsMetadata[i]
    			break
    		}
    	}
    
    	// For speedtest objects do not attempt to heal them.
    	if !opts.Speedtest {
    		// When there is versions disparity we are healing
    		// the content implicitly for all versions, we can
    		// avoid triggering another MRF heal for offline drives.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 80.4K bytes
    - Viewed (0)
  10. cmd/peer-rest-server.go

    				peersLogIf(ctx, err)
    			}
    		}
    		if err != nil {
    			break
    		}
    	}
    }
    
    // NetSpeedTestHandlers - perform network speedtest
    func (s *peerRESTServer) NetSpeedTestHandler(w http.ResponseWriter, r *http.Request) {
    	if !s.IsValid(w, r) {
    		s.writeErrorResponse(w, errors.New("invalid request"))
    		return
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 53.4K bytes
    - Viewed (0)
Back to top