Disk cache optimization

Disk Cache Optimization

Cache

Under normal circumstances, Windows automatically sets the use of maximum amounts of memory as disk cache. However, it is necessary to manually set the disk cache space, which not only reduces the time of the system to calculate Cache, but also guarantees other programs to save a lot of waiting time.

Sets "Disk Cache Optimization" in the Optimization Master, you can set the maximum and minimum values ​​of MinfileCache and MaxFileCache. Moreover, the optimization of the master also provides a waiting time including shortening Ctrl + ALT closing unresponsive procedures; optimizing the page, the buffer of the DMA channel, and the breakpoint value; shortening the waiting response time, etc. of the application, etc., use Can be set according to the actual situation.

What options need to be done, click on the small box before this option, and after a small hook appears in the box, this option is selected.

When you choose the option you need, click Optimize, the function of disk cache optimization is set, and the prompt appears in the bottom of the Windows Optimization Master interface, let you restart the system. The other functions described below need to operate.

Disk cache optimization

If you want to change all the options back to Windows default, click Recovery, then restart the system.

I want to mention the management function of "virtual memory" here. Press this button. In the pop-up dialog box, select "User you can specify virtual memory", the user can set the maximum The specific values ​​of the value and minimum value are recommended to 191MB, and it is recommended to set the virtual memory to the fastest hard drive. It should be noted that the virtual memory set by the user cannot be smaller than the capacity of the system memory.

Working principle

?? We know that the CPU running program is executed by a directive, and the command address is often continuous. It means that the CPU is in accessing memory. In a short period of time, it is often focused on a part, and some subroutines that need to be repeatedly called at this time. When the computer is working, the active subroutine is stored in a Cache that is much faster than the memory. When the CPU is accessed, it is first determined whether the content to be accessed is in cache, if it is called "hit", at this time, the CPU calls the content directly from the cache; otherwise, it is called "not intensive", the CPU has Go to the memory to call the desired subroutine or instruction. The CPU can not only read the content directly from the Cache, but also write content directly. Since Cache's access rate is quite fast, the utilization rate of the CPU is greatly improved, and the performance of the entire system is improved.

Application

As early as 486, the Cache slot is designed on the motherboard, and the user can configure the cache; 586 CPU chip has been integrated into some cache, It also retained the Cache slot for user expansion, and after the Pentium II era, Cache has all integrated into the CPU chip, and there is no Cache slot on the motherboard. Nowadays, at least 16KB code cache and 16kb data Cache (as L1 Cache), as well as at least 64KB of L2 Cache are generally integrated in the popular CPU chip.

When the task is executed, the subroutine or instruction that uses a very high frequency of use is not much, so those who use frequencies that are not high must only be saved in relatively low speeds. NS.

In practical applications, Cache, especially the performance of the system, especially for the performance of the floating point calculation. And we know that most of the game's smooth run requires frequent floating point operations. Therefore, the performance of the CPU runs the performance of the game is a big relationship with the capacity of L2Cache.

Tool

Windows Optimization Master

Windows Optimization Master is a powerful system auxiliary software, which provides a comprehensive and effective system detection, System optimization, system cleanup, system maintenance four function modules and several additional tool software,

kbcache Free MSD Cache + SSD Cache Tool

Free Server Coke + SSD Cache (All virtual disk) Experience Edition work steps: First use the server memory to make a cache, then use SSD as a cache. Since the SSD does not mechanically read and write, the response speed is strong, which facilitates the maximum lifting server load capacity,

Related Articles
TOP