Elephant Detection in the vSwitch With Performance Handling in the Underlay

As we’ve discussed previously, the vSwitch is a great position to detect elephant, or heavy-hitter flows because it has proximity to the guest OS and can use that position to gather additional context. This context may include the TSO send buffer, or even the guest TCP send buffer. Once an elephant is detected, it can be signaled to the underlay using standard interfaces such as DSCP. The following slide deck provides and overview of a working version of this, showing how such a setup can be used to both dynamically detect elephants and isolate mice from queuing delays they cause. We’ll write about this in more detail in a later post, but for now check out the slides (and in particular the graphs showing the latency of mice with and without detection and handling).

Elephants and Mice from Martin Casado

2 Comments on “Elephant Detection in the vSwitch With Performance Handling in the Underlay”

  1. Peter Phaal says:

    Nice demonstration of the value of managing Elephant flows. However, there are situations where physical servers / appliances connect to the virtual network through a top of rack switch (implementing Network Services Gateway functionality), rather than the vSwitch.

    Commodity switches are very capable devices and can be used for more that just tunnel termination. The following article demonstrates that a white box switch can also be used to detect and mark Elephant flows:


  2. […] latter topic is something we’ve addressed in some other recent posts (here, here and here) — in this blog we’ll focus more on how we deal with physical devices at the […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s