Bug 762248 (GLUSTER-516)

Summary: cache-size should not be hard-coded to 1GB
Product: [Community] GlusterFS Reporter: Raghavendra Bhat <rabhat>
Component: coreAssignee: Harshavardhana <fharshav>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: mainlineCC: anush, avati, cww, fharshav, gluster-bugs, lakshmipathi
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: RTNR Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Raghavendra Bhat 2010-01-04 06:52:06 UTC
The cache size of io-cache in the volume file generated by glusterfs-volgen is by default set to 1GB. The variable cache_size in the extra/volgen/CreateVolfile.py is set to 1GB. This has to be determined by referring the memory of the system for which the volfile is genetrated......

Comment 1 Anand Avati 2010-01-21 12:45:43 UTC
PATCH: http://patches.gluster.com/patch/2667 in master (Cache size is now dynamic and is 20% of the total memory on the client side.)

Comment 2 Anand Avati 2010-01-22 10:21:43 UTC
PATCH: http://patches.gluster.com/patch/2668 in release-2.0 (Cache size is now dynamic and is 20% of the total memory on the client side.)

Comment 3 Anand Avati 2010-01-25 09:32:22 UTC
PATCH: http://patches.gluster.com/patch/2691 in master (Fix occurence of cache-size being floating point)

Comment 4 Anand Avati 2010-01-25 09:32:34 UTC
PATCH: http://patches.gluster.com/patch/2692 in release-2.0 (Fix occurence of cache-size being floating point)

Comment 5 Anush Shetty 2010-02-10 13:41:15 UTC
Verified 2.0.10rc1