Sign in
Discover Insights and Opportunities in Mechanical Engineering through Guest Blogging
Discover Insights and Opportunities in Mechanical Engineering through Guest Blogging
Your Position: Home - Mechanical Parts & Fabrication Services - Flow Control in Data Link Layer
Guest Posts

Flow Control in Data Link Layer

Flow control is design issue at Data Link Layer. It is a technique that generally observes the proper flow of data from sender to receiver. It is very essential because it is possible for sender to transmit data or information at very fast rate and hence receiver can receive this information and process it. This can happen only if receiver has very high load of traffic as compared to sender, or if receiver has power of processing less as compared to sender. Flow control is basically a technique that gives permission to two of stations that are working and processing at different speeds to just communicate with one another. Flow control in Data Link Layer simply restricts and coordinates number of frames or amount of data sender can send just before it waits for an acknowledgement from receiver. Flow control is actually set of procedures that explains sender about how much data or frames it can transfer or transmit before data overwhelms receiver. The receiving device also contains only limited amount of speed and memory to store data. This is why receiving device should be able to tell or inform the sender about stopping the transmission or transferring of data on temporary basis before it reaches limit. It also needs buffer, large block of memory for just storing data or frames until they are processed.

flow control can also be understand as a speed matching mechanism for two stations.

Approaches to Flow Control : Flow Control is classified into two categories:  

  • Feedback – based Flow Control : In this control technique, sender simply transmits data or information or frame to receiver, then receiver transmits data back to sender and also allows sender to transmit more amount of data or tell sender about how receiver is processing or doing. This simply means that sender transmits data or frames after it has received acknowledgements from user.
  • Rate – based Flow Control : In this control technique, usually when sender sends or transfer data at faster speed to receiver and receiver is not being able to receive data at the speed, then mechanism known as built-in mechanism in protocol will just limit or restricts overall rate at which data or information is being transferred or transmitted by sender without any feedback or acknowledgement from receiver.


Techniques of Flow Control in Data Link Layer : There are basically two types of techniques being developed to control the flow of data

1. Stop-and-Wait Flow Control : This method is the easiest and simplest form of flow control. In this method, basically message or data is broken down into various multiple frames, and then receiver indicates its readiness to receive frame of data. When acknowledgement is received, then only sender will send or transfer the next frame. This process is continued until sender transmits EOT (End of Transmission) frame. In this method, only one of frames can be in transmission at a time. It leads to inefficiency i.e. less productivity if propagation delay is very much longer than the transmission delay and Ultimately  In this method sender sent single frame and receiver  take one frame at a time and sent acknowledgement(which is next frame number only) for new frame. 

 Advantages –

  • This method is very easiest and simple and each of the frames is checked and acknowledged well.
  • This method is also very accurate.

Disadvantages –

  • This method is fairly slow.
  • In this, only one packet or frame can be sent at a time.
  • It is very inefficient and makes the transmission process very slow.

2. Sliding Window Flow Control : This method is required where reliable in-order delivery of packets or frames is very much needed like in data link layer. It is point to point protocol that assumes that none of the other entity tries to communicate until current data or frame transfer gets completed. In this method, sender transmits or sends various frames or packets before receiving any acknowledgement. In this method, both the sender and receiver agree upon total number of data frames after which acknowledgement is needed to be transmitted. Data Link Layer requires and uses this method that simply allows sender to have more than one unacknowledged packet “in-flight” at a time. This increases and improves network throughput. and Ultimately  In this method sender sent multiple frame but  receiver  take one by one and  after completing one frame acknowledge(which is next frame number only) for new frame. 

Advantages –

  • It performs much better than stop-and-wait flow control.
  • This method increases efficiency.
  • Multiples frames can be sent one after another.

Disadvantages –

  • The main issue is complexity at the sender and receiver due to the transferring of multiple frames.
  • The receiver might receive data frames or packets out the sequence.

Recommended article:
Are Explosion-Proof Motors a Must-Have for Safety?
Seeing more spiders inside your home? Don't ... - USA Today
Where are AH slurry pumps commonly used?
What is the use of high pressure slurry pump?
Troubleshooting Common Pneumatic Control Valve Issues
17 Best Custom T-Shirt Companies To Use In 2024
14 Different Types of Casting Processes

Last Updated :

05 May, 2023

Like Article

Save Article

Share your thoughts in the comments

Please to comment...

Measurement

Before we get to controlling flow, let's take a minute to review how we measure it.

A typical flow meter, like the one pictured here, tells us how much volume is moving though the meter in a given amount of time. This gives us units like L/min, or gpm. Note that it is not telling us how fast the fluid is moving; that would be flow velocity.

Flow Control in Data Link Layer

Flow Control Fundamentals

Recommended article:
Pump Design: Understanding its different part and design
The Basics of Control Loop Systems and Components
Why are valves important in engineering?
Guide to most used valves
What is flow control used for and Why Do We Use Them?
Why should guardrails be 42 inches high?

Comments

0 of 2000 characters used

All Comments (0)
Get in Touch

Food & Beverage   |   Hardware   |   Machinery   |   Mechanical Parts & Fabrication Services   |   Service Equipment   |   Tools