SlideShare a Scribd company logo
1 of 8
BITS Pilani
Pilani Campus
Data Storage Technologies
& Networks
Dr. Virendra Singh Shekhawat
Department of Computer Science and Information Systems
BITS Pilani, Pilani Campus
Topics
โ€ข I/O Techniques
โ€“ Polling
โ€“ Interrupt driven
โ€“ DMA
2
BITS Pilani, Pilani Campus
I/O Techniques
โ€ข Polling:
โ€“ CPU check on the status of an I/O device by reading
a memory address which is associated with an I/O
device
โ€“ Pseudo-asynchronous
โ€ข Processor inspects (multiple) devices in rotation
โ€“ Cons
โ€ข Processor may still be forced to do useless work or wait or
both
โ€“ Pros
โ€ข CPU can determines how often it needs to poll
3
BITS Pilani, Pilani Campus
I/O Techniques
โ€ข Interrupts:
โ€“ Processor initiates I/O by requesting an operation
with the device.
โ€“ May disconnect if response canโ€™t be immediate,
which is usually the case
โ€“ When device is ready with a response it interrupts
the processor.
โ€ข Processor finishes I/O with the device.
โ€“ Asynchronous but
โ€ข Data transfer between I/O device and memory still
requires processor to execute instructions.
4
BITS Pilani, Pilani Campus
I/O Techniques: Interrupts
5
BITS Pilani, Pilani Campus
I/O Techniques
โ€ข Direct Memory Access
โ€“ Processor initiates I/O
โ€“ DMA controller acts as an intermediary:
โ€ข interacts with the device,
โ€ข transfers data to/from memory as appropriate, and
โ€ข interrupts processor to signal completion.
โ€“ From the processorโ€™s perspective DMA controller is
yet another device
โ€ข But one that works at semiconductor speeds
6
BITS Pilani, Pilani Campus
I/O Techniques
โ€ข I/O Processor
โ€“ More sophisticated version of DMA controller
with the ability to execute code: execute I/O
routines, interact with the O/S etc
7
BITS Pilani, Pilani Campus
Thank You!
8

More Related Content

Similar to M2 231-io tech-rl_2.3.1

Topic 5 Digital Technique basic computer structure
Topic 5 Digital Technique basic computer structureTopic 5 Digital Technique basic computer structure
Topic 5 Digital Technique basic computer structure
Bai Haqi
ย 
Input output organization (1).pptx
Input output organization (1).pptxInput output organization (1).pptx
Input output organization (1).pptx
RamanRay105
ย 
Chapter01-rev.pptx
Chapter01-rev.pptxChapter01-rev.pptx
Chapter01-rev.pptx
TanishaKochak
ย 

Similar to M2 231-io tech-rl_2.3.1 (20)

M2 242-scsi-bus rl-2.4.2
M2 242-scsi-bus rl-2.4.2M2 242-scsi-bus rl-2.4.2
M2 242-scsi-bus rl-2.4.2
ย 
Computer System Architecture Lecture Note 9 IO fundamentals
Computer System Architecture Lecture Note 9 IO fundamentalsComputer System Architecture Lecture Note 9 IO fundamentals
Computer System Architecture Lecture Note 9 IO fundamentals
ย 
I/O Organization
I/O OrganizationI/O Organization
I/O Organization
ย 
M2 241-buses rl-2.4.1
M2 241-buses rl-2.4.1M2 241-buses rl-2.4.1
M2 241-buses rl-2.4.1
ย 
Operating Systems 1 (11/12) - Input / Output
Operating Systems 1 (11/12) - Input / OutputOperating Systems 1 (11/12) - Input / Output
Operating Systems 1 (11/12) - Input / Output
ย 
M2 212-unix fs-rl_2.1.2
M2 212-unix fs-rl_2.1.2M2 212-unix fs-rl_2.1.2
M2 212-unix fs-rl_2.1.2
ย 
comporgppt.pptx
comporgppt.pptxcomporgppt.pptx
comporgppt.pptx
ย 
In out system
In out systemIn out system
In out system
ย 
Topic 5 Digital Technique basic computer structure
Topic 5 Digital Technique basic computer structureTopic 5 Digital Technique basic computer structure
Topic 5 Digital Technique basic computer structure
ย 
IO (2).ppt
IO (2).pptIO (2).ppt
IO (2).ppt
ย 
IO (1).ppt
IO (1).pptIO (1).ppt
IO (1).ppt
ย 
IO.ppt
IO.pptIO.ppt
IO.ppt
ย 
I_O-co-processors.ppt
I_O-co-processors.pptI_O-co-processors.ppt
I_O-co-processors.ppt
ย 
Input - output organzation
Input - output organzationInput - output organzation
Input - output organzation
ย 
Chapter 7
Chapter 7Chapter 7
Chapter 7
ย 
Computer oganization input-output
Computer oganization input-outputComputer oganization input-output
Computer oganization input-output
ย 
03_Buses (1).ppt
03_Buses (1).ppt03_Buses (1).ppt
03_Buses (1).ppt
ย 
Input output organization (1).pptx
Input output organization (1).pptxInput output organization (1).pptx
Input output organization (1).pptx
ย 
I/O systems chapter 12 OS
I/O systems chapter 12 OS I/O systems chapter 12 OS
I/O systems chapter 12 OS
ย 
Chapter01-rev.pptx
Chapter01-rev.pptxChapter01-rev.pptx
Chapter01-rev.pptx
ย 

More from MrudulaJoshi10

More from MrudulaJoshi10 (15)

