SlideShare a Scribd company logo
1 of 22
Management of I/O request
& Communication among
devices
Munz
Management of I/O Requests
• Although most users think of an I/O request as an elementary
machine action, the Device Manager actually divides the task into
three parts with each one handled by a specific software
component of the I/O subsystem.
• The I/O traffic controller watches the status of all devices, control
units, and channels. The I/O scheduler implements the policies
that determine the allocation of, and access to, the devices,
control units, and channels. The I/O device handler performs the
actual transfer of data and processes the device interrupts.
• The I/O traffic controller monitors the status of every device,
control unit, and channel. It’s a job that becomes more complex
as the number of units in the I/O subsystem increases and as the
number of paths between these units increases. The traffic
controller has three main tasks:
(1) it must determine if there’s at least one path available;
(2) if there’s more than one path available, it must determine which
to select; and
(3) if the paths are all busy, it must determine when one will
become available.
• To do all this, the traffic controller maintains a database
containing the status and connections for each unit in the I/O
subsystem, grouped into Channel Control Blocks, Control Unit
Control Blocks, and Device Control Blocks.
• To choose a free path to satisfy an I/O request, the traffic
controller traces backward from the control block of the
requested device through the control units to the channels. If a
path is not available, a common occurrence under heavy load
conditions, the process (actually its Process Control Block) is
linked to the queues kept in the control blocks of the requested
device, control unit, and channel.
• This creates multiple wait queues with one queue per path. Later,
when a path becomes available, the traffic controller quickly
selects the first PCB from the queue for that path.
• The I/O scheduler performs the same job as the Process Scheduler
described in Chapter 4 on processor management—that is, it
allocates the devices, control units, and channels. Under heavy
loads, when the number of requests is greater than the number of
available paths, the I/O scheduler must decide which request to
satisfy first.
• Many of the criteria and objectives discussed in Chapter 4 also
apply here. In many systems, the major difference between I/O
scheduling and process scheduling is that I/O requests are not pre-
empted.
• Once the channel program has started, it’s allowed to continue to
completion even though I/O requests with higher priorities may
have entered the queue. This is feasible because channel
programs are relatively short, 50 to 100 ms. Other systems
subdivide an I/O request into several stages and allow pre-
emption of the I/O request at any one of these stages.
• Some systems allow the I/O scheduler to give preferential
treatment to I/O requests from high-priority programs. In that
case, if a process has high priority, then its I/O requests would
also have high priority and would be satisfied before other I/O
requests with lower priorities.
• The I/O scheduler must synchronize its work with the traffic
controller to make sure that a path is available to satisfy the
selected I/O requests.
• Some systems allow the I/O scheduler to give preferential
treatment to I/O requests from high-priority programs. In that
case, if a process has high priority, then its I/O requests would
also have high priority and would be satisfied before other I/O
requests with lower priorities. The I/O scheduler must synchronize
its work with the traffic controller to make sure that a path is
available to satisfy the selected I/O requests.
• The I/O device handler processes the I/O interrupts, handles
error conditions, and provides detailed scheduling algorithms,
which are extremely device dependent. Each type of I/O device
has its own device handler algorithm.
What is communication
• It is a process in which one computer or device transfers data,
instruction and information to another computer.
• What communication requires?
Sending device
Communication Channel
Receiving device
Communication History
• The Telegraph- Samuel Morse
• The Telephone- A. Bell
• Teletypewriter
• Network
Distance & Speed
The telegraph
Telegraph
• is the long-distance transmission of textual or symbolic (as
opposed to verbal or audio) messages without the physical
exchange of an object bearing the message.
• The vertical bar can be moved to four positions(only two were used)
• The two boards(one on each end)could each be moved into seven positions.
The codes
• 98 possible positions
• Six position reserved for
insruction
• With a codebook, the 92
positions could be made to
represent 8,464 words or
phrases (not letters)
Hardware & Software
• The hardware was slow
• The software made it more
efficient
• The human factor:
• Two men required at each station
had to repeat(accurately) the
signal sent by the previous
station
The telephone
• His research on hearing and
speech further led him to
experiment with hearing
devices which eventually
culminated in Bell being
awarded the first U.S.
patent for the telephone in
1876.
Teletypewriter
• Also called tele printer is
whereby the conversation is
conveyed in written form
between two people who
possess the machine
Computer Network
• Collection of computers and devices interconnected by
communication channels that facilitate communication among
usesrs and allow users to share resources
The History Network
• Network of communicating computers included the military radar
system (SAGE) and its relative the commercial airline reservation
system (SABRE)
• Came about in the late 1950’s
• Although in the 1960’s the (ADRPA) started funding the design of
the ADRPA to perfect networks for the US department of defence.
Modern technology
References
• http://www.uspto.gov/trademarks/process/search/
• http://en.wikipedia.org/wiki/Computernetworks
• www.google.ca/teleprinter
• www.google.ca/telegraph
• http://wiki.answers.com/Q/Thepurposeofatelegraph
• http://en.wikipedia.org/wiki/Thefirsttelephone

