Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewBytePoolCap (0.06 sec)

  1. cmd/erasure-server-pool.go

    	}
    
    	// Initialize byte pool once for all sets, bpool size is set to
    	// setCount * setDriveCount with each memory upto blockSizeV2.
    	buffers := bpool.NewBytePoolCap(n, blockSizeV2, blockSizeV2*2)
    	if n >= 16384 {
    		// pre-populate buffers only n >= 16384 which is (32Gi/2Mi)
    		// for all setups smaller than this avoid pre-alloc.
    		buffers.Populate()
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
Back to top