Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for KiByte (0.05 sec)

  1. cmd/erasure-healing_test.go

    		name     string
    		dataSize int64
    	}{
    		{"4KiB", 4 * humanize.KiByte},
    		{"64KiB", 64 * humanize.KiByte},
    		{"128KiB", 128 * humanize.KiByte},
    		{"1MiB", 1 * humanize.MiByte},
    		{"5MiB", 5 * humanize.MiByte},
    		{"10MiB", 10 * humanize.MiByte},
    		{"5MiB-1KiB", 5*humanize.MiByte - 1*humanize.KiByte},
    		{"10MiB-1Kib", 10*humanize.MiByte - 1*humanize.KiByte},
    	}
    
    	for _, test := range tests {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  2. cmd/peer-rest-server.go

    	fileSizeStr := r.Form.Get("filesize")
    
    	blockSize, err := strconv.ParseUint(blockSizeStr, 10, 64)
    	if err != nil {
    		blockSize = 4 * humanize.MiByte // default value
    	}
    
    	fileSize, err := strconv.ParseUint(fileSizeStr, 10, 64)
    	if err != nil {
    		fileSize = 1 * humanize.GiByte // default value
    	}
    
    	opts := madmin.DriveSpeedTestOpts{
    		Serial:    serial,
    		BlockSize: blockSize,
    		FileSize:  fileSize,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  3. cmd/xl-storage.go

    	smallFileThreshold = 128 * humanize.KiByte // Optimized for NVMe/SSDs
    
    	// For hardrives it is possible to set this to a lower value to avoid any
    	// spike in latency. But currently we are simply keeping it optimal for SSDs.
    
    	// bigFileThreshold is the point where we add readahead to put operations.
    	bigFileThreshold = 128 * humanize.MiByte
    
    	// XL metadata file carries per object metadata.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/lifecycle_test.go

    				set:                true,
    				ObjectSizeLessThan: 100 * humanize.MiByte,
    			},
    			Expiration: Expiration{
    				set:  true,
    				Days: 1,
    			},
    		},
    		{
    			ID:     "rule-with-sz-gt",
    			Status: "Enabled",
    			Filter: Filter{
    				set:                   true,
    				ObjectSizeGreaterThan: 1 * humanize.MiByte,
    			},
    			Expiration: Expiration{
    				set:  true,
    				Days: 1,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  5. cmd/object-api-multipart_test.go

    func BenchmarkPutObjectPart5MbFS(b *testing.B) {
    	benchmarkPutObjectPart(b, "FS", 5*humanize.MiByte)
    }
    
    // BenchmarkPutObjectPart5MbErasure - Benchmark Erasure.PutObjectPart() for object size of 5MB.
    func BenchmarkPutObjectPart5MbErasure(b *testing.B) {
    	benchmarkPutObjectPart(b, "Erasure", 5*humanize.MiByte)
    }
    
    // BenchmarkPutObjectPart10MbFS - Benchmark FS.PutObjectPart() for object size of 10MB.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  6. cmd/batch-handlers.go

    	ctx := r.Context()
    
    	objectAPI, creds := validateAdminReq(ctx, w, r, policy.StartBatchJobAction)
    	if objectAPI == nil {
    		return
    	}
    
    	buf, err := io.ReadAll(ioutil.HardLimitReader(r.Body, humanize.MiByte*4))
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	user := creds.AccessKey
    	if creds.ParentUser != "" {
    		user = creds.ParentUser
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
Back to top