Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for totalNodeCount (0.09 sec)

  1. cmd/handler-api.go

    			//    + 2 * 1MiB (default erasure block size v2)
    			apiRequestsMaxPerNode = int(maxMem / uint64(maxSetDrives*blockSize+int(blockSizeV2*2)))
    		}
    	} else {
    		apiRequestsMaxPerNode = cfg.RequestsMax
    		if n := totalNodeCount(); n > 0 {
    			apiRequestsMaxPerNode /= n
    		}
    	}
    
    	if globalIsDistErasure {
    		logger.Info("Configured max API requests per node based on available memory: %d", apiRequestsMaxPerNode)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 17:07:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. cmd/utils.go

    	if obj := encodeDirObject(object); obj != object {
    		object = obj
    	}
    	return HasSuffix(object, globalDirSuffix)
    }
    
    // Helper method to return total number of nodes in cluster
    func totalNodeCount() int {
    	totalNodesCount := len(globalEndpoints.Hostnames())
    	if totalNodesCount == 0 {
    		totalNodesCount = 1 // For standalone erasure coding
    	}
    	return totalNodesCount
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  3. cmd/server-main.go

    	} else {
    		// Reinitialize safely when testing.
    		globalBucketMetadataSys.Reset()
    	}
    
    	// Create the bucket bandwidth monitor
    	globalBucketMonitor = bandwidth.NewMonitor(ctx, uint64(totalNodeCount()))
    
    	// Create a new config system.
    	globalConfigSys = NewConfigSys()
    
    	// Create new IAM system.
    	globalIAMSys = NewIAMSys()
    
    	// Create new policy system.
    	globalPolicySys = NewPolicySys()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (1)
  4. cmd/admin-handlers.go

    	go func() {
    		defer xioutil.SafeClose(resultCh)
    
    		ci := madmin.ClusterRegistrationInfo{}
    		ci.Info.NoOfServerPools = len(globalEndpoints)
    		ci.Info.NoOfServers = totalNodeCount()
    		ci.Info.MinioVersion = Version
    
    		si := objectAPI.StorageInfo(ctx, false)
    
    		ci.Info.NoOfDrives = len(si.Disks)
    		for _, disk := range si.Disks {
    			ci.Info.TotalDriveSpace += disk.TotalSpace
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
Back to top