Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for drives_count (0.13 sec)

  1. cmd/metrics-v3-cluster-health.go

    package cmd
    
    import "context"
    
    const (
    	healthDrivesOfflineCount = "drives_offline_count"
    	healthDrivesOnlineCount  = "drives_online_count"
    	healthDrivesCount        = "drives_count"
    )
    
    var (
    	healthDrivesOfflineCountMD = NewGaugeMD(healthDrivesOfflineCount,
    		"Count of offline drives in the cluster")
    	healthDrivesOnlineCountMD = NewGaugeMD(healthDrivesOnlineCount,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. internal/config/storageclass/storage-class_test.go

    		}
    		// Set env var for test case 6
    		if i+1 == 6 {
    			scfg.Standard.Parity = 7
    		}
    		parity := scfg.GetParityForSC(tt.sc)
    		if (tt.drivesCount - parity) != tt.expectedData {
    			t.Errorf("Test %d, Expected data drives %d, got %d", i+1, tt.expectedData, tt.drivesCount-parity)
    			continue
    		}
    		if parity != tt.expectedParity {
    			t.Errorf("Test %d, Expected parity drives %d, got %d", i+1, tt.expectedParity, parity)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. cmd/metrics-v3-system-drive.go

    	driveWaitingIO               = "waiting_io"
    	driveAPILatencyMicros        = "api_latency_micros"
    	driveHealth                  = "health"
    
    	driveOfflineCount = "offline_count"
    	driveOnlineCount  = "online_count"
    	driveCount        = "count"
    
    	// iostat related
    	driveReadsPerSec    = "reads_per_sec"
    	driveReadsKBPerSec  = "reads_kb_per_sec"
    	driveReadsAwait     = "reads_await"
    	driveWritesPerSec   = "writes_per_sec"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun May 12 17:23:50 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. cmd/handler-api.go

    		if legacy {
    			// ram_per_request is (1MiB+32KiB) * driveCount \
    			//    + 2 * 10MiB (default erasure block size v1) + 2 * 1MiB (default erasure block size v2)
    			apiRequestsMaxPerNode = int(maxMem / uint64(maxSetDrives*blockSize+int(blockSizeV1*2+blockSizeV2*2)))
    		} else {
    			// ram_per_request is (1MiB+32KiB) * driveCount \
    			//    + 2 * 1MiB (default erasure block size v2)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 17:07:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. cmd/server-main.go

    			return err
    		}
    
    		pools = make([]poolArgs, 0, len(cf.Pools))
    		for _, list := range cf.Pools {
    			driveCount := list.SetDriveCount
    			if setDriveCount > 0 {
    				driveCount = setDriveCount
    			}
    			pools = append(pools, poolArgs{
    				args:          list.Args,
    				setDriveCount: driveCount,
    			})
    		}
    	}
    	ctxt.Layout, err = buildDisksLayoutFromConfFile(pools)
    	return err
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
  6. cmd/metacache-set.go

    // acceptable quorum expected for list operations
    func getListQuorum(quorum string, driveCount int) int {
    	switch quorum {
    	case "disk":
    		return 1
    	case "reduced":
    		return 2
    	case "optimal":
    		return (driveCount + 1) / 2
    	case "auto":
    		return -1
    	}
    	// defaults to 'strict'
    	return driveCount
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
Back to top