Solved

what's a huge buffer miss?

Posted on 2012-04-04
1
1,328 Views
Last Modified: 2012-04-04
I'm looking in solarwinds at a switch and under buffer misses there are several categories. I'm having alot of misses under the Huge Buffer Misses. Can someone tell me what are Huge Buffer Misses? this is a cisco switch.
0
Comment
Question by:knfitz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 15

Accepted Solution

by:
Nayyar HH (CCIE RS) earned 500 total points
ID: 37807469
In summary - A huge buffer miss occurs when the Interface processor asks for a huge buffer in order to pass a "huge" packet to the RP (route processor or central processor) and there is no buffer space available - packet is likely to be dropped

Detailed explanation from Cisco site

Buffer Misses and Failures

The RP divides its processor memory into pools. Each pool contains a number of memory blocks of equal size. These memory blocks are called buffers.

Buffer Pools

There are six buffer pools:

Small—104 bytes buffers

Middle—600 byte buffers

Big—1524 byte buffers

VeryBig—4520 byte buffers

Large—5024 byte buffers

Huge—18024 byte buffers

For example, if an interface processor needs to pass a 20 byte packet to the RP, it “asks” for a Small buffer. If an interface processor needs to pass a 500 byte packet to the RP, it asks for a Middle buffer, and so forth.

Note: The interface processor must ask for a buffer of a certain size.

When the interface processor asks for a buffer, this occurs:

If a free buffer exists within the requested pool, the buffer is granted. Otherwise, the request generates a “miss” and the buffer algorithm tries to “create” more buffers for that pool .

When IOS fails to get a Small buffer, it does not drop the packet. It increments the failed counter and falls through to the next level buffer, which is the Middle buffer and requests a buffer there. If it fails to get a Middle buffer, it requests the next level buffer, which is a Big buffer. This process continues until it hits the Huge buffer pool. If it fails to get a Huge buffer, then it drops the packet.

When you use the IBM feature set, a miss almost always generates a failure.

Although the IBM features may be process-switched, the code to get a buffer to pass a packet from an interface to the RP executes at interrupt level.

Buffers can not be created at interrupt level; consequently, a miss queues its request for more buffers to the RP.

Because an additional buffer can not be created on the spot, the buffer request fails, and the packet is dropped.

Buffer failures are one of the most common reasons for packet drops. When packet drops occur because of buffer failure, this occurs:

After a buffer failure, the RP has an outstanding request to create more buffers of the appropriate size for the particular pool.

While the RP is servicing the create buffers request, there may be additional failures in the pool.

The RP may even fail to create more buffers, because of memory constraints in the system when the extra buffers are required.

Essentially, the create buffers operation could take several microseconds, in which packets are continually dropped because of the buffer shortage.

In addition, if buffers are used as quickly as they are created, the RP could be forced to spend more time on buffer creation than on packet processing.

This may cause the RP to begin to drop packets so quickly that performance degrades and sessions are lost.
0

Featured Post

Is Your DevOps Pipeline Leaking?

Is your CI/CD pipeline a hodge-podge of randomly connected tools? You’ve likely got a tool to fix one problem & then a different tool to fix another, resulting in a cluster of tools with overlapping functionality. Learn how to optimize your pipeline with Gartner's recommendations

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Note: This is the second blog post in a series on email clearinghouses (https://www.xmatters.com/alert-management/blog-email-has-failed-us?utm_campaign=70138000000ydLoAAI&utm_source=exex&utm_medium=article&utm_content=blog-post).   Every month t…
Read about why it is more lucrative for an IT company to participate in government projects.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question