Home  >  Article  >  What is the purpose of introducing multiprogramming?

What is the purpose of introducing multiprogramming?

王林
王林Original
2020-12-04 11:26:2317007browse

The purpose of introducing multi-programming is to make full use of the CPU and reduce CPU waiting time. Multiprogramming technology is to store several independent programs in the computer memory at the same time, so that they can intersperse and run two or more programs under the control of the management program. These programs share the computer system resources.

What is the purpose of introducing multiprogramming?

#The purpose of introducing multi-programming is to make full use of the CPU and reduce CPU waiting time.

(Operating system knowledge sharing: windows)

The so-called multi-programming refers to allowing multiple programs to enter the main memory of a computer system at the same time and start calculations method. In other words, multiple (two or more independent) programs can be stored in the computer memory at the same time, and they are all between the beginning and the end. From a macro perspective, it is parallel. The multi-programs are running and have not finished running. From a micro perspective, it is serial. Each program takes turns using the CPU and executes alternately.

The fundamental purpose of introducing multi-programming technology is to improve CPU utilization and give full play to the parallelism of computer system components. Modern computer systems all adopt multi-programming technology.

Multi-programming:

Multi-programming technology is to store several independent programs in the computer memory at the same time, so that they can run interleaved with each other under the control of the management program. Two or Two or more programs are in the same state between start and end in the computer system, and these programs share computer system resources. The counterpart is single-programming, which allows only one program to run in the computer's memory.

For a single-CPU system, it is only a macro concept that programs are running at the same time. Although they have all started running, from a micro perspective, there is only one program running on the CPU at any time. .

mac system tutorial: macos

The above is the detailed content of What is the purpose of introducing multiprogramming?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn