SlideShare a Scribd company logo
1 of 3
Download to read offline
Synchronous I/O : CPU waits till the I/O proceeds.
Asynchronous I/O : It executes cuncurrently with CPU execution.
Special Instruction I/O : They uses the CPU instructions for controlling the I/O devices.
Memory-mapped I/O : They share the same address space with the memory. Devices are
connected directly to the main memory so that they can transfer block of data
Direct memory access (DMA) : It ensures that CPU grants I/O module authority to read from or
write to memory without involvement. This module is responsible for
exchanging data between I/O device and main memory. It uses the hardware DMAC for data
transfers.
Polling I/O : It periodically checks the status of the device to check if the device performs any
further I/O operation.
Interrupt I/O : It works on interrupt signal where a device controller puts an interrupt signal on
the bus when it requires CPU’s attention.
Programmed I/O :
* It is used only in low end microcomputers.
* It has only single output and single input instruction.
* In this procees each instructions selects one I/O device and transfers a single character (byte).
Working:
I/O operation is requested by CPU.
Operation is performed by I/O module.
Status bits is being set by I/O module
Status bits are checked periodically by CPU.
CPU is not directly informed by I/O module.
CPU is not interrupted by I/O module.
CPU may wait or come back after some time.
Advantages :
It is easy to program and understand.
Disadvantages :
It has single input and single output instruction.
CPU spends most of its time in a tight loop waiting for the device to become ready.(Busy
Waiting)
Interrupt-driven I/O
Advantages :
Fast and efficient
Disadvantages :
* Interrupting a running process is an expensive business (requires saving context).
* Requires extra hardware (DMA controller chip).
Working :
CPU is interupted bye the I/O module.
Data is requested by CPU.
The data is trasferres by I/O module.
DMA ensures that CPU grants I/O module authority to read from or write to memory without
involvement. This module is responsible for
exchanging data between I/O device and main memory. It uses the hardware DMAC for data
transfers.
Solution
Synchronous I/O : CPU waits till the I/O proceeds.
Asynchronous I/O : It executes cuncurrently with CPU execution.
Special Instruction I/O : They uses the CPU instructions for controlling the I/O devices.
Memory-mapped I/O : They share the same address space with the memory. Devices are
connected directly to the main memory so that they can transfer block of data
Direct memory access (DMA) : It ensures that CPU grants I/O module authority to read from or
write to memory without involvement. This module is responsible for
exchanging data between I/O device and main memory. It uses the hardware DMAC for data
transfers.
Polling I/O : It periodically checks the status of the device to check if the device performs any
further I/O operation.
Interrupt I/O : It works on interrupt signal where a device controller puts an interrupt signal on
the bus when it requires CPU’s attention.
Programmed I/O :
* It is used only in low end microcomputers.
* It has only single output and single input instruction.
* In this procees each instructions selects one I/O device and transfers a single character (byte).
Working:
I/O operation is requested by CPU.
Operation is performed by I/O module.
Status bits is being set by I/O module
Status bits are checked periodically by CPU.
CPU is not directly informed by I/O module.
CPU is not interrupted by I/O module.
CPU may wait or come back after some time.
Advantages :
It is easy to program and understand.
Disadvantages :
It has single input and single output instruction.
CPU spends most of its time in a tight loop waiting for the device to become ready.(Busy
Waiting)
Interrupt-driven I/O
Advantages :
Fast and efficient
Disadvantages :
* Interrupting a running process is an expensive business (requires saving context).
* Requires extra hardware (DMA controller chip).
Working :
CPU is interupted bye the I/O module.
Data is requested by CPU.
The data is trasferres by I/O module.
DMA ensures that CPU grants I/O module authority to read from or write to memory without
involvement. This module is responsible for
exchanging data between I/O device and main memory. It uses the hardware DMAC for data
transfers.

More Related Content

Similar to Synchronous IO CPU waits till the IO proceeds.Asynchronous IO.pdf

Chapter 5 IO Unit.pptx we are electrical
Chapter 5 IO Unit.pptx we are electricalChapter 5 IO Unit.pptx we are electrical
Chapter 5 IO Unit.pptx we are electrical
bayisabayecha51
 
Io techniques & its types
Io techniques & its typesIo techniques & its types
Io techniques & its types
Nehal Naik
 
List of different types of InputOutput An input device that can .pdf
List of different types of InputOutput An input device that can .pdfList of different types of InputOutput An input device that can .pdf
List of different types of InputOutput An input device that can .pdf
anitasahani11
 

Similar to Synchronous IO CPU waits till the IO proceeds.Asynchronous IO.pdf (20)

