SlideShare a Scribd company logo
1 of 14
PROJECT ON
OPERATINGSYSTEM,MULTIPROGRAMING,MULTIpROCESSING,MULTITHREADING,MULTITASKING
SUBMITTEDBY: Submitted to:
Student Name: MR. RAMAN DEEP SINGH
ANISH KUSHWAHA (FACUILTYINCHARGE)
Roll no.: 100
Reg.no.: NRO0348130
Batchshift:Evening(3:30pmto 7:30pm)
Groupname: g17
CONTENT
PAGE NO.
 DEFINITION OF OPERATING SYSTEM……………………………………………………………………………………………
 TYPES OF OPERATING SYSTEM…………………………………………………………………………………………………..
 FEATURES OF OPERATING SYSTEM………………………………………………………………..........................................
 FUNCTION OF OPERATING SYSTEM…………………………………………………………………………………………….
 DEFINITION OF MULTIPROGRAMMING…………………………………………………………………………………………
 REQUIREMENTS OF MULTIPROGRAMMING……………………………………………………………………………………
 MEANING OF MULTITASKING………………………………………………………………………………….........................
 DEFINITION OF MULTITHREADING……………………………………………………………………………………………....
 MEANING OF MULTIPROCESSING………………………………………………………………………………………………
 DIFFERENT BETWEEN MULTIPROGRAMMING AND MULTIPROCESSING……………………………………………………..
 ADVANTAGES AND LIMITATION OF MULTIPROCESSING………………………………………………………………………
2
1
3
4
5
6
7
8
9
10
11
Definition of Operating System
Operating System is the layer which lies between the Hardware
and the Application Software. operating system is responsible for booting
up, shutting down and management of resources while the computer is up
and running.
Personal computers are initially run on DOS and apple operating systems.
these gave way to windows and other graphic user interface (GUI) based
operating systems.
Servers which provide services to computers connected to them i.e. clients
use other operating system s like Unix, Windows 2000,Windows 7/8 to
manage distribution of resources between the clients.
1
TYPES OF OPERATING
SYSTEM
 REAL TIME OPERATING SYSTEM (RTOS)
RTOS are used to control machinery scientific
instruments and industrial systems.
SINGLE USERS, SINGLE TASK
As the name implies, this operating system is
designed to manage the computer so that one user can
effectively do one thing at a time.
SINGLE USER, MULTI-TASKING
This is the type of operating system most people use
on their desktop and laptop computers today.
MULTI-USER
multi user operating system allows many
different user to take advantage of the computer’s
resource simultaneously. 2
FEATURES OF OPERATING
SYSTEM
 THE MAJOR FETURES OF WINDOWS -7
 A redesigned taskbar and multi-touch support
 Better search facility for files or documents
 Sharing of file folders among users
 Automatic defragmentation of disk to release
contiguous areas of disk
 bundled internet explorer version 8
 Better support for multimedia
 Better security support
 Support for multicore processors
3
FUNCTION OF OPERATING
SYSTEM
 PROCESS MANAGEMENT
Major activities of OS with respect to process management
 creation and deletion of user and system processes
Suspension and resumption of processes
A mechanism for process synchronization
A mechanism for process communication and
A mechanism for deadlock handling
MEMORY MANAGEMENT
major activities of OS with respect to memory management
 to keep track of which part of memory are currently being used and
by whom
To decide which process is loaded into memory when memory space
becomes available
4
MULTIPROGRAMMING
 Meaning of multiprogramming:
In multiprogramming systems, the running task keeps
running until it performs an operation that requires
waiting for an external event or until the computer’s scheduler
forcibly swaps the running task out of the CPU.
Multiprogramming systems are designed to maximize CPU
usage. In fact , depending on the CPU utilization during the
course of processing, jobs are broadly classified into the
following two types:
 CPU-bound jobs: These jobs mostly perform numerical
calculation, with little I/O operations.
 I/O bound jobs: These jobs normally input vast amount of
data, perform very little computation, and output amount of
information
5
REQUIREMENTS OF
MULTIPROGRAMMING
SYSTEM LARGE MEMORY:
For multiprogramming to work satisfactorily, large main memory is required to
accommodate a good number of user programs along with the operating system.
 Memory Protection:
