Traffic+Shaping+Study+Guide+and+Slides
Traffic+Shaping+Study+Guide+and+Slides
com**
The primary goal of traffic shaping in vSphere is to prevent network congestion and ensure fair bandwidth
distribution. It becomes particularly important when dealing with VMs that perform resource-intensive tasks or
testing new applications, which might otherwise consume excessive bandwidth.
In VSS, traffic shaping settings are applied to a port group, affecting all VMs connected to that port group.
These settings include peak bandwidth, average bandwidth, and burst size, each playing a crucial role in
managing network traffic.
• Imagine a VM connected to a traffic-shaped port group. Under normal conditions, this VM must average
50 Mbps but can temporarily speed up to 100 Mbps.
• If the VM needs to upload a large file, it can utilize the full 100 Mbps peak bandwidth until its burst size
(e.g., 100 MB) is used up.
• After exhausting the burst size, the VM is limited back to the average bandwidth until it can "save up"
more burst allowance.
• This saving up occurs when the VM uses less bandwidth than its average limit, thereby accumulating
burst size over time.
Conclusion
Traffic shaping is a powerful tool in vSphere for managing network traffic. By setting appropriate peak and
average bandwidth limits, along with a sensible burst size, administrators can effectively control network
resource utilization, ensuring that all VMs receive fair access to network resources and maintaining overall
network health. This feature is particularly beneficial in environments where VMs have varying and potentially
resource-intensive network demands.