What Is Database Caching?

Cache ( cache ) , the original meaning refers to a type of high-speed memory access speed faster than general random access memory (RAM), usually it does not use DRAM technology like system main memory, but uses expensive but faster SRAM technology. The cache setting is one of the important factors for the high performance of all modern computer systems.

L3 Cache (three-level cache) is divided into two types. The early ones were external and gradually became built-in. And its practical effect is that the application of L3 cache can further reduce
Optical storage drives have internal buffers or
Distributed cache system is to solve

CPU Cache CPU cache

The CPU's cache is divided into two levels: L1 (level 1 cache) and L2 (level 2 cache). When the processor wants to read data, it must first look up in the L1 cache, then the L2 cache, and finally the system memory. If one day you find that your computer is much slower, and it takes a few minutes to enter the Windows desktop, then you need to check whether the first and second level cache of the CPU is turned on. There are two items of StandardCMOSSetup in the BIOS settings that are used to enable or disable the cache: When CPUInternalCache is set to Enable, the internal buffer of the CPU is enabled. If it is set to Disabl, it is disabled. At this time, the system performance It will be greatly reduced; the ExternalCache option is to control the secondary buffer on the motherboard. If there is a secondary cache on the motherboard, it should be set to Enable.

Cache hard disk cache

Click "Start" / "Run" on the computer desktop, type "Msconfig" to start the "System Configuration Utility", and then select the "Vcache" item under the "system.ini" tab, you can adjust the hard disk according to the actual situation of the system Cached. There are generally three lines in this option: ChunkSize = 1024, MaxFileCache = 10240, and MinFileCache = 10240; where the first line is the buffer read-write unit value, and the second and third lines are the maximum and minimum buffer values of the hard disk, the equal sign The subsequent values can be modified, as long as you right-click and select any row to modify. If your memory is 128MB, the values of the above three lines are more reasonable, of course, you can also customize it. If you do nt know how to set the appropriate buffer value, please ask Windows Optimization Master for help. There is a Disk Cache Optimization item in this software, you can easily set the cache with your mouse; or let Windows Optimization Master Automatically help you to optimize settings. When the cache value of the hard disk is large enough, the hard disk does not need to read and write the disk frequently, which can prolong the life of the hard disk and can also increase the data transmission speed.
In addition, setting the "File System Cache" of the hard disk to "Network Server" can speed up the system's access to the hard disk, because the file system cache stores the recently accessed file names and paths of the hard disk. The more content there is. If you click "Control Panel" / "System" / "Performance" / "File System" / "Hard Disk" and change the "Main Purpose of This Computer" from "Desktop" to "Network Server", you can change the original 10K or so The cache is increased to almost 50K.

Cache floppy and optical drive cache

Generally speaking, the speed of the floppy drive to read and write data is relatively slow. This is because the rotation speed of the disk cannot be too high. However, we can increase the read and write cache of the floppy drive to allow the floppy drive to read and write more data at a time. The method is: type "Regedit" in the Start / Run box on the desktop to run the registry editor, enter HKEY-LOCAL-MACHINE \ System \ CurrentControlSet \ Services \ Class \ FDC \ 0000 in turn, and create a new one ForeFifo "DWORD value", set its value to "0", so that the floppy drive is speeded up. Many people know that by right-clicking the "My Computer" icon on the desktop and selecting "Properties" / "Performance" / "File System" / "CD-ROM", the best access method is set to "four times or faster" , Drag the additional cache size slider to the maximum, which can significantly improve the read speed of the optical drive. In addition to this method, we can also set the buffer value in the registry by entering the registry and under HKEY-LOCAL-MACHINE \ System \ CurrentControlSet \ Control \ FileSystem \ CDFS, set CacheSize And Prefetch (pre-read file size) two manual adjustments, as long as you right-click the item you want to modify. [3]

IN OTHER LANGUAGES

Was this article helpful? Thanks for the feedback Thanks for the feedback

How can we help? How can we help?