More Related Content

What's hot

Communications is distributed systems
Communications is distributed systemsCommunications is distributed systems
Communications is distributed systemsSHATHAN
 
Computer architecture virtual memory
Computer architecture virtual memoryComputer architecture virtual memory
Computer architecture virtual memoryMazin Alwaaly
 
Inter-Process Communication in distributed systems
Inter-Process Communication in distributed systemsInter-Process Communication in distributed systems
Inter-Process Communication in distributed systemsAya Mahmoud
 
TCP/IP Network ppt
TCP/IP Network pptTCP/IP Network ppt
TCP/IP Network pptextraganesh
 
Computer architecture pipelining
Computer architecture pipeliningComputer architecture pipelining
Computer architecture pipeliningMazin Alwaaly
 
contiguous memory allocation.pptx
contiguous memory allocation.pptxcontiguous memory allocation.pptx
contiguous memory allocation.pptxRajapriya82
 
distributed shared memory
 distributed shared memory distributed shared memory
distributed shared memoryAshish Kumar
 
Communication primitives
Communication primitivesCommunication primitives
Communication primitivesStudent
 
Process management os concept
Process management os conceptProcess management os concept
Process management os conceptpriyadeosarkar91
 
Process synchronization in Operating Systems
Process synchronization in Operating SystemsProcess synchronization in Operating Systems
Process synchronization in Operating SystemsRitu Ranjan Shrivastwa
 

What's hot (20)

Communications is distributed systems
Communications is distributed systemsCommunications is distributed systems
Communications is distributed systems
 
Memory management
Memory managementMemory management
Memory management
 
Demand paging
Demand pagingDemand paging
Demand paging
 
System calls
System callsSystem calls
System calls
 
Computer architecture virtual memory
Computer architecture virtual memoryComputer architecture virtual memory
Computer architecture virtual memory
 
Inter-Process Communication in distributed systems
Inter-Process Communication in distributed systemsInter-Process Communication in distributed systems
Inter-Process Communication in distributed systems
 
Osi reference model
Osi reference modelOsi reference model
Osi reference model
 
Disk structure
Disk structureDisk structure
Disk structure
 
File system structure
File system structureFile system structure
File system structure
 
TCP/IP Network ppt
TCP/IP Network pptTCP/IP Network ppt
TCP/IP Network ppt
 
Computer architecture pipelining
Computer architecture pipeliningComputer architecture pipelining
Computer architecture pipelining
 
Resource management
Resource managementResource management
Resource management
 
contiguous memory allocation.pptx
contiguous memory allocation.pptxcontiguous memory allocation.pptx
contiguous memory allocation.pptx
 
Chapter 7 - Deadlocks
Chapter 7 - DeadlocksChapter 7 - Deadlocks
Chapter 7 - Deadlocks
 
