No matter what operating system you are using the memory subsystem is always the target of optimization. Because it not only directly affects the performance of RAM but also determines the communication capabilities between other subsystems which in turn affects the performance of the entire system. Windows 2000 is an operating system based on 'performance' so it is necessary to fully tap the potential of the memory subsystem. In this article we want to show you how to reduce the swelling of the operating system and optimize the registry to achieve the purpose of improving system performance. There are different optimization methods for different aspects. We first start with BIOS optimization (BIOS optimization is effective for all operating systems); then there are other optimizations.
Please pay attention to register as Administrator when optimizing otherwise the modification will be invalid.
There are several memory-related options in the BIOS. Below we will introduce a few of the most commonly used ones:
CAS Latency- CAS latency is a parameter that determines the access time of system memory columns. The smaller the CAS latency the faster the system can read different data in RAM. Most SDRAM CAS delays have a nominal value of 3 but basically they can reach 2. There are also SDRAMs with a nominal value of 2 on the market. As for RDRAM its CAS delay is much larger than that of SDRAM. If the CAS delay is set smaller the effect is very significant. However it should be noted that changing the CAS delay is actually a kind of overclocking. Pay attention to its stability (you can run stability testing software such as timedemo loop).
RAS To CAS Delay-This setting refers to the time between row activation command and read/write command. The smaller the value is the faster it is. When modifying it pay attention to the stability of the system.
RAS Precharge Time-This setting refers to the number of cycles required for DRAM precharge the smaller the better. When modifying it also pay attention to stability.
SDRAM Precharge Control-This setting refers to how the system manages the precharge time of SDRAM. It has two values Enabled and Disabled which have different results on different systems. It is recommended to use your own Try both on the system.
Shadow System BIOS-If it is Enabled the contents of the BIOS will be copied to the main memory when the system starts. For most machines the startup speed and running speed will be accelerated.
System BIOS Cacheable-When set to Enabled the system will back up the contents of the BIOS to the L2 cache when necessary to speed up the operating speed of the BIOS and the effect is even better than the Shadow System BIOS. When Shadow System BIOS is also set to Enabled the effect is best.
There are several memory settings in the registry but be careful when modifying because a slight error will cause the system to crash. Therefore make a backup of the registry before modification in case a problem occurs.
First find [HKLM/System/CurrentControlSet/Control/Session Manager/Memory Management] in the registry and then you will find the following options:
DisableExecutivePaging-set to Enabled At the time Windows 2000 does not use the swap file on the hard disk when running executable files so the operating system and file execution speed will be faster. But we recommend setting it to Enabled only when the system memory is greater than 128MB because it also takes up certain system resources. By default its value is 0 (Disabled) if you want to set it to Enabled set it to 1.
LargeSystemCache-When it is set to Enabled (the server version of Windows 2000 is set to Enabled by default) the system will use all memory except 4MB (as hard disk cache) as the file system cache. Windows 2000 puts its own kernel in memory so it runs faster. This setting is dynamic. If the hard disk needs more cache in some cases the system will release some memory for the hard disk as cache. By default 8MB of memory is reserved for this purpose.
The main advantage of this setting is that it can make the operating system run faster and it is still dynamic. When the memory demand is not large the kernel of Windows 2000 will reside in memory; if you run multiple programs Need a lot of memory Windows 2000 will release its kernel from the memory. 0 means Disabled 1 means Enabled. However if you set it to Enabled the system will take up more memory and under some task-intensive situations the system performance will decrease. According to Micorsoft this setting is best set to 0 for applications that cache itself such as Microsoft SQL and programs that require a lot of memory to get the best performance such as IIS.
IOPageLockLimit-This setting is mainly for server applications. If the setting is reasonable the I/O performance of the system can be improved when transferring large amounts of data and similar operations. But if the system memory is less than 128MB then this setting will have no effect. If the system memory exceeds 128MB it can be set to 8-16MB the performance improvement will be more obvious. The default value is 0.5 MB (512 KB). Please note that it is expressed in bytes when setting. 0.5 MB is 0.5×1024×1024=524288 bytes. When modifying set a few more values ??and try to get the best results.
Prohibit running programs at startup
Prohibiting running some unnecessary programs at startup can save some memory. In Windows 2000 prohibiting running programs at startup is not as simple as in Windows 9x/Me and the registry must be modified. The relevant entry in the registry is [HLKM\\SOFTWARE\\MICROSOFT\\WINDOWS\\CURRENTVERSION\\RUN]. Once you find it you can modify it. However make a backup first to prevent errors.
There are other ways to optimize Windows 2000 without modifying the registry. One of them is Application Response. This setting determines the foreground program Whether it takes more processor time than the background program. Select the Optimize Performance item in the Advanced Tab of the system control panel and you can find the Application Response settings. Application Response has two values: one is the foreground program optimization (Optimize Performance for Applications); the other is the background program optimization (Optimize Performance for Background Services). If you choose the former the foreground program will get more processor time; if you choose the latter the background program will get more processor time and the system will assign different lengths to them according to the priority level of the background program. Processor time.
Each program has a priority. The system will decide which program is more important according to the priority of different programs. It needs to be executed first and allocate more running time. The priority of the program consists of two parts: one is the priority class (Priority Class) including four values ??of Real-Time High Normal and Idle; the second is the thread priority (Thread Priority) including Time Critical Highest Above Normal Below Normal Lowest Idle six values. As shown in the following table:
Normal < /P>
6 < /P>
Remove POSIX and OS2 support
There is support for POSIX in Microsoft's operating system POSIX is a standard for multi-operating systems to work together; the same OS2 support is for running applications on OS2 program. If there is no other operating system in your machine then these things are not needed at all. Deleting these things can save some memory. Microsoft does not provide a method to block these functions but it does not matter. First remove the file protection of Windows (the content of this part will be introduced in a later article) find the winnt/system32 directory and put OS2.exe OS2SRV.exe PSXSS Delete the .EXE OS2SS.exe and POSIX.exe files and it will be OK. However to be cautious first change the names of these files and delete them after running without problems.
Generally speaking deleting these files will not cause any problems but some tools in the resource pack of Windows 2000 require POSIX to run. This should be noted.
Remove useless Windows components
When installing Windows 2000 the installation program does not have great flexibility and some unwanted things are installed for you; or it is the first time to use Windows 2000 I don't know which ones are useful and which ones are useless. First install them all and then delete some unavailable components after getting familiar to release more system resources. Here is a way to open several hidden options. Open the sysoc.inf file (in the winnt/inf directory) with Notepad