Computer system roaming (ii)

Source: Internet
Author: User

1. How a program works

For example, after the hello: input./hello, the shell reads the characters into the register and then places it into the memory when the Enter button is pressed

The shell knows the input is over, it loads the hello through a series of instructions, copies the hello target file from the disk to main memory, enters the inside

Post-Save Execution instructions

2. Cache

Multi-level cache to solve the problem of transmission, hard disk, hard disk cache, main memory, multi-stage cache, the existence of the cache can improve program performance

Number

3. Computer operating system

The operating system abstracts the use of all hardware resources into the service of the operating system itself, so that users do not care about hardware details.

Operating system features: To prevent hardware misuse by the program, to provide users with a unified simple interface. Primarily through the need for all levels of

Abstraction is divided into: job management, storage management, device management, process management, file management. The operating system kernel is the medium of the hardware and the program he provides is three abstract, the file is the abstraction to I/O, the virtual memory is the abstraction to the main memory and the disk, the process is to the processor,

Main memory, abstraction of I/O devices. Network communication is also abstracted as an I/O

4. Abstraction of the operating system

Process: An abstraction of a running program by the operating system, which switches between the upper and lower doors to run different processes, making the process appear exclusive

Virtual Storage: He provides a process with an abstraction that only one process uses main memory

File: An abstraction of all IO devices, and network communication is abstracted as a file operation

5. Parallel technology improves system speed

Thread-level parallelism

Instruction-level parallelism

Single instruction, majority data parallel


  

Computer system roaming (ii)

Related Article

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.