Operating Systems Intro
Operating Systems Intro
By Dr D B Ntalasha
OS is a resource allocator
Manages all resources
Decides between conflicting requests for efficient and
fair resource use
OS is a control program
Controls execution of programs to prevent errors and
improper use of the computer
Operating System Definition (Cont.)
No universally accepted definition
“Everything a vendor ships when you order an
operating system” is good approximation
But varies wildly
“The one program running at all times on the
computer” is the kernel. Everything else is
either a system program (ships with the operating
system) or an application program
Computer Startup
bootstrap program is loaded at power-up or reboot
Typically stored in ROM or EPROM, generally known as
firmware
Initializates all aspects of system
Loads operating system kernel and starts execution
Computer System Organization
Computer-system operation
One or more CPUs, device controllers connect through
common bus providing access to shared memory
Concurrent execution of CPUs and devices competing for
memory cycles
OS Services Support Applications on
Computers
We often use computers for a variety of applications
which require some logistical system support. A few
typical applications are listed below:
Document design
Accounting
E-mail
Image Processing
Games
OS support is application neutral and service- specific
Improper synchronization
ensure a program waiting for an I/O device receives the
signal
Failed mutual exclusion
must permit only one program at a time to perform a
transaction on a portion of data
Deadlock
It might happen that 2 or more pgms wait endlessly after
each other to perform an operation.