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......
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.)
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.)
PATCH: http://patches.gluster.com/patch/2691 in master (Fix occurence of cache-size being floating point)
PATCH: http://patches.gluster.com/patch/2692 in release-2.0 (Fix occurence of cache-size being floating point)
Verified 2.0.10rc1