1

What are the trade-offs/major differences of Ethernet Flow Control vs Quality of Service? How to know when to choose one over the other?

They seem to both be a solution for congestion.

The obvious downfall of flow control seems to be, that it can congest the switch itself. There are no priorities assigned to traffic, therefore the switch buffers can fill in a hurry.

1
  • Did any of the answers help you? if so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively you can answer your own question and accept the answer.
    – Ron Maupin
    Commented Aug 6, 2017 at 2:32

2 Answers 2

2

QoS will apply policies to different traffic classes as it passes through the device, such as giving priority to certain traffic. But it does not signal to the transmitter to pause.

Flow control operates at the interface level and will send a Pause to an upstream transmitter telling them to pause transmission (assuming they also are set up to honor flow control messages). This can affect all traffic passing over the interface.

There is an enhancement called priority flow control which applies flow control based on CoS class. The devices negotiate this using LLDP DCBX and exchange their QoS configurations, if they match, then they can successfully use priority flow control between them.

Overview of PFC

1

Don't confuse layer-2 and layer-3. Ethernet flow control is a poorly-supported, layer-2 control for layer-2 frames, and it tries to prevent the tiny switch buffers from filling. QoS is a layer-3 control that can be used to police, queue, shape, etc. layer-3 packets.

There is nothing to prevent you from using both at the same time.

2
  • QoS is not layer 3 only. There are tagging methods that work in layer 3 but there are other methods that work in layer 2 as well. There is even mapping from layer 2 to 3 for QoS.
    – Fixitrod
    Commented Jul 7, 2017 at 13:17
  • QoS marking on layer-2 is CoS. You need VLAN tags in order to mark at layer-2. That means you need trunk links.
    – Ron Maupin
    Commented Jul 7, 2017 at 17:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.