SlideShare a Scribd company logo
1 of 14
B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar
Operating System
KCS – 401
Some Aspect of OS
Dr. Pankaj Kumar
Associate Professor – CSE
SRMGPC Lucknow
Outline of the Lecture
B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar
Different Aspect of OS:
Multiprogramming System
Multitasking
Multiprocessing/Multiprocessor Systems
Multiuser Systems
Multithreaded Systems
Aspect of OS
B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar
Multiprogramming
Single user cannot keep CPU and I/O devices
busy at all times.
Sharing the processor, when two or more
programs reside in memory at the same time, is
referred as multiprogramming.
Multiprogramming assumes a single shared
processor. Multiprogramming increases CPU
utilization by organizing jobs so that the CPU
always has one to execute.
Multiprogramming operating systems monitor the
state of all active programs and system resources
using memory management programs to ensures
that the CPU is never idle, unless there are no
jobs to process.
Aspect of OS
B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar
Multiprogramming
Advantages
• High and efficient CPU utilization.
• User feels that many programs are allotted CPU almost simultaneously.
Disadvantages
• CPU scheduling is required.
• To accommodate many jobs in memory, memory management is required.
Aspect of OS
B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar
Multitasking : Timesharing
is logical extension of multiprogramming in which CPU switches jobs so frequently that users
can interact with each job while it is running, creating interactive computing
Response time should be < 1 second
Each user has at least one program executing in memory process
If several jobs ready to run at the same time  CPU scheduling
If processes don’t fit in memory, swapping moves them in and out to run
Virtual memory allows execution of processes not completely in memory
Aspect of OS
B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar
Multiprocessing/Multiprocessor
Multiprocessing is the use of two or more CPUs
(processors) within a single Computer system. The
term also refers to the ability of a system to support
more than one processor within a single computer
system.
Now since there are multiple processors available,
multiple processes can be executed at a time. These
multi processors share the computer bus, sometimes
the clock, memory and peripheral devices also.
Aspect of OS
B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar
Multiprocessing/Multiprocessor
There are mainly two types of multiprocessor systems.
• Symmetric Multiprocessor System
• Asymmetric Multiprocessor System
Symmetric Multiprocessor System
In symmetric multiprocessing, multiple processors share a
common memory and operating system. All of these
processors work in tandem to execute processes. The
operating system treats all the processors equally, and no
processor is reserved for special purposes.
Aspect of OS
B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar
Asymmetric Multiprocessor System
Asymmetric multiprocessor systems are a part of
multiprocessor systems along with symmetric
multiprocessor systems. Multiprocessor systems have
multiple processors working in parallel that share the
computer clock, memory, bus, peripheral devices etc.
Multiprocessing/Multiprocessor
Aspect of OS
B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar
Multiprocessing/Multiprocessor
Asymmetric Multiprocessing Symmetric Multiprocessing
In asymmetric multiprocessing, the processors are not
treated equally.
In symmetric multiprocessing, all the processors are
treated equally.
Tasks of the operating system are done by master
processor.
Tasks of the operating system are done individual
processor
No Communication between Processors as they are
controlled by the master processor.
All processors communicate with another processor
by a shared memory.
In asymmetric multiprocessing, process are master-
slave.
In symmetric multiprocessing, the process is taken
from the ready queue.
Asymmetric multiprocessing systems are cheaper. Symmetric multiprocessing systems are costlier.
Asymmetric multiprocessing systems are easier to
design
Symmetric multiprocessing systems are complex to
design
Aspect of OS
B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar
Multiprocessing/Multiprocessor
Advantages
In a multiprocessor system, even if one processor fails, the system will not halt. This ability to
continue working despite hardware failure is known as graceful degradation.
Execution of several tasks by different processors concurrently, increases the system's throughput
without speeding up the execution of a single task.
Disadvantages
All the processors in the multiprocessor system share the memory. So a much larger pool of
memory is required as compared to single processor systems.
Aspect of OS
B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar
Multiuser
Multi-user operating system is a computer operating
system which allows multiple users to access the
single system with one operating system on it. In the
multi-user operating system, different users connected
at different terminals and we can access, these users
through the network.
A multi-user operating system (OS) is one that can be
used by more than one person at a time while running
on a single machine. Different users access the
machine running the OS through networked terminals.
The OS can handle requests from users by taking
turns among connected users.
Aspect of OS
B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar
Multithreading
A thread is a basic unit of CPU utilization. Multi threading
is an execution model that allows a single process to have
multiple code segments (i.e., threads) running concurrently
within the “context” of that process.
Multi threading is the ability of a process to manage its use
by more than one user at a time and to manage multiple
requests by the same user without having to have multiple
copies of the program.
Aspect of OS
B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar
Multithreading
Advantages
• Threads minimize the context switching time.
• Use of threads provides concurrency within a process.
• Efficient communication.
• It is more economical to create and context switch threads.
• Threads allow utilization of multiprocessor architectures to a greater scale and efficiency.
Queries
???????
B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar

