Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Gram (0.14 sec)

  1. cmd/object-api-common.go

    	// TLDR..
    	// Not used anymore xl.meta captures the right blockSize
    	// so blockSizeV2 should be used for all future purposes.
    	// this value is kept here to calculate the max API
    	// requests based on RAM size for existing content.
    	blockSizeV1 = 10 * humanize.MiByte
    
    	// Block size used in erasure coding version 2.
    	blockSizeV2 = 1 * humanize.MiByte
    
    	// Buckets meta prefix.
    	bucketMetaPrefix = "buckets"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  2. internal/config/cache/cache.go

    	// Etag and ModTime of an object + version
    	Endpoint string `json:"endpoint"`
    
    	// BlockSize indicates the maximum object size below which
    	// data is cached and fetched remotely from DRAM.
    	BlockSize int64
    
    	// Is the HTTP client used for communicating with mcache server
    	clnt *http.Client
    }
    
    var configLock sync.RWMutex
    
    // Enabled - indicates if cache is enabled or not
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  3. cmd/handler-api.go

    		// total_ram / ram_per_request
    		blockSize := xioutil.LargeBlock + xioutil.SmallBlock
    		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 \
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 10K bytes
    - Viewed (0)
Back to top