Solved

Disk Cache

Posted on 1998-10-20
5
486 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 50 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

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Macbookpro 8 104
Mac OS X 10.7.5 Login Loop 17 125
Combining multiple iPhone address book into single one ? 13 47
iCloud for Desktop 3 29
Information security is a multi-billion dollar industry. Just as lucrative is the black market industry which trades stolen identities, credit card numbers and software exploits all over the world. Nothing is hack-proof. The best one can do is make …
Apple's Mac OS X has become an official member of the malware club. The Flashback Trojan has affected over half million Macs, worldwide. It is behavior that ultimately gets malware onto a person’s computer. Obsolete or out-of-date software helps…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

756 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