Solved

Cache hit rate and performance

Posted on 2006-11-01
6
1,129 Views
Last Modified: 2013-11-17
Hi

Take the following data for example, basically:
1. Is it good if cache hit rate is high? How high should be normally?
2. Miss rate is high means the cache size is not big enough, right?

Jirong

mvfsstat -c
----------------- Wed Nov  1 11:37:55 2006 ---------------------
dnlc:   7342936  7260055( 98.9%) hit    54331 dot 6364243 dir 746652 reg 94829 noent
                82881 (  1.1%) miss     15113 events
                114575(  1.6%) add      18633 dir 64784 reg 31158 noent
attr:   8693955     8598294( 98.9%) hit  183 lvut
                     95661(  1.1%) miss (53565cto+0gen+102timo+415new,41579ev;2839lvut)
                    329505 updates      51269unexp+32108exp mod, 3817 vmod
rddir:   64770       54001( 83.4%) hit  10769 miss
0
Comment
Question by:hujirong
  • 2
6 Comments
 
LVL 14

Expert Comment

by:sjm_ee
ID: 17861678
You are starting from the wrong point. What is the problem that the user is experiencing? If none then stop.
0
 

Author Comment

by:hujirong
ID: 17861728
Thank you. I guess you mean nothing is wrong with that cache setting.

Jirong
0
 
LVL 57

Accepted Solution

by:
giltjr earned 100 total points
ID: 17864178
I don't think sjm_ee is saying that nothing is wrong with your cache stats.  He is trying to figure out what your problem is and then make suggestions as to what you should look at to help resolve the problem.

A high cache hit ratio means either:  You are reading the same data over and over and over .... and over again, you have the right amount of cache for you environment, or you have too much cache .

Miss rate just means that when the system went to read the data, it was not in cache and a "real" I/O had to be done.  Miss rates are not bad.  The first time you go to read data it will not be in cache, so it will be a miss.

If your system is meeting your SLA's, then what you should do is just keep an eye on your cache stats, along with memory usage, paging/swap rates, I/O rates, transaction rates, file/data base size, and CPU utilization.  Then if (when) your system does not meet your SLA', look at what is different from the stats and try and find out why it changed.
0
 

Author Comment

by:hujirong
ID: 17866860
Thank you very much. It's very well explained.

Jirong
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question