In multiprogramming system, this is achieved by the memory protection feature; a combination
of hardware and software, which prevents one job from addressing beyond the limits to its own
allocated memory area.
 Job status preservation:
In multiprogramming, when a running job gets blocked for I/O processing, the CPU is taken away
from this job and is given to another job that is ready for execution.
 Proper job mix:
A proper mix of I/O-bound and CPU-bound jobs are required to effectively overlap the operations
of the CPU and I/O devices.
 CPU scheduling:
The part of the Operating system concerned with this decision is called the CPU Scheduler, and
the algorithm it uses is called the CPU scheduling algorithm.
6
MULTITASKING
 Meaning of multitasking:
Multitasking is a method with in multiple tasks processes sharing common
processing resources such as a CPU. In the case of a Computer with a single CPU, only
one task is said to be running at any point in time, meaning that the CPU is actively
executing instructions for that task. Multitasking solves the problem by scheduling
which task may be the one running at any given time, and when another waiting task
gets a turn. The act of reassigning a CPU from one task to another one is called a
context switch.
Many persons do not distinguish between multiprogramming and multitasking
because both the terms refer to the same concept. However, some persons prefer to
use the term multiprogramming for multi- user systems, and multitasking for single-
user systems. Note that even in a single-user system, it is not necessary that the
system works only on one job at a time. In fact, a user of a single-user system often
has multiple tasks concurrently processed by the system. The progress of different
tasks can be viewed on different window in a multitasking system.
Hence, for those who like to differentiate between multiprogramming and
multitasking, Multiprogramming is the concurrent execution of multiple jobs in a
multi user systems, while multitasking is the concurrent execution of multiple jobs in
7
MULTITHREADIN
G
 Definition Of Multithreading:
Threads are a popular way to improve application performance. In
traditional operating systems, the basic unit of CPU utilization is a process. Each
process has its own program counter, its own register states, its own stack, and
its own address space (memory area allocated to it). On the other hand, in
operating systems, with threads facility, the basic unit of CPU utilization is a
thread. Each thread of a process has its own program counter, its own register
states, and its own stack. But all the threads of a process also share the same set
of operating system resources, such as open files, signals, accounting information,
and so on.
Threads are often referred to as lightweight processes and traditional
processes are referred to as heavyweight processes.
8
Address space
Threads
Address space
Thread Thread Thread
Single-threaded process Multithreaded Processes
Multiprocessing is the use of two or more Central Processing Units(CPUs) within a
single computer system. The term also refers to the ability of a system to support
more then one processor and the ability to allocate task between them.
In multiprocessing system, all CPU may be equal or some may be reserve for
special purposes. A combination of hardware and operating system software
design consideration determine the symmetry in given system.
Multiprocessing systems are basically of two types namely:
 Tightly-coupled systems:
Tightly-coupled multiprocessor systems contain multiple CPU that are connected at
the BUS level. These CPU may have access to a central shared memory( SMP or UMA),
or may participate in a memory hierarchy with both local and shared memory(NUMA).
 Loosely coupled multiprocessing system:
loosely coupled multiprocessor system are based on multiple standalone
single or dual processor commodity computers interconnected via a high
speed communication system (gigabit Ethernet is common). A Linux
Beowulf cluster is an example of a loosely coupled system.
9
DIFFERENCE BETWEEN
MULTIPROGRAMMING AND
MULTIPROCESSING
 Multiprogramming is the interleaved execution of two
or more processes by a single-CPU computer system.
 On the other hand, multiprocessing is the
simultaneous execution of two or more processes by a
computer system having more than one CPU. To be
more specific, multiprogramming involves executing a
portion of one program, then a segment of another ,
etc. In a brief consecutive time periods.
 Multiprocessing , however, makes it possible for the
system to simultaneous work on several program
segments of one or more programs.
10
ADVANTAGES AND
LIMITATION OF
MULTOPROCESSING
 MULTIPROCESSING SYSTEMS NORMALLY HAVE THE FOLLOWING
