data communication

33
Flow Control by Md.Javedul Ferdous East West University

Upload: javedul-ferdous

Post on 11-Jul-2015

98 views

Category:

Education


0 download

TRANSCRIPT

Page 1: Data communication

Flow Controlby

Md.Javedul Ferdous

East West University

Page 2: Data communication

Flow Control

Flow control is the process of managing

the rate of data transmission between two

nodes to prevent a fast sender from

outrunning a slow receiver. It provides a

mechanism for the receiver to control the

transmission speed, so that the receiving

node is not overwhelmed with data from

transmitting node.

Page 3: Data communication

So why need it

? ? ? ? ?

Page 4: Data communication

Prevent degradation and loss of

efficiency due to overload.

Page 5: Data communication

Prevent degradation and loss of

efficiency due to overload.

Deadlock avoidance.

Page 6: Data communication

Prevent degradation and loss of

efficiency due to overload.

Deadlock avoidance.

Fair allocation of resources among

competing users.

Page 7: Data communication

Prevent degradation and loss of

efficiency due to overload.

Deadlock avoidance.

Fair allocation of resources among

competing users.

Speed matching between the network

and its attached users.

Page 8: Data communication

Type of ‘Flow Control’

Stop-and-wait

Page 9: Data communication

Type of ‘Flow Control’

Stop-and-wait

Sliding Window

Page 10: Data communication

Stop-and-wait

Fundamental technique to provide

reliable transfer under unreliable packet

delivery system

Page 11: Data communication

Stop-and-wait

Fundamental technique to provide

reliable transfer under unreliable packet

delivery system

Simplest form of flow control

Page 12: Data communication

Stop-and-wait

Fundamental technique to provide

reliable transfer under unreliable packet

delivery system

Simplest form of flow control

Inefficiencies when sending longer

transmissions

Page 13: Data communication

Stop-and-wait

Page 14: Data communication

Sliding Window

Technique for controlling transmitted

data packets between two network

computers where reliable and sequential

delivery of data packets is required.

Page 15: Data communication

Sliding Window

Technique for controlling transmitted

data packets between two network

computers where reliable and sequential

delivery of data packets is required.

Best utilized when the buffer size is

limited and pre-established.

Page 16: Data communication

Sliding Window

Technique for controlling transmitted

data packets between two network

computers where reliable and sequential

delivery of data packets is required.

Best utilized when the buffer size is

limited and pre-established.

Better Performance.

Page 17: Data communication

Sliding Window

Page 18: Data communication

Levels of Flow Control

Hop Level

Page 19: Data communication

Levels of Flow Control

Hop Level

Entry-to-Exit Level

Page 20: Data communication

Levels of Flow Control

Hop Level

Entry-to-Exit Level

Network Access Level

Page 21: Data communication

Levels of Flow Control

Hop Level

Entry-to-Exit Level

Network Access Level

Transport Level

Page 22: Data communication

Hop Level

Prevent store and forward buffer

congestion and its consequences

Page 23: Data communication

Hop Level

Prevent store and forward buffer

congestion and its consequences

Maintain a smooth flow of traffic

between two neighboring nodes In a

computer network

Page 24: Data communication

Entry-to-Exit Level

Implement as a protocol between the

source and destination switch

Page 25: Data communication

Entry-to-Exit Level

Implement as a protocol between the

source and destination switch

Protect the exit node from congestion

Page 26: Data communication

Network Access Level

Throttle external inputs based on

measurements of internal network

congestion.

Page 27: Data communication

Transport Level

Efficient and reliable transmission of

messages within each user session and

the efficient sharing of common network

resources by several user sessions

Page 28: Data communication

Transport Level

Efficient and reliable transmission of

messages within each user session and

the efficient sharing of common network

resources by several user sessions

Events destination buffer congestion

and overflow is known as transport level

flow control

Page 29: Data communication

Problem of ‘Flow Control’

Can’t send too slow or too fast

Page 30: Data communication

Problem of ‘Flow Control’

Can’t send too slow or too fast

Too slow

Page 31: Data communication

Problem of ‘Flow Control’

Can’t send too slow or too fast

Too slow

wastes time

Page 32: Data communication

Problem of ‘Flow Control’

Can’t send too slow or too fast

Too slow

wastes time

Too fast

Page 33: Data communication

Problem of ‘Flow Control’

Can’t send too slow or too fast

Too slow

wastes time

can lead to buffer overflow