distributed shared memory
 distributed shared memory distributed shared memory
distributed shared memory
 
SCHEDULING ALGORITHMS
SCHEDULING ALGORITHMSSCHEDULING ALGORITHMS
SCHEDULING ALGORITHMS
 
Communication primitives
Communication primitivesCommunication primitives
Communication primitives
 
Process management os concept
Process management os conceptProcess management os concept
Process management os concept
 
Process synchronization in Operating Systems
Process synchronization in Operating SystemsProcess synchronization in Operating Systems
Process synchronization in Operating Systems
 
11. dfs
11. dfs11. dfs
11. dfs
 

Similar to Manage I/O Requests & Device Communication

COMPUTER ORGANIZATION NOTES Unit 3 4
COMPUTER ORGANIZATION NOTES  Unit 3 4COMPUTER ORGANIZATION NOTES  Unit 3 4
COMPUTER ORGANIZATION NOTES Unit 3 4Dr.MAYA NAYAK
 
Computer oganization input-output
Computer oganization input-outputComputer oganization input-output
Computer oganization input-outputDeepak John
 
Unit 5 I/O organization
Unit 5   I/O organizationUnit 5   I/O organization
Unit 5 I/O organizationchidabdu
 
Unit2 p1 io organization-97-2003
Unit2 p1 io organization-97-2003Unit2 p1 io organization-97-2003
Unit2 p1 io organization-97-2003Swathi Veeradhi
 
Io techniques & its types
Io techniques & its typesIo techniques & its types
Io techniques & its typesNehal Naik
 
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 .pptxwebip34973
 
Unit v: Device Management
Unit v: Device ManagementUnit v: Device Management
Unit v: Device ManagementArnav Chowdhury
 
IT6601 Mobile Computing Unit I
IT6601 Mobile Computing Unit IIT6601 Mobile Computing Unit I
IT6601 Mobile Computing Unit Ipkaviya
 
Basics of data communications.pptx
Basics of data communications.pptxBasics of data communications.pptx
Basics of data communications.pptxDr.YNM
 
ghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptx
ghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptxghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptx
ghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptxEliasPetros
 
DS Unit-4-Communication .pdf
DS Unit-4-Communication .pdfDS Unit-4-Communication .pdf
DS Unit-4-Communication .pdfSantoshUpreti6
 
Computer Networks notes 5- Module 5.pptx
Computer Networks notes 5- Module 5.pptxComputer Networks notes 5- Module 5.pptx
Computer Networks notes 5- Module 5.pptxSmithaV19
 

Similar to Manage I/O Requests & Device Communication (20)

COMPUTER ORGANIZATION NOTES Unit 3 4
COMPUTER ORGANIZATION NOTES  Unit 3 4COMPUTER ORGANIZATION NOTES  Unit 3 4
COMPUTER ORGANIZATION NOTES Unit 3 4
 
I/O Organization
I/O OrganizationI/O Organization
I/O Organization
 
Computer oganization input-output
Computer oganization input-outputComputer oganization input-output
Computer oganization input-output
 
Unit 5 I/O organization
Unit 5   I/O organizationUnit 5   I/O organization
Unit 5 I/O organization
 
unit-5 ppt.ppt
unit-5 ppt.pptunit-5 ppt.ppt
unit-5 ppt.ppt
 
Ca 2 note mano
Ca 2 note manoCa 2 note mano
Ca 2 note mano
 
Unit2 p1 io organization-97-2003
Unit2 p1 io organization-97-2003Unit2 p1 io organization-97-2003
Unit2 p1 io organization-97-2003
 
Io techniques & its types
Io techniques & its typesIo techniques & its types
Io techniques & its types
 
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
 
Unit v: Device Management
Unit v: Device ManagementUnit v: Device Management
Unit v: Device Management
 
IT6601 Mobile Computing Unit I
IT6601 Mobile Computing Unit IIT6601 Mobile Computing Unit I
IT6601 Mobile Computing Unit I
 