Computer architecture presentation
Computer architecture presentationComputer architecture presentation
Computer architecture presentation
 
Modes Of Transfer in Input/Output Organization
Modes Of Transfer in Input/Output OrganizationModes Of Transfer in Input/Output Organization
Modes Of Transfer in Input/Output Organization
 
Modes of data transfer.computer architecture.
Modes of data transfer.computer architecture. Modes of data transfer.computer architecture.
Modes of data transfer.computer architecture.
 
Input/Output System (Part 2)
Input/Output System (Part 2) Input/Output System (Part 2)
Input/Output System (Part 2)
 
Lecture 9.pptx
Lecture 9.pptxLecture 9.pptx
Lecture 9.pptx
 
Input output module
Input output moduleInput output module
Input output module
 
Chapter 5 IO Unit.pptx we are electrical
Chapter 5 IO Unit.pptx we are electricalChapter 5 IO Unit.pptx we are electrical
Chapter 5 IO Unit.pptx we are electrical
 
Input output in computer Orgranization and architecture
Input output in computer Orgranization and architectureInput output in computer Orgranization and architecture
Input output in computer Orgranization and architecture
 
Io techniques & its types
Io techniques & its typesIo techniques & its types
Io techniques & its types
 
I/O Management
I/O ManagementI/O Management
I/O Management
 
List of different types of InputOutput An input device that can .pdf
List of different types of InputOutput An input device that can .pdfList of different types of InputOutput An input device that can .pdf
List of different types of InputOutput An input device that can .pdf
 
Unit 6
Unit 6Unit 6
Unit 6
 
IO SYSTEM AND CASE STUDY STRUCTURE
IO SYSTEM AND CASE STUDY STRUCTUREIO SYSTEM AND CASE STUDY STRUCTURE
IO SYSTEM AND CASE STUDY STRUCTURE
 
I/o management and disk scheduling .pptx
I/o management and disk scheduling .pptxI/o management and disk scheduling .pptx
I/o management and disk scheduling .pptx
 
I/O Organization
I/O OrganizationI/O Organization
I/O Organization
 
COMPUTER_ORGANIZATION.ppt
COMPUTER_ORGANIZATION.pptCOMPUTER_ORGANIZATION.ppt
COMPUTER_ORGANIZATION.ppt
 
Computer Organization (1).pdf
Computer Organization (1).pdfComputer Organization (1).pdf
Computer Organization (1).pdf
 
Ch 7 io_management & disk scheduling
Ch 7 io_management & disk schedulingCh 7 io_management & disk scheduling
Ch 7 io_management & disk scheduling
 
Mikroprosessor system
Mikroprosessor systemMikroprosessor system
Mikroprosessor system
 
comporgppt.pptx
comporgppt.pptxcomporgppt.pptx
comporgppt.pptx
 

More from rdtraders2007

You can think of H as being heat energy added ( + ), or heat removed.pdf
You can think of H as being heat energy added ( + ), or heat removed.pdfYou can think of H as being heat energy added ( + ), or heat removed.pdf
You can think of H as being heat energy added ( + ), or heat removed.pdf
rdtraders2007
 
Thermal dimorphism is the capacity to form different structures at d.pdf
Thermal dimorphism is the capacity to form different structures at d.pdfThermal dimorphism is the capacity to form different structures at d.pdf
Thermal dimorphism is the capacity to form different structures at d.pdf
rdtraders2007
 
The OSI Reference Model layers, in order from top to bottomD. Appl.pdf
The OSI Reference Model layers, in order from top to bottomD. Appl.pdfThe OSI Reference Model layers, in order from top to bottomD. Appl.pdf
The OSI Reference Model layers, in order from top to bottomD. Appl.pdf
rdtraders2007
 
Please find the required program along with the comments against eac.pdf
Please find the required program along with the comments against eac.pdfPlease find the required program along with the comments against eac.pdf
Please find the required program along with the comments against eac.pdf
rdtraders2007
 
An Operating System (OS) is an interface between a computer user and.pdf
An Operating System (OS) is an interface between a computer user and.pdfAn Operating System (OS) is an interface between a computer user and.pdf
An Operating System (OS) is an interface between a computer user and.pdf
rdtraders2007
 
Internal Evidence General.pdf
                    Internal Evidence                          General.pdf                    Internal Evidence                          General.pdf
Internal Evidence General.pdf
rdtraders2007
 
In reaction # 3 either the cis or trans diol may .pdf
                     In reaction # 3 either the cis or trans diol may .pdf                     In reaction # 3 either the cis or trans diol may .pdf
