Operating Systems Concepts: Lecture 1 - Introduction
Operating Systems Concepts: Lecture 1 - Introduction
Concepts
LECTURE 1 - INTRODUCTION
Definitions
Convenience
Make the computer convenient to use
Efficiency
Allows computer resources to be used in an efficient manner
Ability to evolve
Due to Hardware Upgrades
For incorporating new features/enhancements
Fixes for bugs and errors
Computer System Architecture
Contd.
As a User Interface
OS is an interface between a computer hardware and a user.
As a Resource Manager / As a control program
Manages all resources
Decides between conflicting requests for efficient and fair resource use
OS a User Interface
Kernel Mode
In Kernel mode, the executing code has complete and unrestricted
access to the underlying hardware. It can execute any CPU instruction
and reference any memory address. Kernel mode is generally reserved
for the lowest-level, most trusted functions of the operating system.
User Mode
In User mode, the executing code has no ability to directly access
hardware or reference memory. Code running in user mode must
delegate to system APIs to access hardware or memory. Due to the
protection afforded by this sort of isolation, crashes in user mode are
always recoverable. Most of the code running on your computer will
execute in user mode.
Important Functions/Services Elaborated
Memory Management
Processor Management
Device Management
File Management
Security
Control over system performance
Job accounting
Error detecting aids
Coordination between other software and users
Memory Management
Following are some of the other important activities that an Operating System
performs:
Security − By means of password and similar other techniques, it prevents
unauthorized access to programs and data.
Control over system performance − Recording delays between request for a service
and response from the system.
Job accounting − Keeping track of time and resources used by various jobs and users.
Error detecting aids − Production of dumps, traces, error messages, and other
debugging and error detecting aids.
Coordination between other softwares and users − Coordination and assignment of
compilers, interpreters, assemblers and other software to the various users of the
computer systems.
THANK YOU!