comporgppt.pptx
comporgppt.pptxcomporgppt.pptx
comporgppt.pptx
 
Basics of data communications.pptx
Basics of data communications.pptxBasics of data communications.pptx
Basics of data communications.pptx
 
ghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptx
ghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptxghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptx
ghgfjfhgdjfdhgdhgfdgfdhgdhgfdhgzeka.pptx
 
Unit 5
Unit 5Unit 5
Unit 5
 
DS Unit-4-Communication .pdf
DS Unit-4-Communication .pdfDS Unit-4-Communication .pdf
DS Unit-4-Communication .pdf
 
IO organization.ppt
IO organization.pptIO organization.ppt
IO organization.ppt
 
Data Dissemination and Synchronization
Data Dissemination and SynchronizationData Dissemination and Synchronization
Data Dissemination and Synchronization
 
Computer Networks notes 5- Module 5.pptx
Computer Networks notes 5- Module 5.pptxComputer Networks notes 5- Module 5.pptx
Computer Networks notes 5- Module 5.pptx
 
1.instrumentation ii
1.instrumentation ii1.instrumentation ii
1.instrumentation ii
 

More from Manish Halai

Reconstructing africa’s history : oral tradition
Reconstructing africa’s history : oral traditionReconstructing africa’s history : oral tradition
Reconstructing africa’s history : oral traditionManish Halai
 
Group 2 work for hiv
Group 2 work for hivGroup 2 work for hiv
Group 2 work for hivManish Halai
 
The world bank gorvernance lite
The world bank gorvernance liteThe world bank gorvernance lite
The world bank gorvernance liteManish Halai
 
Final work smart phones project
Final work smart phones projectFinal work smart phones project
Final work smart phones projectManish Halai
 
Group four(cloning) 2
Group four(cloning) 2Group four(cloning) 2
Group four(cloning) 2Manish Halai
 

More from Manish Halai (7)

Reconstructing africa’s history : oral tradition
Reconstructing africa’s history : oral traditionReconstructing africa’s history : oral tradition
Reconstructing africa’s history : oral tradition
 
Group 2 work for hiv
Group 2 work for hivGroup 2 work for hiv
Group 2 work for hiv
 
Entrepreneurship
EntrepreneurshipEntrepreneurship
Entrepreneurship
 
Undp final
Undp finalUndp final
Undp final
 
The world bank gorvernance lite
The world bank gorvernance liteThe world bank gorvernance lite
The world bank gorvernance lite
 
Final work smart phones project
Final work smart phones projectFinal work smart phones project
Final work smart phones project
 
Group four(cloning) 2
Group four(cloning) 2Group four(cloning) 2
Group four(cloning) 2
 

Recently uploaded

Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersChitralekhaTherkar
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 

Recently uploaded (20)

Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Micromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of PowdersMicromeritics - Fundamental and Derived Properties of Powders
Micromeritics - Fundamental and Derived Properties of Powders
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 

