SlideShare a Scribd company logo
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

Computer architecture presentation
Computer architecture presentationComputer architecture presentation
Computer architecture presentation
Muhammad Hamza
 
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
MOHIT AGARWAL
 
MODULE 5-1.computer organization and archit
MODULE 5-1.computer organization and architMODULE 5-1.computer organization and archit
MODULE 5-1.computer organization and archit
Sindhu Mani
 
Modes of data transfer.computer architecture.
Modes of data transfer.computer architecture. Modes of data transfer.computer architecture.
Modes of data transfer.computer architecture.
pratikkadam78
 
Input/Output System (Part 2)
Input/Output System (Part 2) Input/Output System (Part 2)
Input/Output System (Part 2)
Ajeng Savitri
 
Lecture 9.pptx
Lecture 9.pptxLecture 9.pptx
Lecture 9.pptx
JavedIqbal549896
 
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
 
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
vikram patel
 
Io techniques & its types
Io techniques & its typesIo techniques & its types
Io techniques & its typesNehal Naik
 
I/O Management
I/O ManagementI/O Management
I/O Management
Keyur Vadodariya
 
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
 
Unit 6
Unit 6Unit 6
Unit 6
pm_ghate
 
IO SYSTEM AND CASE STUDY STRUCTURE
IO SYSTEM AND CASE STUDY STRUCTUREIO SYSTEM AND CASE STUDY STRUCTURE
IO SYSTEM AND CASE STUDY STRUCTURE
Hariharan Anand
 
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
webip34973
 
I/O Organization
I/O OrganizationI/O Organization
I/O Organization
Dhaval Bagal
 
COMPUTER_ORGANIZATION.ppt
COMPUTER_ORGANIZATION.pptCOMPUTER_ORGANIZATION.ppt
COMPUTER_ORGANIZATION.ppt
Atul Kumar Rana
 
Computer Organization (1).pdf
Computer Organization (1).pdfComputer Organization (1).pdf
Computer Organization (1).pdf
mysthicrious
 
Ch 7 io_management & disk scheduling
Ch 7 io_management & disk schedulingCh 7 io_management & disk scheduling
Ch 7 io_management & disk scheduling
madhuributani
 
Mikroprosessor system
Mikroprosessor systemMikroprosessor system
Mikroprosessor system
Maghfir Muhammad Ramadhan
 

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
 
MODULE 5-1.computer organization and archit
MODULE 5-1.computer organization and architMODULE 5-1.computer organization and archit
MODULE 5-1.computer organization and archit
 
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
 

More from rdtraders2007

(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
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
 
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
rdtraders2007
 
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
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 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
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
 
SolutionSolutionSolution.pdf
SolutionSolutionSolution.pdfSolutionSolutionSolution.pdf
SolutionSolutionSolution.pdf
rdtraders2007
 
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
rdtraders2007
 
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
rdtraders2007
 
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
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
 
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
rdtraders2007
 
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
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
 
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
rdtraders2007
 
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
rdtraders2007
 
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
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

Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 

Recently uploaded (20)

Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 

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.