Chapter 2. Buffers

When you start talking to vendors about data center switches, you’ll start to hear and read about buffers. Some of the vendors have knockdown, drag out fights about these buffers, and often engage in all sorts of half-truths and deceptions to make you believe that their solution is the best. So what is the truth? As with most things, it’s not always black and white.

To start, we need to look at the way a switch is built. That starts with the switch fabric.

Note

The term fabric is used because on large scales, the interconnecting lines look like the weave of fabric. And all this time I thought there was some cool scientific reason.

Imagine a matrix where every port on the switch has a connection for input (ingress) and another for output (egress). If we put all the ingress ports on the left, and all the output ports on top, then interconnect them all, it would look like the drawing in Figure 2-1. In order to make the examples easy to understand, I’ve constructed a simple, though thoroughly unlikely, three-port switch. The ports are numbered ethernet1, ethernet2, and ethernet3, which are abbreviated e1, e2, and e3.

Looking at the drawing, remember that e1 on the left and e1 on the top are the same port. This is very important to understand before moving forward. Remember that modern switch ports are generally full duplex. The drawing simply shows the ins on the left and the outs on the top. Got it? Good. Let’s continue.

First, the fabric allows more than one conversation ...

Get Arista Warrior now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.