Current location - Health Preservation Learning Network - Healthy weight loss - How to improve the running speed of software
How to improve the running speed of software
The running speed of programs in a computer is mainly influenced by computer hardware and software. From the aspect of hardware, we all know that we can improve the speed of computer by choosing CPU with high frequency and expanding memory. From the perspective of software, the author introduces some methods to improve the running speed of computers according to his years of experience in using computers:

1。 Increase the remaining capacity of the hard disk

After the computer is used for a long time, the remaining capacity of the hard disk will be reduced, resulting in the slow running speed of some programs. The solution is: 1) Delete some unnecessary files from the hard disk to increase the remaining capacity of the hard disk. Which files should be deleted? These files generally include: (1) programs or files that have not been used for a long time; (2) Temporary documents, such as *. Tmp files, generated during the execution of some programs, or left on the hard disk when the computer fails unexpectedly; (3) *. Back up files that are no longer needed; (4) Files no longer used in *. Chk file generated after using chkdsk/f command; (5) Disk scanning. Log files that are no longer used after running the SCANDISK command; (6) Help files that users no longer need in some systems or software, such as *. hlp。 2) Use compression software to compress files in the hard disk to increase the remaining capacity of the hard disk. Now the commonly used compression software is DOUBLESPACE, ARJ, LHA, etc. DOUBLESPACE is used to compress disks, while ARJ and LHA are used to compress files.

2。 Use the DEFRAG command provided by DOS operating system.

Applications are created and deleted on the hard disk. After a long time, the information on the hard disk will become fragmented. Therefore, you can use the DEFRAG command provided by DOS operating system to sort out the files in the hard disk and remove the fragments in the hard disk, thus reducing the time for reading files. As for the use of the DEFRAG command, please refer to the relevant DOS operation manual.

3。 When running WINDOWS, you can use swap file acceleration 1). When running in 386 enhanced mode, you can release the memory and speed it up by swapping the information in the memory to the swap file on the hard disk. There are two kinds of WINDOWS swap files: (1) permanent swap files, including 386SPART. Temporary exchange of PAR and SPART PAR(2)win 386 files. SWP, when there is no permanent exchange file, the WINDOWS runtime will create this file on the hard disk and delete it when exiting WINDOWS.

2) Exchange files with applications

When you start a non-WINDOWS application in nonstandard mode, WINDOWS creates a temporary application swap file for this application. In 386 enhanced mode, no application is used to exchange files. The application interchange file is an implicit file starting with-WOA. Usually, WINDOWS will put these files in the system. In the directory specified by SWAPDISK of INI file, but be careful not to set SWAPDISK as RAM drive. If there are multiple hard disks with different hard disk speeds, set SWAPDISK as the fastest hard disk.

4。 Using SMARTDRIVE Disk Cache Program SMARTDRIVE is a disk cache program that saves the information read from the hard disk to the disk cache area of the computer's extended memory. When an application tries to read information from the hard disk, SMARTDRIVE will provide information directly from the memory. When starting the application, you can enter the SMARTDRIVE command at the MS-DOS prompt or in AUTOEXEC. Add a command line to the BAT file to start SMARTDRIVE. If the system has at least 2MB of memory, it is recommended to use SMARTDRIVE. As for when is the best setting, users can experiment according to different programs to find out the best setting suitable for this system.

5。 Use MS-DOS memory manager to improve the running speed 1) Use Himeme extended memory manager time is an extended memory manager, which coordinates the use of extended memory and prevents two applications from using the same extended memory at the same time. HIMEM method is installed in CONFIG. Add the HIMEM command line to the SYS file. Please refer to DOS operation manual for specific parameter options. However, it must be noted that the HIMEM command line should precede the command line of an application or device driver that uses extended memory. 2) Using RAMDRIVE RAMDRIVE is a memory resident program, which can use a part of system memory as a hard disk drive. This memory area is called RAMDRIVE. Computers can read information from memory faster than from hard disk, so RAM drives are much faster than hard disk drives. The most important difference between a real disk drive and a RAM drive is that the RAM drive only exists in memory, so when the computer is turned off or restarted, the information in it will be lost. Pay attention to the following points when using RAMDRIVE: (1) Install RAMDRIVE only when it is really needed. Generally speaking, using the same amount of memory as the disk cache (such as SMARTDRIVE) will improve the system speed more than using RAMDRIVE; (2) When a diskless workstation is used on the network and the memory of the workstation is large, you can consider using RAMDRIVE;; (3) When frequently running applications that generate many small temporary files, you can consider using RAMDRIVE. 3) Using EMM386 to expand the memory management program EMM386 is a memory management program with dual functions: 1) It provides access to the high memory area, so that users can release regular memory by running device drivers and memory resident programs in the high memory area; (2) It is the easiest to install EMM386 in analog extended memory.

Clean up the registry and junk files in time, reduce unnecessary boot programs, sort out disk fragments every three months or so, and don't store non-system files on the desktop or C disk.