ADVANTAGE:
 BETTER PERFOMANCE:
Due to multiplicity of processors, multiprocessors systems have better performance
than single processor system. That is the multiple processor of such a system can be
utilized properly for providing shorter response times and higher throughput than a
single processor system.
 BETTER RELIABILITY:
Due to multiplicity of processor multi processor systems also have better reliability
than single processor system. in a properly design multiprocessor system, if one of
the processor breaks down the other processor automatically takes over the system
workload until repair are made. thus a complete breakdown of such systems can be
avoided.
11
For any Detail Contact at:
Mobile No.: +91-7827233509
or,
Visit my Site: http://caanish61032.wix.com/anish
12

More Related Content

What's hot

1 introduction
1 introduction1 introduction
1 introductionMohd Arif
 
Introduction to Operating Systems
Introduction to Operating SystemsIntroduction to Operating Systems
Introduction to Operating SystemsMukesh Chinta
 
Os solved question paper
Os solved question paperOs solved question paper
Os solved question paperAnkit Bhatnagar
 
Operating System Lecture Notes
Operating System Lecture NotesOperating System Lecture Notes
Operating System Lecture NotesFellowBuddy.com
 
Silberschatz / OS Concepts
Silberschatz /  OS Concepts Silberschatz /  OS Concepts
Silberschatz / OS Concepts Alanisca Alanis
 
Operating Systems
Operating SystemsOperating Systems
Operating Systemsvampugani
 
6 multiprogramming & time sharing
6 multiprogramming & time sharing6 multiprogramming & time sharing
6 multiprogramming & time sharingmyrajendra
 
Operating system interview question
Operating system interview questionOperating system interview question
Operating system interview questionsriram saravanan
 
Introduction to Operating System (Important Notes)
Introduction to Operating System (Important Notes)Introduction to Operating System (Important Notes)
Introduction to Operating System (Important Notes)Gaurav Kakade
 
Basics of Operating System
Basics of Operating SystemBasics of Operating System
Basics of Operating SystemSoumit Ghosh
 
SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...
SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...
SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...vtunotesbysree
 
Introduction to Operating System
Introduction to Operating SystemIntroduction to Operating System
Introduction to Operating Systempriya_sinha02
 
Operating system notes ch1
Operating system notes ch1Operating system notes ch1
Operating system notes ch1Emmanuel Damka
 
Session1 intro to_os
Session1 intro to_osSession1 intro to_os
Session1 intro to_osKalyani Patil
 

What's hot (19)

1 introduction
1 introduction1 introduction
1 introduction
 
Introduction to Operating Systems
Introduction to Operating SystemsIntroduction to Operating Systems
Introduction to Operating Systems
 
Presentation1 cc
Presentation1 ccPresentation1 cc
Presentation1 cc
 
Os Question Bank
Os Question BankOs Question Bank
Os Question Bank
 
Os solved question paper
Os solved question paperOs solved question paper
Os solved question paper
 
Operating System Lecture Notes
Operating System Lecture NotesOperating System Lecture Notes
Operating System Lecture Notes
 
Silberschatz / OS Concepts
Silberschatz /  OS Concepts Silberschatz /  OS Concepts
Silberschatz / OS Concepts
 
Operating Systems
Operating SystemsOperating Systems
Operating Systems
 
6 multiprogramming & time sharing
6 multiprogramming & time sharing6 multiprogramming & time sharing
6 multiprogramming & time sharing
 
Operating System
Operating SystemOperating System
Operating System
 
Operating system interview question
Operating system interview questionOperating system interview question
Operating system interview question
 
Introduction to Operating System (Important Notes)
Introduction to Operating System (Important Notes)Introduction to Operating System (Important Notes)
Introduction to Operating System (Important Notes)
 
Basics of Operating System
Basics of Operating SystemBasics of Operating System
Basics of Operating System
 
SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...
SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...
SOLUTION MANUAL OF OPERATING SYSTEM CONCEPTS BY ABRAHAM SILBERSCHATZ, PETER B...
 
Ch1-Operating System Concept
Ch1-Operating System ConceptCh1-Operating System Concept
Ch1-Operating System Concept
 