M4 san features-4.3.1
M4 san features-4.3.1M4 san features-4.3.1
M4 san features-4.3.1
ย 
M4 rdma 4.5.1
M4 rdma 4.5.1M4 rdma 4.5.1
M4 rdma 4.5.1
ย 
M4 f co-e_4.4.2
M4 f co-e_4.4.2M4 f co-e_4.4.2
M4 f co-e_4.4.2
ย 
M4 fc stack-4.1.1
M4 fc stack-4.1.1M4 fc stack-4.1.1
M4 fc stack-4.1.1
ย 
M4 fc san-4.2.1
M4 fc san-4.2.1M4 fc san-4.2.1
M4 fc san-4.2.1
ย 
M3 smb cifs-protocol_3.3.1
M3 smb cifs-protocol_3.3.1M3 smb cifs-protocol_3.3.1
M3 smb cifs-protocol_3.3.1
ย 
M3 nfs fs-3.2.1
M3 nfs fs-3.2.1M3 nfs fs-3.2.1
M3 nfs fs-3.2.1
ย 
M3 nfs fs-_performance_3.2.2
M3 nfs fs-_performance_3.2.2M3 nfs fs-_performance_3.2.2
M3 nfs fs-_performance_3.2.2
ย 
M3 nas architecture-3.1.1
M3 nas architecture-3.1.1M3 nas architecture-3.1.1
M3 nas architecture-3.1.1
ย 
M2 221-ssd fs-rl_2.2.1
M2 221-ssd fs-rl_2.2.1M2 221-ssd fs-rl_2.2.1
M2 221-ssd fs-rl_2.2.1
ย 
M2 211-unix fs-rl_2.1.1
M2 211-unix fs-rl_2.1.1M2 211-unix fs-rl_2.1.1
M2 211-unix fs-rl_2.1.1
ย 
M1 rl 1.4.1
M1 rl 1.4.1M1 rl 1.4.1
M1 rl 1.4.1
ย 
M1 rl 1.3.1
M1 rl 1.3.1M1 rl 1.3.1
M1 rl 1.3.1
ย 
M1 rl 1.2.1
M1 rl 1.2.1M1 rl 1.2.1
M1 rl 1.2.1
ย 
M1 rl 1.1.1
M1 rl 1.1.1M1 rl 1.1.1
M1 rl 1.1.1
ย 

Recently uploaded

VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
ย 
Top Rated Call Girls In chittoor ๐Ÿ“ฑ {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor ๐Ÿ“ฑ {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor ๐Ÿ“ฑ {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor ๐Ÿ“ฑ {7001035870} VIP Escorts chittoor
dharasingh5698
ย 
Call Girls in Netaji Nagar, Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Netaji Nagar, Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort ServiceCall Girls in Netaji Nagar, Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Netaji Nagar, Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
ย 

Recently uploaded (20)

Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
ย 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
ย 
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
ย 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
ย 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ย 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
ย 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
ย 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
ย 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
ย 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
ย 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
ย 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
ย 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
ย 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
ย 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
ย 
Top Rated Call Girls In chittoor ๐Ÿ“ฑ {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor ๐Ÿ“ฑ {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor ๐Ÿ“ฑ {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor ๐Ÿ“ฑ {7001035870} VIP Escorts chittoor
ย 
Call Girls in Netaji Nagar, Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Netaji Nagar, Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort ServiceCall Girls in Netaji Nagar, Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
Call Girls in Netaji Nagar, Delhi ๐Ÿ’ฏ Call Us ๐Ÿ”9953056974 ๐Ÿ” Escort Service
ย 
Unit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdfUnit 2- Effective stress & Permeability.pdf
Unit 2- Effective stress & Permeability.pdf
ย 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
ย 
Intro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.pdfIntro To Electric Vehicles PDF Notes.pdf
Intro To Electric Vehicles PDF Notes.pdf
ย 

M2 231-io tech-rl_2.3.1

  • 1. BITS Pilani Pilani Campus Data Storage Technologies & Networks Dr. Virendra Singh Shekhawat Department of Computer Science and Information Systems
  • 2. BITS Pilani, Pilani Campus Topics โ€ข I/O Techniques โ€“ Polling โ€“ Interrupt driven โ€“ DMA 2
  • 3. BITS Pilani, Pilani Campus I/O Techniques โ€ข Polling: โ€“ CPU check on the status of an I/O device by reading a memory address which is associated with an I/O device โ€“ Pseudo-asynchronous โ€ข Processor inspects (multiple) devices in rotation โ€“ Cons โ€ข Processor may still be forced to do useless work or wait or both โ€“ Pros โ€ข CPU can determines how often it needs to poll 3
  • 4. BITS Pilani, Pilani Campus I/O Techniques โ€ข Interrupts: โ€“ Processor initiates I/O by requesting an operation with the device. โ€“ May disconnect if response canโ€™t be immediate, which is usually the case โ€“ When device is ready with a response it interrupts the processor. โ€ข Processor finishes I/O with the device. โ€“ Asynchronous but โ€ข Data transfer between I/O device and memory still requires processor to execute instructions. 4
  • 5. BITS Pilani, Pilani Campus I/O Techniques: Interrupts 5
  • 6. BITS Pilani, Pilani Campus I/O Techniques โ€ข Direct Memory Access โ€“ Processor initiates I/O โ€“ DMA controller acts as an intermediary: โ€ข interacts with the device, โ€ข transfers data to/from memory as appropriate, and โ€ข interrupts processor to signal completion. โ€“ From the processorโ€™s perspective DMA controller is yet another device โ€ข But one that works at semiconductor speeds 6
  • 7. BITS Pilani, Pilani Campus I/O Techniques โ€ข I/O Processor โ€“ More sophisticated version of DMA controller with the ability to execute code: execute I/O routines, interact with the O/S etc 7
  • 8. BITS Pilani, Pilani Campus Thank You! 8