Study Atlas › Computer Science › Systems
Operating systems: processes, scheduling and memory
Software that manages hardware and gives programs processes, files, memory and devices.
Edited by Alex C, EduAlx · Sources cited below
Explanation
Processes are isolated running programs; threads share memory. Schedulers (round robin, priority, Linux CFS) share the CPU. Virtual memory with paging gives each process its own address space. Unix (Thompson and Ritchie, 1969) shaped modern OSes; Linux (Torvalds, 1991) runs most servers and Android.
Example
Opening 20 browser tabs: the OS pages less-used memory and time-slices the CPU among processes.
How it works, step by step
- Process is created (fork/exec)
- Scheduler gives it CPU time slices
- Virtual addresses translate to physical via page tables
- System calls request OS services
- Process exits; resources are freed
Open the interactive page with diagrams →
People behind it
- Ken Thompson (b. 1943), Computer science, USA: Co-created Unix and the B language, and later Go at Google. Turing Award 1983.
- Dennis Ritchie (1941–2011), Computer science, USA: Created the C language and co-created Unix at Bell Labs. Turing Award 1983.
- Linus Torvalds (b. 1969), Software, Finland / USA: Created the Linux kernel (1991) and Git (2005).
- Edsger Dijkstra (1930–2002), Computer science, Netherlands: Invented the shortest-path algorithm, semaphores and structured programming. Turing Award 1972.
References
- D. M. Ritchie, K. Thompson, Commun. ACM 1974, 17, 365–375.
Textbooks
- Operating System Concepts, Abraham Silberschatz, Peter B. Galvin, Greg Gagne (Wiley, 10th ed. 2018). The 'dinosaur book'.
- Modern Operating Systems, Andrew S. Tanenbaum, Herbert Bos (Pearson, 5th ed. 2022). Classic OS text.
Related topics
Concurrency: deadlock and synchronisationCloud computingFile systems and storageVirtualisation and containersVon Neumann architectureRelational databases and SQLBoolean logic and digital circuitsComputer networks and the TCP/IP modelP versus NPWorld Wide Web, HTTP and HTML