Introduction to Operating System
Introduction to Operating SystemIntroduction to Operating System
Introduction to Operating System
 
Operating system notes ch1
Operating system notes ch1Operating system notes ch1
Operating system notes ch1
 
Intro to Multitasking
Intro to MultitaskingIntro to Multitasking
Intro to Multitasking
 
Session1 intro to_os
Session1 intro to_osSession1 intro to_os
Session1 intro to_os
 

Viewers also liked

Diez tecnologias que querríamos que existieran, pero no existen
Diez tecnologias que querríamos que existieran, pero no existenDiez tecnologias que querríamos que existieran, pero no existen
Diez tecnologias que querríamos que existieran, pero no existenLa Catedral Innova
 
Introduccion de contaduria_ (3)
Introduccion de contaduria_ (3)Introduccion de contaduria_ (3)
Introduccion de contaduria_ (3)adrocro
 
Redtrabaj@ presentacion
Redtrabaj@ presentacionRedtrabaj@ presentacion
Redtrabaj@ presentacionAedl Mic
 
ALE Short Form Catalog 93008100
ALE Short Form Catalog 93008100ALE Short Form Catalog 93008100
ALE Short Form Catalog 93008100Andy Tydeman
 
Financial incentives and initiatives to improve the quality of care in South ...
Financial incentives and initiatives to improve the quality of care in South ...Financial incentives and initiatives to improve the quality of care in South ...
Financial incentives and initiatives to improve the quality of care in South ...resyst
 
Новые виды менеджмента 24.01.2017 Крушинская Юлия
Новые виды менеджмента 24.01.2017 Крушинская ЮлияНовые виды менеджмента 24.01.2017 Крушинская Юлия
Новые виды менеджмента 24.01.2017 Крушинская Юлияugroup
 

Viewers also liked (11)

As Important
As ImportantAs Important
As Important
 
Diez tecnologias que querríamos que existieran, pero no existen
Diez tecnologias que querríamos que existieran, pero no existenDiez tecnologias que querríamos que existieran, pero no existen
Diez tecnologias que querríamos que existieran, pero no existen
 
Exposicion de informatik 1002
Exposicion de informatik 1002Exposicion de informatik 1002
Exposicion de informatik 1002
 
Introduccion de contaduria_ (3)
Introduccion de contaduria_ (3)Introduccion de contaduria_ (3)
Introduccion de contaduria_ (3)
 
Redtrabaj@ presentacion
Redtrabaj@ presentacionRedtrabaj@ presentacion
Redtrabaj@ presentacion
 
Fake Godfather
Fake GodfatherFake Godfather
Fake Godfather
 
Even If You Placed
Even If You PlacedEven If You Placed
Even If You Placed
 
ALE Short Form Catalog 93008100
ALE Short Form Catalog 93008100ALE Short Form Catalog 93008100
ALE Short Form Catalog 93008100
 
Financial incentives and initiatives to improve the quality of care in South ...
Financial incentives and initiatives to improve the quality of care in South ...Financial incentives and initiatives to improve the quality of care in South ...
Financial incentives and initiatives to improve the quality of care in South ...
 
Новые виды менеджмента 24.01.2017 Крушинская Юлия
Новые виды менеджмента 24.01.2017 Крушинская ЮлияНовые виды менеджмента 24.01.2017 Крушинская Юлия
Новые виды менеджмента 24.01.2017 Крушинская Юлия
 
PolicyholderBrochure_Digital
PolicyholderBrochure_DigitalPolicyholderBrochure_Digital
PolicyholderBrochure_Digital
 

Similar to 100-E

Types of Operating System-converted.pdf
Types of Operating System-converted.pdfTypes of Operating System-converted.pdf
Types of Operating System-converted.pdfOmid695066
 
Process Management Operating Systems .pptx
Process Management        Operating Systems .pptxProcess Management        Operating Systems .pptx
Process Management Operating Systems .pptxSAIKRISHNADURVASULA2
 
LM1 - Computer System Overview, system calls
LM1 - Computer System Overview, system callsLM1 - Computer System Overview, system calls
LM1 - Computer System Overview, system callsmanideepakc
 