More Related Content

Similar to Aspect 0f Operating System

Operating Systems
Operating Systems Operating Systems
Operating Systems Fahad Shaikh
 
OPERATING SYSTEM
OPERATING SYSTEM OPERATING SYSTEM
OPERATING SYSTEM Khehra Saab
 
Docs_CSEOSLNotes2013.pdf
Docs_CSEOSLNotes2013.pdfDocs_CSEOSLNotes2013.pdf
Docs_CSEOSLNotes2013.pdfGGESBachianwali
 
LM1 - Computer System Overview, system calls
LM1 - Computer System Overview, system callsLM1 - Computer System Overview, system calls
LM1 - Computer System Overview, system callsmanideepakc
 
Distributed system notes unit I
Distributed system notes unit IDistributed system notes unit I
Distributed system notes unit INANDINI SHARMA
 
Operating system (BCS303) MODULE 1 NOTES
Operating system (BCS303) MODULE 1 NOTESOperating system (BCS303) MODULE 1 NOTES
Operating system (BCS303) MODULE 1 NOTESKopinathMURUGESAN
 
Real Time Operating System ,Structures of Operating System (Monolithic, Micro...
Real Time Operating System ,Structures of Operating System(Monolithic, Micro...Real Time Operating System ,Structures of Operating System(Monolithic, Micro...
Real Time Operating System ,Structures of Operating System (Monolithic, Micro...VIJETHAK2
 
Multiprocessor Systems
Multiprocessor SystemsMultiprocessor Systems
Multiprocessor Systemsvampugani
 
Fundamental Operating System Concepts.pptx
Fundamental Operating System Concepts.pptxFundamental Operating System Concepts.pptx
Fundamental Operating System Concepts.pptxUttara University
 
Operating system notes
Operating system notesOperating system notes
Operating system notesSANTOSH RATH
 
Types of Operating System-converted.pdf
Types of Operating System-converted.pdfTypes of Operating System-converted.pdf
Types of Operating System-converted.pdfOmid695066
 

Similar to Aspect 0f Operating System (20)

Operating Systems
Operating Systems Operating Systems
Operating Systems
 
ITM(2).ppt
ITM(2).pptITM(2).ppt
ITM(2).ppt
 
OPERATING SYSTEM
OPERATING SYSTEM OPERATING SYSTEM
OPERATING SYSTEM
 
Docs_CSEOSLNotes2013.pdf
Docs_CSEOSLNotes2013.pdfDocs_CSEOSLNotes2013.pdf
Docs_CSEOSLNotes2013.pdf
 
Os
OsOs
Os
 
Os question
Os questionOs question
Os question
 
LM1 - Computer System Overview, system calls
LM1 - Computer System Overview, system callsLM1 - Computer System Overview, system calls
LM1 - Computer System Overview, system calls
 
Distributed system notes unit I
Distributed system notes unit IDistributed system notes unit I
Distributed system notes unit I
 
UNIT 2.pptx
UNIT 2.pptxUNIT 2.pptx
UNIT 2.pptx
 
Operating System Lecture 4
Operating System Lecture 4Operating System Lecture 4
Operating System Lecture 4
 
OS UNIT1.pptx
OS UNIT1.pptxOS UNIT1.pptx
OS UNIT1.pptx
 
Operating system (BCS303) MODULE 1 NOTES
Operating system (BCS303) MODULE 1 NOTESOperating system (BCS303) MODULE 1 NOTES
Operating system (BCS303) MODULE 1 NOTES
 
Types of os
Types of osTypes of os
Types of os
 
Real Time Operating System ,Structures of Operating System (Monolithic, Micro...
Real Time Operating System ,Structures of Operating System(Monolithic, Micro...Real Time Operating System ,Structures of Operating System(Monolithic, Micro...
Real Time Operating System ,Structures of Operating System (Monolithic, Micro...
 
Multiprocessor Systems
Multiprocessor SystemsMultiprocessor Systems
Multiprocessor Systems
 
Distributed Operating System_1
Distributed Operating System_1Distributed Operating System_1
Distributed Operating System_1
 
Fundamental Operating System Concepts.pptx
Fundamental Operating System Concepts.pptxFundamental Operating System Concepts.pptx
Fundamental Operating System Concepts.pptx
 
Operating system
Operating systemOperating system
Operating system
 
Operating system notes
Operating system notesOperating system notes
Operating system notes
 
Types of Operating System-converted.pdf
Types of Operating System-converted.pdfTypes of Operating System-converted.pdf
Types of Operating System-converted.pdf
 

More from Shri Ram Swaroop Memorial College of Engineering & Management

More from Shri Ram Swaroop Memorial College of Engineering & Management (17)

IO system
IO systemIO system
IO system
 
Operating System - File system
Operating System - File systemOperating System - File system
Operating System - File system
 
Disk Scheduling
Disk SchedulingDisk Scheduling
Disk Scheduling
 
Paging
PagingPaging
Paging
 
Virtual Memory
Virtual MemoryVirtual Memory
Virtual Memory
 
Page Replacement
Page ReplacementPage Replacement
Page Replacement
 
Memory Management
Memory Management Memory Management
Memory Management
 
Bare Machine
Bare MachineBare Machine
Bare Machine
 
Operating System Sheduling
Operating System ShedulingOperating System Sheduling
Operating System Sheduling
 
Operating System Deadlock
Operating System DeadlockOperating System Deadlock
Operating System Deadlock
 
Operating System: process
Operating System: processOperating System: process
Operating System: process
 
Operating System: Process and synchronization
Operating System: Process and synchronizationOperating System: Process and synchronization
Operating System: Process and synchronization
 
Operating System: Semaphor
Operating System: SemaphorOperating System: Semaphor
Operating System: Semaphor
 
Operating System: interprocess Communication
Operating System: interprocess CommunicationOperating System: interprocess Communication
Operating System: interprocess Communication
 
Structure of Operating System
Structure of Operating SystemStructure of Operating System
Structure of Operating System
 
Function of Operating System
Function of Operating SystemFunction of Operating System
Function of Operating System
 
Operating System - Overview
Operating System - OverviewOperating System - Overview
Operating System - Overview
 

Recently uploaded

Observing-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptxObserving-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptxAdelaideRefugio
 
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaEADTU
 
Improved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio AppImproved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio AppCeline George
 
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...MysoreMuleSoftMeetup
 
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading RoomSternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading RoomSean M. Fox
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxneillewis46
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...EduSkills OECD
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...EADTU
 
8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital ManagementMBA Assignment Experts
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptNishitharanjan Rout
 
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxAnalyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxLimon Prince
 
Trauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesTrauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesPooky Knightsmith
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024Borja Sotomayor
 
How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17Celine George
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽中 央社
 
Rich Dad Poor Dad ( PDFDrive.com )--.pdf
Rich Dad Poor Dad ( PDFDrive.com )--.pdfRich Dad Poor Dad ( PDFDrive.com )--.pdf
Rich Dad Poor Dad ( PDFDrive.com )--.pdfJerry Chew
 

Recently uploaded (20)

VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
Observing-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptxObserving-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptx
 
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
 
Improved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio AppImproved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio App
 
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
 
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading RoomSternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptx
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
ESSENTIAL of (CS/IT/IS) class 07 (Networks)
ESSENTIAL of (CS/IT/IS) class 07 (Networks)ESSENTIAL of (CS/IT/IS) class 07 (Networks)
ESSENTIAL of (CS/IT/IS) class 07 (Networks)
 
Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management
 
AIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.pptAIM of Education-Teachers Training-2024.ppt
AIM of Education-Teachers Training-2024.ppt
 
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptxAnalyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
Analyzing and resolving a communication crisis in Dhaka textiles LTD.pptx
 
Including Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdfIncluding Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdf
 
Trauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesTrauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical Principles
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024
 
How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
 
Rich Dad Poor Dad ( PDFDrive.com )--.pdf
Rich Dad Poor Dad ( PDFDrive.com )--.pdfRich Dad Poor Dad ( PDFDrive.com )--.pdf
Rich Dad Poor Dad ( PDFDrive.com )--.pdf
 

Aspect 0f Operating System

  • 1. B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar Operating System KCS – 401 Some Aspect of OS Dr. Pankaj Kumar Associate Professor – CSE SRMGPC Lucknow
  • 2. Outline of the Lecture B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar Different Aspect of OS: Multiprogramming System Multitasking Multiprocessing/Multiprocessor Systems Multiuser Systems Multithreaded Systems
  • 3. Aspect of OS B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar Multiprogramming Single user cannot keep CPU and I/O devices busy at all times. Sharing the processor, when two or more programs reside in memory at the same time, is referred as multiprogramming. Multiprogramming assumes a single shared processor. Multiprogramming increases CPU utilization by organizing jobs so that the CPU always has one to execute. Multiprogramming operating systems monitor the state of all active programs and system resources using memory management programs to ensures that the CPU is never idle, unless there are no jobs to process.
  • 4. Aspect of OS B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar Multiprogramming Advantages • High and efficient CPU utilization. • User feels that many programs are allotted CPU almost simultaneously. Disadvantages • CPU scheduling is required. • To accommodate many jobs in memory, memory management is required.
  • 5. Aspect of OS B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar Multitasking : Timesharing is logical extension of multiprogramming in which CPU switches jobs so frequently that users can interact with each job while it is running, creating interactive computing Response time should be < 1 second Each user has at least one program executing in memory process If several jobs ready to run at the same time  CPU scheduling If processes don’t fit in memory, swapping moves them in and out to run Virtual memory allows execution of processes not completely in memory
  • 6. Aspect of OS B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar Multiprocessing/Multiprocessor Multiprocessing is the use of two or more CPUs (processors) within a single Computer system. The term also refers to the ability of a system to support more than one processor within a single computer system. Now since there are multiple processors available, multiple processes can be executed at a time. These multi processors share the computer bus, sometimes the clock, memory and peripheral devices also.
  • 7. Aspect of OS B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar Multiprocessing/Multiprocessor There are mainly two types of multiprocessor systems. • Symmetric Multiprocessor System • Asymmetric Multiprocessor System Symmetric Multiprocessor System In symmetric multiprocessing, multiple processors share a common memory and operating system. All of these processors work in tandem to execute processes. The operating system treats all the processors equally, and no processor is reserved for special purposes.
  • 8. Aspect of OS B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar Asymmetric Multiprocessor System Asymmetric multiprocessor systems are a part of multiprocessor systems along with symmetric multiprocessor systems. Multiprocessor systems have multiple processors working in parallel that share the computer clock, memory, bus, peripheral devices etc. Multiprocessing/Multiprocessor
  • 9. Aspect of OS B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar Multiprocessing/Multiprocessor Asymmetric Multiprocessing Symmetric Multiprocessing In asymmetric multiprocessing, the processors are not treated equally. In symmetric multiprocessing, all the processors are treated equally. Tasks of the operating system are done by master processor. Tasks of the operating system are done individual processor No Communication between Processors as they are controlled by the master processor. All processors communicate with another processor by a shared memory. In asymmetric multiprocessing, process are master- slave. In symmetric multiprocessing, the process is taken from the ready queue. Asymmetric multiprocessing systems are cheaper. Symmetric multiprocessing systems are costlier. Asymmetric multiprocessing systems are easier to design Symmetric multiprocessing systems are complex to design
  • 10. Aspect of OS B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar Multiprocessing/Multiprocessor Advantages In a multiprocessor system, even if one processor fails, the system will not halt. This ability to continue working despite hardware failure is known as graceful degradation. Execution of several tasks by different processors concurrently, increases the system's throughput without speeding up the execution of a single task. Disadvantages All the processors in the multiprocessor system share the memory. So a much larger pool of memory is required as compared to single processor systems.
  • 11. Aspect of OS B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar Multiuser Multi-user operating system is a computer operating system which allows multiple users to access the single system with one operating system on it. In the multi-user operating system, different users connected at different terminals and we can access, these users through the network. A multi-user operating system (OS) is one that can be used by more than one person at a time while running on a single machine. Different users access the machine running the OS through networked terminals. The OS can handle requests from users by taking turns among connected users.
  • 12. Aspect of OS B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar Multithreading A thread is a basic unit of CPU utilization. Multi threading is an execution model that allows a single process to have multiple code segments (i.e., threads) running concurrently within the “context” of that process. Multi threading is the ability of a process to manage its use by more than one user at a time and to manage multiple requests by the same user without having to have multiple copies of the program.
  • 13. Aspect of OS B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar Multithreading Advantages • Threads minimize the context switching time. • Use of threads provides concurrency within a process. • Efficient communication. • It is more economical to create and context switch threads. • Threads allow utilization of multiprocessor architectures to a greater scale and efficiency.
  • 14. Queries ??????? B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar