Solved

what's a huge buffer miss?

Posted on 2012-04-04
1
1,263 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
1 Comment
 
LVL 15

Accepted Solution

by:
Nayyar HH (CCIE RS) earned 500 total points
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
Email signature management is something that is often overlooked in many organizations or is simply not implemented effectively. Let's take a look at what methods are available for managing this important piece of corporate branding.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
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.

762 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now