Manage I/O Requests & Device Communication

  • 1. Management of I/O request & Communication among devices Munz
  • 2. Management of I/O Requests • Although most users think of an I/O request as an elementary machine action, the Device Manager actually divides the task into three parts with each one handled by a specific software component of the I/O subsystem. • The I/O traffic controller watches the status of all devices, control units, and channels. The I/O scheduler implements the policies that determine the allocation of, and access to, the devices, control units, and channels. The I/O device handler performs the actual transfer of data and processes the device interrupts.
  • 3. • The I/O traffic controller monitors the status of every device, control unit, and channel. It’s a job that becomes more complex as the number of units in the I/O subsystem increases and as the number of paths between these units increases. The traffic controller has three main tasks: (1) it must determine if there’s at least one path available; (2) if there’s more than one path available, it must determine which to select; and (3) if the paths are all busy, it must determine when one will become available.
  • 4. • To do all this, the traffic controller maintains a database containing the status and connections for each unit in the I/O subsystem, grouped into Channel Control Blocks, Control Unit Control Blocks, and Device Control Blocks.
  • 5. • To choose a free path to satisfy an I/O request, the traffic controller traces backward from the control block of the requested device through the control units to the channels. If a path is not available, a common occurrence under heavy load conditions, the process (actually its Process Control Block) is linked to the queues kept in the control blocks of the requested device, control unit, and channel. • This creates multiple wait queues with one queue per path. Later, when a path becomes available, the traffic controller quickly selects the first PCB from the queue for that path.
  • 6. • The I/O scheduler performs the same job as the Process Scheduler described in Chapter 4 on processor management—that is, it allocates the devices, control units, and channels. Under heavy loads, when the number of requests is greater than the number of available paths, the I/O scheduler must decide which request to satisfy first. • Many of the criteria and objectives discussed in Chapter 4 also apply here. In many systems, the major difference between I/O scheduling and process scheduling is that I/O requests are not pre- empted.
  • 7. • Once the channel program has started, it’s allowed to continue to completion even though I/O requests with higher priorities may have entered the queue. This is feasible because channel programs are relatively short, 50 to 100 ms. Other systems subdivide an I/O request into several stages and allow pre- emption of the I/O request at any one of these stages.
  • 8. • Some systems allow the I/O scheduler to give preferential treatment to I/O requests from high-priority programs. In that case, if a process has high priority, then its I/O requests would also have high priority and would be satisfied before other I/O requests with lower priorities. • The I/O scheduler must synchronize its work with the traffic controller to make sure that a path is available to satisfy the selected I/O requests.
  • 9. • Some systems allow the I/O scheduler to give preferential treatment to I/O requests from high-priority programs. In that case, if a process has high priority, then its I/O requests would also have high priority and would be satisfied before other I/O requests with lower priorities. The I/O scheduler must synchronize its work with the traffic controller to make sure that a path is available to satisfy the selected I/O requests. • The I/O device handler processes the I/O interrupts, handles error conditions, and provides detailed scheduling algorithms, which are extremely device dependent. Each type of I/O device has its own device handler algorithm.
  • 10. What is communication • It is a process in which one computer or device transfers data, instruction and information to another computer. • What communication requires? Sending device Communication Channel Receiving device
  • 11. Communication History • The Telegraph- Samuel Morse • The Telephone- A. Bell • Teletypewriter • Network
  • 14. Telegraph • is the long-distance transmission of textual or symbolic (as opposed to verbal or audio) messages without the physical exchange of an object bearing the message. • The vertical bar can be moved to four positions(only two were used) • The two boards(one on each end)could each be moved into seven positions.
  • 15. The codes • 98 possible positions • Six position reserved for insruction • With a codebook, the 92 positions could be made to represent 8,464 words or phrases (not letters)
  • 16. Hardware & Software • The hardware was slow • The software made it more efficient • The human factor: • Two men required at each station had to repeat(accurately) the signal sent by the previous station
  • 17. The telephone • His research on hearing and speech further led him to experiment with hearing devices which eventually culminated in Bell being awarded the first U.S. patent for the telephone in 1876.
  • 18. Teletypewriter • Also called tele printer is whereby the conversation is conveyed in written form between two people who possess the machine
  • 19. Computer Network • Collection of computers and devices interconnected by communication channels that facilitate communication among usesrs and allow users to share resources
  • 20. The History Network • Network of communicating computers included the military radar system (SAGE) and its relative the commercial airline reservation system (SABRE) • Came about in the late 1950’s • Although in the 1960’s the (ADRPA) started funding the design of the ADRPA to perfect networks for the US department of defence.
  • 22. References • http://www.uspto.gov/trademarks/process/search/ • http://en.wikipedia.org/wiki/Computernetworks • www.google.ca/teleprinter • www.google.ca/telegraph • http://wiki.answers.com/Q/Thepurposeofatelegraph • http://en.wikipedia.org/wiki/Thefirsttelephone