OPERATING SYSTEM - SHORT NOTES
OPERATING SYSTEM - SHORT NOTESOPERATING SYSTEM - SHORT NOTES
OPERATING SYSTEM - SHORT NOTESsuthi
 
Operating Systems
Operating SystemsOperating Systems
Operating Systemsachal02
 
MYSQL DATABASE Operating System Part2 (1).pptx
MYSQL DATABASE Operating System Part2 (1).pptxMYSQL DATABASE Operating System Part2 (1).pptx
MYSQL DATABASE Operating System Part2 (1).pptxArjayBalberan1
 
LM9 - OPERATIONS, SCHEDULING, Inter process xommuncation
LM9 - OPERATIONS, SCHEDULING, Inter process xommuncationLM9 - OPERATIONS, SCHEDULING, Inter process xommuncation
LM9 - OPERATIONS, SCHEDULING, Inter process xommuncationMani Deepak Choudhry
 
Operating system notes
Operating system notesOperating system notes
Operating system notesSANTOSH RATH
 
Unix operating system basics
Unix operating system basicsUnix operating system basics
Unix operating system basicsSankar Suriya
 
Operating Systems
Operating Systems Operating Systems
Operating Systems Fahad Shaikh
 
4-Process control block.pptx
4-Process control block.pptx4-Process control block.pptx
4-Process control block.pptxsania458451
 
4-Process control block.pptx
4-Process control block.pptx4-Process control block.pptx
4-Process control block.pptxsania458451
 

Similar to 100-E (20)

Types of Operating System-converted.pdf
Types of Operating System-converted.pdfTypes of Operating System-converted.pdf
Types of Operating System-converted.pdf
 
Operating system
Operating systemOperating system
Operating system
 
Process Management Operating Systems .pptx
Process Management        Operating Systems .pptxProcess Management        Operating Systems .pptx
Process Management Operating Systems .pptx
 
LM1 - Computer System Overview, system calls
LM1 - Computer System Overview, system callsLM1 - Computer System Overview, system calls
LM1 - Computer System Overview, system calls
 
OPERATING SYSTEM - SHORT NOTES
OPERATING SYSTEM - SHORT NOTESOPERATING SYSTEM - SHORT NOTES
OPERATING SYSTEM - SHORT NOTES
 
Operating Systems
Operating SystemsOperating Systems
Operating Systems
 
MYSQL DATABASE Operating System Part2 (1).pptx
MYSQL DATABASE Operating System Part2 (1).pptxMYSQL DATABASE Operating System Part2 (1).pptx
MYSQL DATABASE Operating System Part2 (1).pptx
 
Os
OsOs
Os
 
LM9 - OPERATIONS, SCHEDULING, Inter process xommuncation
LM9 - OPERATIONS, SCHEDULING, Inter process xommuncationLM9 - OPERATIONS, SCHEDULING, Inter process xommuncation
LM9 - OPERATIONS, SCHEDULING, Inter process xommuncation
 
Firo
FiroFiro
Firo
 
Os notes
Os notesOs notes
Os notes
 
Parallel Processing.pptx
Parallel Processing.pptxParallel Processing.pptx
Parallel Processing.pptx
 
Operating system notes
Operating system notesOperating system notes
Operating system notes
 
Os question
Os questionOs question
Os question
 
Os
OsOs
Os
 
Unix operating system basics
Unix operating system basicsUnix operating system basics
Unix operating system basics
 
Operating Systems
Operating Systems Operating Systems
Operating Systems
 
4-Process control block.pptx
4-Process control block.pptx4-Process control block.pptx
4-Process control block.pptx
 
4-Process control block.pptx
4-Process control block.pptx4-Process control block.pptx
4-Process control block.pptx
 
Os
OsOs
Os
 

