Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NLocalDisksPathsPerPool (0.25 sec)

  1. cmd/speedtest.go

    			// the concurrency make sure we choose only the "start"
    			// concurrency to be equal to the lowest number of
    			// local disks per server.
    			for _, localDiskCount := range globalEndpoints.NLocalDisksPathsPerPool() {
    				if localDiskCount < concurrency {
    					concurrency = localDiskCount
    				}
    			}
    
    			// Any concurrency less than '4' just stick to '4' concurrent
    			// operations for now to begin with.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 9K bytes
    - Viewed (0)
  2. cmd/endpoint.go

    			if endpoint.IsLocal {
    				disks = append(disks, endpoint.Path)
    			}
    		}
    	}
    	return disks
    }
    
    // NLocalDisksPathsPerPool returns the disk paths of the local disks per pool
    func (l EndpointServerPools) NLocalDisksPathsPerPool() []int {
    	localDisksCount := make([]int, len(l))
    	for i, ep := range l {
    		for _, endpoint := range ep.Endpoints {
    			if endpoint.IsLocal {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 34.1K bytes
    - Viewed (0)
Back to top