CO2017 Operating Systems: Silberschatz, Galvin and Gagne ©2018 Operating System Concepts
CO2017 Operating Systems: Silberschatz, Galvin and Gagne ©2018 Operating System Concepts
CO2017 Operating Systems: Silberschatz, Galvin and Gagne ©2018 Operating System Concepts
Operating Systems
● Device controller informs CPU that it has finished its operation by raising
an interrupt or CPU has to do a polling for an I/O completion (possibly
waste a large number of CPU cycles)
● Interrupt transfers control to the interrupt service routine generally,
through the interrupt vector, which contains the addresses of all the service
routines
● Interrupt architecture must save the address and status of the interrupted
instruction
● Main memory – only storage media that the CPU can access directly
● Random access, typically in the form of Dynamic Random-Access Memory
(DRAM)
● Typically volatile
4 Various technologies
● Capacity
● Volatility
● Cost
● Advantages include:
4 Increased throughput
● Two types:
4 Asymmetric Multiprocessing – each processor is assigned a special task.
● Multi-chip and
multicore
● Systems containing all
chips
● Chassis containing
multiple separate
systems
● Set up before scheduling process to regain control or terminate program that exceeds
allotted time.
● Various solutions
4 Group identifier (GID) allows set of users to be defined for access control, then also
associated with each process or file
● Emulation used when source CPU type different from target CPU type
(e.g., PowerPC to Intel x86)
● Generally slowest method
● Mainframe system
● Desktop system
● Multiprocessor system
● Distributed system
● Real-time system
● Handheld system/mobile system
● Client-Server Computing
● Dumb terminals supplanted by smart PCs
● Many systems now servers, responding to requests generated by clients
4 Compute-server system provides an interface to client to request services (i.e.,
database)
4 File-server system provides interface for clients to store and retrieve files
● Use expanding
4 http://gnu.org/philosophy/open-source-misses-the-point.html/