Calculate a disk space used in cache.