Operating System-processor management

Source: Internet
Author: User

Operating System-processor management

Modern computer systems have the ability to work in parallel with peripheral devices. In order to make full use of this capability and improve system efficiency, multi-channel programming technology can be used, let several programs run in parallel in the same way as the primary storage. The concurrent execution of the process comes from this.

A processor is equivalent to a computer's brain. How does a program run in a processor? How does a processor manage them? What is the relationship between processes and programs? I will post a picture below for you to see.

I. Graphic Export



Ii. Illustration

Process Definition: A process is the process of executing a program on a dataset.

From the Process definition, we can see that a Process is actually a program execution Process, and the CPU controls the Process through the Process Control Block (PCB, processes have three basic attributes: dynamic, concurrent, and asynchronous. When the process still has three states: waiting state, ready state, and running state. Process algorithms include three types: first-come first-served algorithms, top-priority algorithms, and time slice rotation algorithms.

How is a process created and running in a processor? Take a look at the next image.

VcrkyOu + centers = "center"> the system automatically generates a related process. The operating system selects which process to execute using the process calling algorithm (the precondition is a concurrent process ), in this way, the process continues to run in the processor until it is terminated. In fact, the modern operating system adopts the multi-thread technology. Compared with the process, the thread is a lightweight process, which can further improve the performance and work efficiency of the operating system.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.