Data communication

34
Flow Control by MD. JAVEDUL FERDOUS EAST WEST UNIVERSITY

Transcript of Data communication

Page 1: Data communication

Flow Control

by

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

The Reasons

Prevent degradation and loss of

efficiency

Page 5: Data communication

The Reasons

Prevent degradation and loss of

efficiency

Deadlock avoidance.

Page 6: Data communication

The Reasons

Prevent degradation and loss of

efficiency

Deadlock avoidance.

Fair allocation of resources among

competing users.

Page 7: Data communication

The Reasons

Prevent degradation and loss of

efficiency

Deadlock avoidance.

Fair allocation of resources among

competing users.

Speed matching between the network

and its attached users.

Page 8: Data communication

Types of ‘Flow Control’

Page 9: Data communication

Types of ‘Flow Control’

Stop-and-wait

Page 10: Data communication

Types of ‘Flow Control’

Stop-and-wait

Sliding Window

Page 11: Data communication

Stop-and-wait

Fundamental technique to provide

reliable transfer under unreliable packet

delivery system

Page 12: Data communication

Stop-and-wait

Fundamental technique to provide

reliable transfer under unreliable packet

delivery system

Simplest form of flow control

Page 13: 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 14: Data communication

Stop-and-wait

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.

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.

Page 17: 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 18: Data communication

Sliding Window

Page 19: Data communication

Levels of Flow Control

Page 20: Data communication

Levels of Flow Control

Hop Level

Page 21: Data communication

Levels of Flow Control

Hop Level

Entry-to-Exit Level

Page 22: Data communication

Levels of Flow Control

Hop Level

Entry-to-Exit Level

Network Access Level

Page 23: Data communication

Levels of Flow Control

Hop Level

Entry-to-Exit Level

Network Access Level

Transport Level

Page 24: Data communication

Hop Level

Prevent store and forward buffer

congestion and its consequences

Page 25: 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 26: Data communication

Entry-to-Exit Level

Implement as a protocol between the

source and destination switch

Page 27: Data communication

Entry-to-Exit Level

Implement as a protocol between the

source and destination switch

Protect the exit node from congestion

Page 28: Data communication

Network Access Level

Throttle external inputs based on

measurements of internal network

congestion.

Page 29: Data communication

Transport Level

Efficient & reliable transmission and

sharing of common network resources

by several user sessions

Page 30: Data communication

Transport Level

Efficient & reliable transmission and

sharing of common network resources

by several user sessions

Events destination buffer congestion

and overflow is known as transport level

flow control

Page 31: Data communication

Problems of ‘Flow Control’

Can’t send too slow or too fast

Page 32: Data communication

Problems of ‘Flow Control’

Can’t send too slow or too fast

wastes time

Page 33: Data communication

Problems of ‘Flow Control’

Can’t send too slow or too fast

wastes time

can lead to buffer overflow

Page 34: Data communication

Thank You