Solved

Cache hit rate and performance

Posted on 2006-11-01
6
1,125 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

708 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now