2. How does a single-core CPU achieve multi-process?

Source: Internet
Author: User
The single core CPU is able to achieve multi-process, mainly relies on the operating system of the process scheduling algorithm

  such as time-slice rotation algorithm, in the early days, for example: There are 5 running programs (that is, 5 processes): QQ Youdao dictionary netease cloud Music Chrome browser, the operating system allows single-core CPUs to run these processes in turn, a process that only runs 2ms, which can look like multiple processes running simultaneously, enabling multi-process

In << operating system >> inside, the process scheduling algorithm has many, such as first to first service, priority scheduling, the shortest job priority, and so on , long time did not see these are almost forgotten, only often review the old knowledge to better grasp

Related introduction can see some Daniel's summary, such as 51638300

2. How does a single-core CPU achieve multi-process?

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.