Determination of Process priority

Source: Internet
Author: User

The prioritization needs to be considered in the following situations:

1, the I/O process, let it into the highest priority queue, in time to respond to the process requiring I/O interaction. Typically, a small time slice is executed, in which the data for an I/O request can be processed and then transferred to the blocking queue.

2, the calculation of the process, each time after the execution of the chip into the lower queue. Finally, the maximum time slice is used to execute.

3, the number of I/O is not many, but mainly CPU processing process. When I/O is complete, I leave the queue when I return to the priority I/O request to avoid successive drops after each of the highest priority queues.

4, in order to adapt to a process at different time period of the operation characteristics, I/O completion, improve priority; When the time slice is exhausted, the priority is lowered.

Determination of Process priority

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.