100-E

  • 1. PROJECT ON OPERATINGSYSTEM,MULTIPROGRAMING,MULTIpROCESSING,MULTITHREADING,MULTITASKING SUBMITTEDBY: Submitted to: Student Name: MR. RAMAN DEEP SINGH ANISH KUSHWAHA (FACUILTYINCHARGE) Roll no.: 100 Reg.no.: NRO0348130 Batchshift:Evening(3:30pmto 7:30pm) Groupname: g17
  • 2. CONTENT PAGE NO.  DEFINITION OF OPERATING SYSTEM……………………………………………………………………………………………  TYPES OF OPERATING SYSTEM…………………………………………………………………………………………………..  FEATURES OF OPERATING SYSTEM………………………………………………………………..........................................  FUNCTION OF OPERATING SYSTEM…………………………………………………………………………………………….  DEFINITION OF MULTIPROGRAMMING…………………………………………………………………………………………  REQUIREMENTS OF MULTIPROGRAMMING……………………………………………………………………………………  MEANING OF MULTITASKING………………………………………………………………………………….........................  DEFINITION OF MULTITHREADING……………………………………………………………………………………………....  MEANING OF MULTIPROCESSING………………………………………………………………………………………………  DIFFERENT BETWEEN MULTIPROGRAMMING AND MULTIPROCESSING……………………………………………………..  ADVANTAGES AND LIMITATION OF MULTIPROCESSING……………………………………………………………………… 2 1 3 4 5 6 7 8 9 10 11
  • 3. Definition of Operating System Operating System is the layer which lies between the Hardware and the Application Software. operating system is responsible for booting up, shutting down and management of resources while the computer is up and running. Personal computers are initially run on DOS and apple operating systems. these gave way to windows and other graphic user interface (GUI) based operating systems. Servers which provide services to computers connected to them i.e. clients use other operating system s like Unix, Windows 2000,Windows 7/8 to manage distribution of resources between the clients. 1
  • 4. TYPES OF OPERATING SYSTEM  REAL TIME OPERATING SYSTEM (RTOS) RTOS are used to control machinery scientific instruments and industrial systems. SINGLE USERS, SINGLE TASK As the name implies, this operating system is designed to manage the computer so that one user can effectively do one thing at a time. SINGLE USER, MULTI-TASKING This is the type of operating system most people use on their desktop and laptop computers today. MULTI-USER multi user operating system allows many different user to take advantage of the computer’s resource simultaneously. 2
  • 5. FEATURES OF OPERATING SYSTEM  THE MAJOR FETURES OF WINDOWS -7  A redesigned taskbar and multi-touch support  Better search facility for files or documents  Sharing of file folders among users  Automatic defragmentation of disk to release contiguous areas of disk  bundled internet explorer version 8  Better support for multimedia  Better security support  Support for multicore processors 3
  • 6. FUNCTION OF OPERATING SYSTEM  PROCESS MANAGEMENT Major activities of OS with respect to process management  creation and deletion of user and system processes Suspension and resumption of processes A mechanism for process synchronization A mechanism for process communication and A mechanism for deadlock handling MEMORY MANAGEMENT major activities of OS with respect to memory management  to keep track of which part of memory are currently being used and by whom To decide which process is loaded into memory when memory space becomes available 4
  • 7. MULTIPROGRAMMING  Meaning of multiprogramming: In multiprogramming systems, the running task keeps running until it performs an operation that requires waiting for an external event or until the computer’s scheduler forcibly swaps the running task out of the CPU. Multiprogramming systems are designed to maximize CPU usage. In fact , depending on the CPU utilization during the course of processing, jobs are broadly classified into the following two types:  CPU-bound jobs: These jobs mostly perform numerical calculation, with little I/O operations.  I/O bound jobs: These jobs normally input vast amount of data, perform very little computation, and output amount of information 5
  • 8. REQUIREMENTS OF MULTIPROGRAMMING SYSTEM LARGE MEMORY: For multiprogramming to work satisfactorily, large main memory is required to accommodate a good number of user programs along with the operating system.  Memory Protection: In multiprogramming system, this is achieved by the memory protection feature; a combination of hardware and software, which prevents one job from addressing beyond the limits to its own allocated memory area.  Job status preservation: In multiprogramming, when a running job gets blocked for I/O processing, the CPU is taken away from this job and is given to another job that is ready for execution.  Proper job mix: A proper mix of I/O-bound and CPU-bound jobs are required to effectively overlap the operations of the CPU and I/O devices.  CPU scheduling: The part of the Operating system concerned with this decision is called the CPU Scheduler, and the algorithm it uses is called the CPU scheduling algorithm. 6
  • 9. MULTITASKING  Meaning of multitasking: Multitasking is a method with in multiple tasks processes sharing common processing resources such as a CPU. In the case of a Computer with a single CPU, only one task is said to be running at any point in time, meaning that the CPU is actively executing instructions for that task. Multitasking solves the problem by scheduling which task may be the one running at any given time, and when another waiting task gets a turn. The act of reassigning a CPU from one task to another one is called a context switch. Many persons do not distinguish between multiprogramming and multitasking because both the terms refer to the same concept. However, some persons prefer to use the term multiprogramming for multi- user systems, and multitasking for single- user systems. Note that even in a single-user system, it is not necessary that the system works only on one job at a time. In fact, a user of a single-user system often has multiple tasks concurrently processed by the system. The progress of different tasks can be viewed on different window in a multitasking system. Hence, for those who like to differentiate between multiprogramming and multitasking, Multiprogramming is the concurrent execution of multiple jobs in a multi user systems, while multitasking is the concurrent execution of multiple jobs in 7
  • 10. MULTITHREADIN G  Definition Of Multithreading: Threads are a popular way to improve application performance. In traditional operating systems, the basic unit of CPU utilization is a process. Each process has its own program counter, its own register states, its own stack, and its own address space (memory area allocated to it). On the other hand, in operating systems, with threads facility, the basic unit of CPU utilization is a thread. Each thread of a process has its own program counter, its own register states, and its own stack. But all the threads of a process also share the same set of operating system resources, such as open files, signals, accounting information, and so on. Threads are often referred to as lightweight processes and traditional processes are referred to as heavyweight processes. 8 Address space Threads Address space Thread Thread Thread Single-threaded process Multithreaded Processes
  • 11. Multiprocessing is the use of two or more Central Processing Units(CPUs) within a single computer system. The term also refers to the ability of a system to support more then one processor and the ability to allocate task between them. In multiprocessing system, all CPU may be equal or some may be reserve for special purposes. A combination of hardware and operating system software design consideration determine the symmetry in given system. Multiprocessing systems are basically of two types namely:  Tightly-coupled systems: Tightly-coupled multiprocessor systems contain multiple CPU that are connected at the BUS level. These CPU may have access to a central shared memory( SMP or UMA), or may participate in a memory hierarchy with both local and shared memory(NUMA).  Loosely coupled multiprocessing system: loosely coupled multiprocessor system are based on multiple standalone single or dual processor commodity computers interconnected via a high speed communication system (gigabit Ethernet is common). A Linux Beowulf cluster is an example of a loosely coupled system. 9
  • 12. DIFFERENCE BETWEEN MULTIPROGRAMMING AND MULTIPROCESSING  Multiprogramming is the interleaved execution of two or more processes by a single-CPU computer system.  On the other hand, multiprocessing is the simultaneous execution of two or more processes by a computer system having more than one CPU. To be more specific, multiprogramming involves executing a portion of one program, then a segment of another , etc. In a brief consecutive time periods.  Multiprocessing , however, makes it possible for the system to simultaneous work on several program segments of one or more programs. 10
  • 13. ADVANTAGES AND LIMITATION OF MULTOPROCESSING  MULTIPROCESSING SYSTEMS NORMALLY HAVE THE FOLLOWING ADVANTAGE:  BETTER PERFOMANCE: Due to multiplicity of processors, multiprocessors systems have better performance than single processor system. That is the multiple processor of such a system can be utilized properly for providing shorter response times and higher throughput than a single processor system.  BETTER RELIABILITY: Due to multiplicity of processor multi processor systems also have better reliability than single processor system. in a properly design multiprocessor system, if one of the processor breaks down the other processor automatically takes over the system workload until repair are made. thus a complete breakdown of such systems can be avoided. 11
  • 14. For any Detail Contact at: Mobile No.: +91-7827233509 or, Visit my Site: http://caanish61032.wix.com/anish 12