?
Solved

Disk Cache

Posted on 1998-10-20
5
Medium Priority
?
490 Views
Last Modified: 2010-04-14
What is disk cache,how do you know what value to give it?
0
Comment
Question by:roz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 

Expert Comment

by:bruceville
ID: 1536790
the disk cache is a portion of your disk that the system uses for frequently accessed information.  Kind of like RAM, but used for disk activities.  I set my cache low since I have a lot of RAM, and RAM is faster than the cache--it can serve it's function.  If you want to give your RAM some help, but don't want to use virtual memory, up the cache a little.  Your system will be more stable, but a little slower.  The normal values are either 256 or 512.  It depends how much RAM you have and how fast your system is running.  I would recommend one of these values--256 if you have more than 32 mb RAM.
0
 
LVL 6

Expert Comment

by:TheHub
ID: 1536791
bruceville is incorrect...it was a good guess though.

Disk Cache uses RAM, not disk. Kind of confusing, since it is named Disk Cache. It is so named because it stores frequently used information read from the disk. For example, the first time you open a folder, the Mac reads all of the file and folder names into Cache. This takes a while if there are a lot of files and folders. The next time you open that folder, it retrieves the information from Cache, not the disk, which is much faster than reading the info off of the disk again and is why your folder snaps open the second time you access it (providing that the info still lives in Cache).

After the Disk Cache is completely used, it purges info that has not been used recently in favor of the new info it is reading. Apple Menu Items, Menu Bar Items, Volume names, are all stored in Disk Cache as they are read the first time they are accessed after you turn on you machine.

The formula for setting Disk Cache is 32 times the amount of Physical RAM you have installed. If you have 8 MB of RAM installed - set DC to 256, 16MB of RAM - set DC to 512, etc. Obviously, there is a point of diminishing returns on this formula and should, therefore, be considered a guideline.
0
 

Author Comment

by:roz
ID: 1536792
Points to go to TheHub
0
 

Expert Comment

by:cheryll
ID: 1536793
TheHub is correct. I must add one more thing. Depending on what version of your operating system depends on how high you set your disk cache. System 7.5.5 on an 040 machine can only use 256k in it's disk cache without having any problems. System 8 uses the 32 times amount of physical ram the best.
Cheryll
0
 
LVL 6

Accepted Solution

by:
TheHub earned 200 total points
ID: 1536794
Disk Cache uses RAM, not disk. Kind of confusing, since it is named Disk Cache. It is so named because it stores frequently used information read from the disk. For example, the first time you open a folder, the Mac reads all of the file and folder names into Cache. This takes a while if there are a lot of files and folders. The next time you open that folder, it retrieves the information from Cache, not the disk, which is much faster than reading the info off of the disk again and is why your folder snaps open the second time you access it (providing that the info still lives in Cache).

After the Disk Cache is completely used, it purges info that has not been used recently in favor of the new info it is reading.
Apple Menu Items, Menu Bar Items, Volume names, are all stored in Disk Cache as they are read the first time they are accessed
after you turn on you machine.

The formula for setting Disk Cache is 32 times the amount of Physical RAM you have installed. If you have 8 MB of RAM
installed - set DC to 256, 16MB of RAM - set DC to 512, etc. Obviously, there is a point of diminishing returns on this formula and should, therefore, be considered a guideline.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Even though Mac OS X has been around for many years now, certain well-liked and eminently useful software apps never made the jump from Mac OS 9 to Mac OS X. Ever used Word Perfect for Mac? Version 3.5 was the last version, built for Mac OS 9. Who c…
There is a security feature on iOS devices that is nearly impenetrable when it has been activated.  This article will provide some possible solutions as well as necessary steps to take to ensure you do not end up with a locked device.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

762 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