Documente Academic
Documente Profesional
Documente Cultură
A. Frank - P. Weisberg
Managing all these varied components requires a layer of software the Operating System (OS).
A. Frank - P. Weisberg
Control/execute user/application programs. Make the computer system convenient to use. Ease the solving of user problems. Use the computer hardware in an efficient manner.
A. Frank - P. Weisberg
A. Frank - P. Weisberg
Services provided by an OS
Facilities for program creation
editors, compilers, linkers, debuggers, etc.
Program execution
loading in memory, I/O and file initialization.
System access
6
resolves conflicts for resource contention. protection in access to resources and data.
A. Frank - P. Weisberg
Concurrent Processes
Process Models and Management Process Description and Control Task/Thread Description and Control Concurrency: Mutual Exclusion and Synchronization Concurrency: Deadlock and Starvation
9
A. Frank - P. Weisberg
Memory Management
Real Memory Management Motivation for Virtual Memory (VM) Paging and Segmentation Page Fetch, Placement and Replacement
10
A. Frank - P. Weisberg
Main Bibliography
1. A. Silberschatz, P. B. Galvin, and G. Gagne, Operating Systems Concepts (with Java), 8th Edition, John Wiley & Sons, 2009.
http://codex.cs.yale.edu/avi/os-book/os8/index.php
12
A. Frank - P. Weisberg
Main Bibliography
3. W. Stallings, Operating Systems: Internals and Design Principles, 7th ed, Prentice Hall, 2012. http://williamstallings .com/OperatingSyste ms/
13
A. Frank - P. Weisberg
Additional Bibliography
4. A. S. Tanenbaum, Modern Operating Systems, 3rd Edition, PrenticeHall Intl., 2008.
http://www.pearsonhigh ered.com/educator/acad emic/product/0,,013600 6639,00%2benUSS_01DBC.html
14
A. Frank - P. Weisberg
Additional Bibliography
5. A. S. Tanenbaum and A. S. Woodhill, Operating Systems: Design and Implementation, 3rd Edition, Prentice-Hall Intl., 2006.
http://www.pearsonhighered. com/educator/academic/prod uct/0,,0131429388,00%2benUSS_01DBC.htm
15
A. Frank - P. Weisberg
Additional Bibliography
6. S. Toledo, Operating Systems, in Hebrew, Akademon, 2001. http://www.tau.ac.il/~stoledo/osbook/ 7. G. Nutt, ``Operating Systems: A Modern Perspective'', 2nd Edition Lab Update, Addison-Wesley, 2002. http://www.cs.colorado.edu/~nutt/osamp.html 8. R. A. Finkel, An Operating Systems Vade Mecum, Prentice-Hall Intl., 1988.
16
A. Frank - P. Weisberg
19
A. Frank - P. Weisberg
21
A. Frank - P. Weisberg
22
A. Frank - P. Weisberg
23
A. Frank - P. Weisberg
Programmer
OperatingSystem Designer
25
But one more modern view: the Operating System as a Virtual Machine.
A. Frank - P. Weisberg
1. Resource Manager
Resource Manager:
Manages and protects multiple computer resources: CPU, Processes, Internal/External memory, Tasks, Applications, Users, Communication channels, etc Handles and allocates resources to multiple users or multiple programs running at the same time and space (e.g., processor time, memory, I/O devices). Decides between conflicting requests for efficient and fair resource use (e.g., maximize throughput, minimize response time).
OS as a Resource Manager
27
A. Frank - P. Weisberg
30
A. Frank - P. Weisberg
32
A. Frank - P. Weisberg
33
A. Frank - P. Weisberg
34
A. Frank - P. Weisberg
36
A. Frank - P. Weisberg
Shell
Kernel
Hardware
38
A. Frank - P. Weisberg
39
A. Frank - P. Weisberg
40
A. Frank - P. Weisberg
41
A. Frank - P. Weisberg
42
A. Frank - P. Weisberg
cpp comp cc as
nroff
sh Kernel
who
a.out
date
we
Hardware
ld
vi ed
grep
43
A. Frank - P. Weisberg