Operating system: CPU scheduling 6-25

Source: Internet
Author: User

1. Process selection 1 hours and 1 minutes?

The process takes precedence for 1 minutes and then executes for 1 hours. The time-short process is performed first, and the execution order is also concerned.

2. When the IO operation is encountered, the executing process first yields the CPU and switches the other processes.

3. Process first come first service, process scheduling policy: preemptive and non-preemptive

Preemptive: Minimum job priority.

4. Process run time cannot be determined: The scheduling algorithm is meaningless. Process execution time cannot be determined because of other limitations, such as network, bandwidth, IO, and so on.

WORKAROUND: Predict the time of the process execution, if the program executes very long before, then the execution will know that it is very CPU-intensive, you can give it a little more time.

Sentence: A summary of the past.

Operating system: CPU scheduling 6-25

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.