lecture2
lecture2
OPERATING
SYSTEM: CSET209
Slide 1
VM3 Show them Task Manager, Memory Management module, Device Manager, User Account Control, File Properties.
Vivek Mehta, 19-01-2023
S
VM4
S
Slide 4
VM4 Show Task Manager again. Show CPU count in python. Real time VxWorks.
Vivek Mehta, 19-01-2023
S
SERIAL PROCESSING
In this type of system, similar types of jobs were batched together and executed in time.
In Batch operating system, access is given to more than one person; they submit their respective
jobs to the system for the execution.
The system put all of the jobs in a queue (first come first serve) and then executes the jobs one
by one.
The users collect their respective output when all the jobs get executed
S
Advantages of Batch OS
• The use of a resident monitor (operator) improves
computer efficiency as it eliminates CPU time
between two jobs.
S
2. Not Interactive
• Batch Processing is not suitable for jobs that are dependent on the user's
input.
• If a job requires the input of two numbers from the console, then it will
never get it in the batch processing scenario since the user is not present
at the time of execution.
S
• Multiprogramming enables
• time sharing
• divides processor time up into slices
• the slices are divided “fairly” among competing jobs
• interactive processing
• the user does not have to wait for one process to be finished until the next
process (program, action) can be started
S
Disadvantages of Multiprogramming OS
• Increased Complexity: Implementing and managing a multiprogramming environment
adds complexity to the operating system.
• Higher Overhead: Multiprogramming introduces overhead in terms of context switching,
memory management, and process scheduling.
S
Advantages of Multitasking OS
• This operating system is more suited to supporting multiple users simultaneously.
Advantages of Multiprocessing OS
• Increased reliability: Due to the multiprocessing system, processing tasks can be
distributed among several processors. This increases reliability as if one processor fails, the
task can be given to another processor for completion.
• Increased throughout: As several processors increase, more work can be done in less.
Disadvantages of Multiprocessing OS
• Multiprocessing operating system is more complex and sophisticated as it takes care of
multiple CPUs simultaneously.
S
Advantages of Network OS
• In this type of operating system, network traffic reduces due to the division between
clients and the server.
• This type of system is less expensive to set up and maintain.
Disadvantages of Network OS
• In this type of operating system, the failure of any node in a system affects the whole
system.
• Security and performance are important issues. So trained network administrators are
required for network administration.
S
• In Real-Time Systems, each job carries a certain deadline within which the job is
supposed to be completed, otherwise, the huge loss will be there, or even if the result is
produced, it will be completely useless.
• The Application of a Real-Time system exists in the case of military applications, if you
want to drop a missile, then the missile is supposed to be dropped with a certain
precision.
S
REAL TIME OPERATING SYSTEM
• The Distributed Operating system is not installed on a single machine, it is divided into
parts, and these parts are loaded on different machines.
• A part of the distributed Operating system is installed on each machine to make their
communication possible.
• Distributed Operating systems are much more complex, large, and sophisticated than
Network operating systems because they also have to take care of varying networking
protocols
S
Advantages of Distributed OS
• The distributed operating system provides sharing of resources.
Manual Operation
Early machines like ENIAC and Colossus lacked operating systems.
Users interacted directly with hardware through punched cards, switches, etc.
Programmers' Role
Programs were written in machine code or assembly language.
Execution was manual, leading to time-consuming and error-prone
processes.
Batch Systems
Early operating systems used batch processing to run jobs one at a time.
Jobs were submitted (via +) and queued for execution by the OS.
Resident Monitors
Basic resident monitors handled job scheduling and error handling automatically.
These monitors resided in memory, reducing human intervention.
Key OS Features
Early operating systems focused on managing job queues, executing jobs sequentially,
and reporting results.
Monitor is a Software
4. Third Generation (1960s-1970s) - Integrated Circuits and Multiprogramming S
Multiprogramming
Enabled multiple jobs to reside in memory and execute concurrently.
Reduced CPU idle time and improved system utilization.
Time-Sharing Systems
Allowed multiple users to interact with the system simultaneously.
Each user was allocated a time slice of CPU, enabling interactive computing.
UNIX Development
Introduced in 1969, marking a significant milestone in operating systems.
Features included multi-user systems, advanced file systems, and shell scripting.
5. Fourth Generation (1980s-1990s): Microprocessors and Personal Computing S
Cloud Computing
Modern operating systems support cloud computing, enabling access to distributed
resources (compute power, storage) over the internet.
Examples : Windows Server and Linux, which are crucial in cloud-based systems.
Virtualization
Technologies like VMware, VirtualBox and Docker allow multiple OS instances to run
on a single physical machine.
Virtualization maximizes hardware utilization and creates isolated environments for
testing, development, and production.
6. Fifth Generation (2000s-Present) - Modern Operating Systems S
Security
Modern OSs include advanced security features such as
integrated firewalls, antivirus support, data
encryption, and biometric authentication.
These features address the growing threats to data and
system security.