1. Why should we learn operating system?
2. What is an operating system?
2.1. Definition in a narrow sense
Operating System: Actually a set of software responsible for making it easy to run programs (even allowing you to seemingly run many programs at the same time), allowing
Programs that share memory enable the program to interact with the device, and similar functionality.
2.2. Broad definition
The broad concept of operating system is very vague. The following contents can be said to be operating systems:
2.3. Operating systems we are going to discuss
What we are talking about is an operating system in a narrow sense
- A software system that abstracts a single computer hardware system and supports program execution
- Academics talk about "operating system" in a broader sense as "system" (for example: OSDI/SOSP)
OSDI and SOSP are both academic conferences related to the operating system field. They are held every two years to provide two major academic platforms in the operating system field in different years.
3. Development of operating systems
3.1. Operating systems of 1950
The operating system that was first generated could change the card after one program was finished running and then run the next program, and it could also write the results of the operation into a file.
3.2. Operating systems of 1960
The emergence of larger memory allowed programs in 1960 to be loaded at the same time without changing cards , and a graphical interface appeared at the same time.
At the same time, another term appeared in the operating system in 1960- process
For example, after A executes a period of time on the CPU, it is transferred to other hardware for execution. We save the content executed by A in the memory, and then let the CPU execute program B. This allows the CPU to execute the program more efficiently, that is, allowing the CPU to switch process execution.
At the same time, the operating system can decide which process to execute through the interrupt mechanism.