how to know ext cache hit rate?
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
virtualization is to make best use of resources,memory and disk over-providing. so i guess cache hit rate is very low in such case,because cache is very small and vm's disk is very large.
im virtualization environment , my original idea is to cache part of backing file into memory(for example 1G as cache), all vms that use that backing file can access cache directly and performance improved. do you have a idea?
Quoted 13 lines · At 2014-02-26 23:50:40,"Theodore Ts'o" <[email protected]> wrote:
Quoted 5 lines · fsluck
i think it is page cache. my case is in virualization environment, because vm's disk image is much larger than system's cache, i want to know when many vms are running if system cache hit rate is very low? if there is a need to seek for other way to suit virtualization.
Why not simply measure the I/O rate on the disk? If there are cache misses, they will show up as I/O requests, and it's the cache misses that you care about. Or more to the point, what's important is determining whether I/O is the bottleneck or whether something else like memory pressure.
Quoted 7 lines
Also note that with Linux, any available memory will be used for caching. If the cache is very small, it's likely the real problem is that your system doesn't have enough memory --- which is very often the problem with virtualization environments, and also why Amazon charges $$$$$ for VM's that have a large amount of memory.
- Ted
_______________________________________________
Ext3-users mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/ext3-users