In reaction # 3 either the cis or trans diol may .pdf
rdtraders2007
 

More from rdtraders2007 (20)

(7x14x)^12=(277x^2)^12=7x(2)^12Solution(7x14x)^12=(2.pdf
(7x14x)^12=(277x^2)^12=7x(2)^12Solution(7x14x)^12=(2.pdf(7x14x)^12=(277x^2)^12=7x(2)^12Solution(7x14x)^12=(2.pdf
(7x14x)^12=(277x^2)^12=7x(2)^12Solution(7x14x)^12=(2.pdf
 
You can think of H as being heat energy added ( + ), or heat removed.pdf
You can think of H as being heat energy added ( + ), or heat removed.pdfYou can think of H as being heat energy added ( + ), or heat removed.pdf
You can think of H as being heat energy added ( + ), or heat removed.pdf
 
wait, i am posting the solution.Solutionwait, i am posting the.pdf
wait, i am posting the solution.Solutionwait, i am posting the.pdfwait, i am posting the solution.Solutionwait, i am posting the.pdf
wait, i am posting the solution.Solutionwait, i am posting the.pdf
 
There are many other contributing factors to the norms of culture th.pdf
There are many other contributing factors to the norms of culture th.pdfThere are many other contributing factors to the norms of culture th.pdf
There are many other contributing factors to the norms of culture th.pdf
 
Thermal dimorphism is the capacity to form different structures at d.pdf
Thermal dimorphism is the capacity to form different structures at d.pdfThermal dimorphism is the capacity to form different structures at d.pdf
Thermal dimorphism is the capacity to form different structures at d.pdf
 
The prime factor of 210=2357 Anyways, numbers can only be divid.pdf
The prime factor of 210=2357 Anyways, numbers can only be divid.pdfThe prime factor of 210=2357 Anyways, numbers can only be divid.pdf
The prime factor of 210=2357 Anyways, numbers can only be divid.pdf
 
The OSI Reference Model layers, in order from top to bottomD. Appl.pdf
The OSI Reference Model layers, in order from top to bottomD. Appl.pdfThe OSI Reference Model layers, in order from top to bottomD. Appl.pdf
The OSI Reference Model layers, in order from top to bottomD. Appl.pdf
 
SolutionSolutionSolution.pdf
SolutionSolutionSolution.pdfSolutionSolutionSolution.pdf
SolutionSolutionSolution.pdf
 
slope = f(x) x= 12012= 10Solutionslope = f(x) x= 120.pdf
slope = f(x) x= 12012= 10Solutionslope = f(x) x= 120.pdfslope = f(x) x= 12012= 10Solutionslope = f(x) x= 120.pdf
slope = f(x) x= 12012= 10Solutionslope = f(x) x= 120.pdf
 
s(s^2-b^2)Solutions(s^2-b^2).pdf
s(s^2-b^2)Solutions(s^2-b^2).pdfs(s^2-b^2)Solutions(s^2-b^2).pdf
s(s^2-b^2)Solutions(s^2-b^2).pdf
 
Question not visible. Please update the question and then i can answ.pdf
Question not visible. Please update the question and then i can answ.pdfQuestion not visible. Please update the question and then i can answ.pdf
Question not visible. Please update the question and then i can answ.pdf
 
Please find the required program along with the comments against eac.pdf
Please find the required program along with the comments against eac.pdfPlease find the required program along with the comments against eac.pdf
Please find the required program along with the comments against eac.pdf
 
Order the steps of the viral life cycle.1. viral entry into host.pdf
Order the steps of the viral life cycle.1. viral entry into host.pdfOrder the steps of the viral life cycle.1. viral entry into host.pdf
Order the steps of the viral life cycle.1. viral entry into host.pdf
 
Listing of the type of alleles present in an organisms cellGenotyp.pdf
Listing of the type of alleles present in an organisms cellGenotyp.pdfListing of the type of alleles present in an organisms cellGenotyp.pdf
Listing of the type of alleles present in an organisms cellGenotyp.pdf
 
An Operating System (OS) is an interface between a computer user and.pdf
An Operating System (OS) is an interface between a computer user and.pdfAn Operating System (OS) is an interface between a computer user and.pdf
An Operating System (OS) is an interface between a computer user and.pdf
 
Internal Evidence General.pdf
                    Internal Evidence                          General.pdf                    Internal Evidence                          General.pdf
Internal Evidence General.pdf
 
In reaction # 3 either the cis or trans diol may .pdf
                     In reaction # 3 either the cis or trans diol may .pdf                     In reaction # 3 either the cis or trans diol may .pdf
In reaction # 3 either the cis or trans diol may .pdf
 
Intermolecular forces exist between molecules and.pdf
                     Intermolecular forces exist between molecules and.pdf                     Intermolecular forces exist between molecules and.pdf
Intermolecular forces exist between molecules and.pdf
 
H2 concentration will decrease and H2O concentrat.pdf
                     H2 concentration will decrease and H2O concentrat.pdf                     H2 concentration will decrease and H2O concentrat.pdf
H2 concentration will decrease and H2O concentrat.pdf
 
elemental form of sodium and hydrogen is very rea.pdf
                     elemental form of sodium and hydrogen is very rea.pdf                     elemental form of sodium and hydrogen is very rea.pdf
elemental form of sodium and hydrogen is very rea.pdf
 

Recently uploaded

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 

Recently uploaded (20)

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 

Synchronous IO CPU waits till the IO proceeds.Asynchronous IO.pdf

  • 1. Synchronous I/O : CPU waits till the I/O proceeds. Asynchronous I/O : It executes cuncurrently with CPU execution. Special Instruction I/O : They uses the CPU instructions for controlling the I/O devices. Memory-mapped I/O : They share the same address space with the memory. Devices are connected directly to the main memory so that they can transfer block of data Direct memory access (DMA) : It ensures that CPU grants I/O module authority to read from or write to memory without involvement. This module is responsible for exchanging data between I/O device and main memory. It uses the hardware DMAC for data transfers. Polling I/O : It periodically checks the status of the device to check if the device performs any further I/O operation. Interrupt I/O : It works on interrupt signal where a device controller puts an interrupt signal on the bus when it requires CPU’s attention. Programmed I/O : * It is used only in low end microcomputers. * It has only single output and single input instruction. * In this procees each instructions selects one I/O device and transfers a single character (byte). Working: I/O operation is requested by CPU. Operation is performed by I/O module. Status bits is being set by I/O module Status bits are checked periodically by CPU. CPU is not directly informed by I/O module. CPU is not interrupted by I/O module. CPU may wait or come back after some time. Advantages : It is easy to program and understand. Disadvantages : It has single input and single output instruction. CPU spends most of its time in a tight loop waiting for the device to become ready.(Busy Waiting)
  • 2. Interrupt-driven I/O Advantages : Fast and efficient Disadvantages : * Interrupting a running process is an expensive business (requires saving context). * Requires extra hardware (DMA controller chip). Working : CPU is interupted bye the I/O module. Data is requested by CPU. The data is trasferres by I/O module. DMA ensures that CPU grants I/O module authority to read from or write to memory without involvement. This module is responsible for exchanging data between I/O device and main memory. It uses the hardware DMAC for data transfers. Solution Synchronous I/O : CPU waits till the I/O proceeds. Asynchronous I/O : It executes cuncurrently with CPU execution. Special Instruction I/O : They uses the CPU instructions for controlling the I/O devices. Memory-mapped I/O : They share the same address space with the memory. Devices are connected directly to the main memory so that they can transfer block of data Direct memory access (DMA) : It ensures that CPU grants I/O module authority to read from or write to memory without involvement. This module is responsible for exchanging data between I/O device and main memory. It uses the hardware DMAC for data transfers. Polling I/O : It periodically checks the status of the device to check if the device performs any further I/O operation. Interrupt I/O : It works on interrupt signal where a device controller puts an interrupt signal on the bus when it requires CPU’s attention. Programmed I/O :
  • 3. * It is used only in low end microcomputers. * It has only single output and single input instruction. * In this procees each instructions selects one I/O device and transfers a single character (byte). Working: I/O operation is requested by CPU. Operation is performed by I/O module. Status bits is being set by I/O module Status bits are checked periodically by CPU. CPU is not directly informed by I/O module. CPU is not interrupted by I/O module. CPU may wait or come back after some time. Advantages : It is easy to program and understand. Disadvantages : It has single input and single output instruction. CPU spends most of its time in a tight loop waiting for the device to become ready.(Busy Waiting) Interrupt-driven I/O Advantages : Fast and efficient Disadvantages : * Interrupting a running process is an expensive business (requires saving context). * Requires extra hardware (DMA controller chip). Working : CPU is interupted bye the I/O module. Data is requested by CPU. The data is trasferres by I/O module. DMA ensures that CPU grants I/O module authority to read from or write to memory without involvement. This module is responsible for exchanging data between I/O device and main memory. It uses the hardware DMAC for data transfers.