get cache size as an input