cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

857
Views
0
Helpful
3
Replies
SHECHTER_2
Beginner

Performance buffers - how do they improve the performance?

Hi,

What exactly are "performance buffers"?

We can configure regular BB credits and also extended BB credits, so why do we also need "perforamnce buffers"? How do they differ from other buffers? How do they enhance performance other then just add more BB credit?

I suspect its the dynamic nature of them, so the MDS will have little flexability to dynamically allocate more buffers to hungry ports.

Any ideas?

Thanks,

Dan

3 REPLIES 3
Kris Vandecruys
Cisco Employee

Hi Dan,

The main purpose of BB credits is to compensate for the fact that several frames may be in-flight before they can be received at the other end of the link.

The BB Credits rule of thumb is that you need 1 credit per km at 2Gbps. Double the speed, then double the credits. Double the distance then double the credits.  So for a 10km link at 4Gb you would need a BB Credit setting of 20.

This assumes that the destination device is draining the buffers perfectly, which might not be the case.  If a certain port is draining buffers more slowly than they fill up, this potentially can fill up all the buffers upstream, because they stop sending if the receiving end is out of buffers. 

If this is bursty traffic arriving and the node is not too good at handling bursty traffic, it's a good idea to give it a bit more buffer to stop it from clogging up.

You can increase regular BB credits, but they are intended mostly for handling the fiber length as described above. Already a 125km link at 4Gb would use up all the regularly available buffers just to handle the in-flight frames.

Performance Buffers allow you to nudge this up to 400 BB Credits, so you have a little more buffer besides what you need for your length.

Extended BB Credits are intended specifically for long-haul links and allow you to go up to 4000.  This requires the Enterprise License.

Hope this clears things up for you.

Thanks for the answer, but my question wasn't what are buffers for.

If performance buffers are just like any BB buffers, then why bother to give them a different name and split the BB configuration into two.

Why there are performance buffers? What exactly do they do?

Well, in addition to normal BB_Credit buffers, additional buffers called performance buffers, can improve switch port performance. Each MDS switchport supports upto 145 additional performance buffers, if normal BB_credits are exhausted, MDS swtichport will continue to send R_RDY frames to the senders upto allowed number of performance buffers. This peformance buffer value is calculated automically using the built-in algorithm.

F,FL and TL ports get 12 performance buffers

E, TE ports get 145 peformance buffers

There is another type of BB_credits called Extended BB_credits, it is used for long haul fiber connection between MDS switches.

Hope this anwers your question.

A+