CA_UNIT3_5
CA_UNIT3_5
Transmission
Example:
Chat Rooms
Telephonic Conversations
Video Conferencing
Example:
Email
Forums
Letters
S.
Synchronous Transmission Asynchronous Transmission
No.
In Synchronous transmission, In Asynchronous transmission,
1. data is sent in form of blocks data is sent in form of bytes or
or frames. characters.
Synchronous transmission is Asynchronous transmission is
2.
fast. slow.
Synchronous transmission is Asynchronous transmission is
3.
costly. economical.
In Asynchronous transmission,
In Synchronous transmission,
the time interval of
4. the time interval of
transmission is not constant, it
transmission is constant.
is random.
In this transmission, users
Here, users do not have to wait
have to wait till the
for the completion of
5. transmission is complete
transmission in order to get a
before getting a response
response from the server.
back from the server.
6. In Synchronous transmission, In Asynchronous transmission,
S.
Synchronous Transmission Asynchronous Transmission
No.
there is no gap present there is a gap present between
between data. data.
While in Asynchronous
Efficient use of transmission
transmission, the transmission
7. lines is done in synchronous
line remains empty during a
transmission.
gap in character transmission.
The start and stop bits are used
The start and stop bits are
8. in transmitting data that
not used in transmitting data.
imposes extra overhead.
Asynchronous transmission
Synchronous transmission
does not need synchronized
needs precisely synchronized
9. clocks as parity bit is used in
clocks for the information of
this transmission for
new bytes.
information of new bytes.
Mode of Transfer:
1. Programmed I/O.
2. Interrupt- initiated I/O.
3. Direct memory access( DMA).
Burst Transfer :
DMA returns the bus after complete data transfer. A register
is used as a byte count,
being decremented for each byte transfer, and upon the byte
count reaching zero, the DMAC will
release the bus. When the DMAC operates in burst mode, the
CPU is halted for the duration of the data
transfer.
Steps involved are:
Where,
X µsec =data transfer time or preparation time (words/block)
Y µsec =memory cycle time or cycle time or transfer time
(words/block)
% CPU idle (Blocked)=(Y/X+Y)*100
% CPU Busy=(X/X+Y)*100
Cyclic Stealing :
An alternative method in which DMA controller transfers one
word at a time after which it must return the control of the
buses to the CPU. The CPU delays its operation only for one
memory cycle to allow the direct memory I/O transfer to
“steal” one memory cycle.
Steps Involved are:
Where,
X µsec =data transfer time or preparation time
(words/block)
Y µsec =memory cycle time or cycle time or transfer
time (words/block)
% CPU idle (Blocked) =(Y/X)*100
% CPU busy=(X/Y)*100