Behavioral Change for Buffer Recarving

Similar documents
Maintenance Checklists for Microsoft Exchange on a Cisco Unity System

Configuring an Intermediate IP Multicast Helper Between Broadcast-Only Networks

Exclusive Configuration Change Access and Access Session Locking

Release Notes for Cisco ONS MA Release 9.01

Maintenance Checklists for Active Directory on a Cisco Unity System with Exchange as the Message Store

Connecting Cisco WLAN Controller Enhanced Network Modules to the Network

Release Notes for Cisco ONS SDH Release 9.01

Connecting Cisco DSU/CSU High-Speed WAN Interface Cards

Connecting Cisco 4-Port FXS/DID Voice Interface Cards

Cisco Software Licensing Information for Cisco Unified Communications 500 Series for Small Business

Release Notes for Catalyst 6500 Series and Cisco 7600 Series Internet Router CEF720 Module ROMMON Software

Modified LNS Dead-Cache Handling

7825-I4, 7828-I4 Hard Disk Firmware Update

The CVD program consists of systems and solutions designed, tested, and documented to facilitate faster, more reliable, and more predictable customer

RAID Controller Firmware Upgrade Instructions for the Cisco WAE-7341, 7371, and 674

Contextual Configuration Diff Utility

Protected URL Database

Release Notes for Cisco Small Business Pro ESW 500 Series Switches

Cisco Aironet Very Short 5-GHz Omnidirectional Antenna (AIR-ANT5135SDW-R)

Cisco Video Surveillance Virtual Matrix Client Configuration Guide

Using Microsoft Outlook to Schedule and Join Cisco Unified MeetingPlace Express Meetings

VPDN LNS Address Checking

Cisco Unified Attendant Console Backup and Restore Guide

Configuration Replace and Configuration Rollback

Cisco Virtual Office End User Instructions for Cisco 1811 Router Set Up at Home or Small Office

Cisco WAAS Mobile User Guide

Cisco Unified Web and Interaction Manager Browser Settings Guide

Cisco BTS Softswitch Turkish ISUP Feature Module

Release Notes for SPA942 and SPA962 IP Phones Firmware Version 6.1.3

RAID Battery Backup Unit Replacement and RAID Firmware Upgrade for Cisco Security MARS

ATM VP Average Traffic Rate

Cisco Unified Web and Interaction Manager Browser Settings Guide

Logging to Local Nonvolatile Storage (ATA Disk)

Wireless-G IP Phone QUICK INSTALLATION GUIDE. Package Contents

IS-IS Incremental SPF

BGP Enforce the First Autonomous System Path

OSPF Incremental SPF

DHCP Lease Limit per ATM/RBE Unnumbered Interface

Release Notes for Cisco Unified Attendant Console Standard Release

Installing IEC Rack Mounting Brackets on the ONS SDH Shelf Assembly

IP SLAs Proactive Threshold Monitoring

Installing the RJ-45 Bracket and Cable on the Cisco ONS Rack

MPLS MTU Command Changes

PPPoE Agent Remote-ID and DSL Line Characteristics Enhancement

Release Notes for Cisco Unified Attendant Console Compact Edition Version

Release Notes for SPA9000 Voice System

Suppress BGP Advertisement for Inactive Routes

Release Notes for Cisco Video Surveillance Manager 4.1/6.1

Configuring ISG VRF Transfer (Cisco IOS Release 12.2(28)SB)

PPPoE Session Recovery After Reload

Cisco Redundant Power System 2300 Compatibility Matrix

Configuring the WIP310 Wireless-G IP Phone with the SPA9000 Voice System

Per IP Subscriber DHCP Triggered RADIUS Accounting

Cisco BTS Softswitch Site Preparation and Network Communications Requirements, Release 6.0. Safety and Compliance

Cisco Unified Web and Interaction Manager Supervision Console User s Guide

Cisco Unity Express Voic System User s Guide

Release Notes for Cisco Service Control Management Suite Collection Manager (SCMS CM) 3.1.6

Cisco Registered Envelope Recipient Guide

DHCP Option 82 Support for Routed Bridge Encapsulation

Cisco PGW 2200 Softswitch Generic Call Tagging Feature Module

OSPF RFC 3623 Graceful Restart Helper Mode

Release Notes for Cisco Broadband Access Center 3.5

Release Notes for Click to Call Release 7.x

ISSU and SSO DHCP High Availability Features

Generic Routing Encapsulation Tunnel IP Source and Destination VRF Membership

Frame Relay Conditional Debug Support

PPPoE Agent Remote-ID and DSL Line Characteristics Enhancement

IP SLAs Random Scheduler

Cisco Aironet Directional Antenna (AIR-ANT-SE-WiFi-D)

Cisco Service Control Service Security: Outgoing Spam Mitigation

Connecting Cisco Digital Modem Network Modules to the Network

Release Notes for Cisco Aironet a/b/g Client Adapters (CB21AG and PI21AG) for Windows Vista 1.0

Release Notes for Cisco High-Performance Subnet Manager (HSM) Release 1.3

User Guide for Microsoft Outlook Plug-in for Cisco Unified Videoconferencing Manager Release 7.1

Protocol-Independent MAC ACL Filtering on the Cisco Series Internet Router

VPDN Group Session Limiting

Configuring Multiple Basic Service Set Identifiers and Microsoft WPS IE SSIDL

SSG Service Profile Caching

1 Obtaining Cisco ANA NSA 1.0 Patch 1

Release Notes for TimeCardView 7.0.x

Cisco Smart Business Communications System Teleworker Set Up

Configuring Token Ring LAN Emulation for Multiprotocol over ATM

PPP/MLP MRRU Negotiation Configuration

LAN Emulation Overview

Maintenance Checklists for Cisco Unity VPIM Networking (with Microsoft Exchange)

Packet Classification Using the Frame Relay DLCI Number

QoS Child Service Policy for Priority Class

PPPoE Client DDR Idle Timer

IMA Dynamic Bandwidth

Release Notes for Cisco MDS 9000 Family Fabric Manager Release 4.1(3b)

Configuration Partitioning

RADIUS NAS-IP-Address Attribute Configurability

Wireless LAN Error Messages

Installing and Configuring the Microsoft Outlook Client Plug-in for Cisco Unified Videoconferencing Manager Release 7.1

BECN and FECN Marking for Frame Relay over MPLS

Cisco Report Server Readme

DHCP Relay MPLS VPN Support

Cisco Unified MeetingPlace for Microsoft Office Communicator

Online Bank Secures Future Leadership

Installing the Cisco ONS Deep Door Kit

Transcription:

Part Number: OL-18534-01 First Published: December 8, 2008 Table 1 Feature History Cisco IOS Release 12.0(32.03)S03, 12.0(32)S08, 12.0(32)SY04 12.0(32)SY07, 12.0(32)S06c 12.0(32)SY07, 12.0(32)S06c, and 12.0(33)S02 Modification Introduced a new command-line interface (CLI) command [no] bfrp carve-level [0 1] to enable or disable packet buffer recarve optimization. The packet buffer recarving occurs when an MTU (maximum transmission unit) is changed on the router. The bug id caveat CSCso80492 introduced a behavioral change to the carve-level 1 mechanism. After changing the largest MTU configured on a slot, sometimes an extra buffer queue is added in the ToFab of other line cards. This additional of an extra buffer queue that is not in the global buffer distribution (dsn) is used to process packets that enter its range. The bug id caveat CSCsq94862 introduced a behavioral change to the CLI command no bfrp carve-level. Contents Purpose of This Document Overview Buffer Carving Algorithm Controlling Buffer Recarving Behavioral Change to Carve-Level 1 Behavioral Change to Command no bfrp carve-level Americas Headquarters: Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA 95134-1706 USA

Purpose of This Document Purpose of This Document This document explains the basics of the buffer recarving functionality, buffer carves that are triggered upon changing MTUs, the behavioral change to carve-level 1 functionality, the addition of the new command bfrp carve-level to enable or disable packet buffer recarve optimization, and behavioral change to the command no bfrp carve-level. Overview Each line card (LC) on a Cisco 12000 series Internet router has two types of memory: Route or processor memory (dynamic RAM [DRAM]): This memory enables mainly the onboard processor to run Cisco IOS software and store network routing tables (Forwarding Information Base [FIB] adjacency). Packet memory (synchronous dynamic RAM [SDRAM]): Line card packet memory temporarily stores data packets awaiting switching decisions by the line card processor. This document discusses mainly the buffer carving algorithm, the addition of a new CLI command to control buffer optimization, a behavioral change to carve-level 1 functionality and a behavioral change to the command no bfrp carve-level. Buffer carving mechanism is related with the packet memory (SDRAM), which is divided into two banks: ToFab and FrFab (towards the Fabric and from the Fabric). The ToFab memory is used for packets that come in one of the interfaces on the LC and make their way to the fabric, whereas the FrFab memory is used for packets that are going out of an interface on the LC from the fabric. The Tofab and Frfab queues are the most important concepts to understand in order to efficiently troubleshoot ignored packets in the Cisco 12000 Series Internet Router. Note ToFab (toward the Fabric) and "Rx" (received by the router) are two different names for the same thing, as are "FrFab" (from the Fabric) and "Tx" (transmitted by the router). For example, the ToFab Buffer Management ASIC (BMA) is also referred to as the RxBMA. This document uses the ToFab or FrFab convention, but you may see the Rx or TX nomenclature used elsewhere. Buffer Carving Algorithm Cisco IOS software implements a buffer-carving algorithm that divides SDRAM into various buffer sizes. The Cisco 12000 series Internet router connects to several different media types, with different MTUs. A mechanism was needed to make the most efficient use of packet memory buffers. The buffer carving algorithm was devised after studying the makeup of Internet traffic and considering the various media types that the Cisco 12000 series Internet router supports. 2

Controlling Buffer Recarving Understanding Buffer Carving Mechanism The Route Processor (RP) runs the buffer carve code to determine the buffer specifications to be sent down to line cards. Line cards apply these specifications on their packet buffers. Route Processor buffer carve code can be invoked under the following conditions: Router power-on MTU changes on an LC interface, done from the RP Online insertion and removal (OIR) event; for example, insertion or removal of a line card Controlling Buffer Recarving Each line card on Cisco 12000 series Internet router has two sets of packet memories. One of the packet memories is on the ingress side (tofab) and the other is on the egress side(frfab). The Route Processor calculates buffer specifications and sends it down to the line cards on their power-on. The line cards blindly carve their packet memories based on these specifications. Changes in the buffer specification can happen when the MTU distribution changes on the router, triggering recarving of buffers on line cards (LC). Currently by default, buffer recarving occurs in any of the following cases: Case 1: Change that results from increasing or decreasing the maximum MTU configured on the router. Case 2: Change that results from adding or removing new buffer pool within the maximum slot MTU, with no change in the maximum MTU on the router. Case 3: Change that results from increasing or decreasing the existing pool buffer length while the maximum MTU on the router remains the same. Case 4: Change that results from increasing or decreasing the maximum slot MTU, which may change the maximum MTU on the router. Network Traffic Disruption Recarves on line card result in disruption of the traffic flow; the worst-case recarve will result in all line card Tofab and Fr Fab packet memories getting recarved, resulting in a router-wide traffic drop. Recarving in case 1 is acceptable to ensure the biggest packet flowing through the router does not get dropped. Similarly, case 4 is acceptable because it ensures that the biggest packets on the ingress side do not get dropped. However, case 2 and case 3 can be disabled using the bfrp carve-level command. 3

bfrp carve-level bfrp carve-level To ensure control over the frequency of buffer recarving, use the bfrp carve-level command. Whenever buffer recarving occurs, packets sent to that line card are dropped. Use the command bfrp carve-level 0 if you want to disable buffer recarving completely after recarving once to default buffer specifications. Use the command bfrp carve-level 1 if you want to perform buffer recarving only if the change in the MTU is changing the maximum slot MTU configured on any slot. Use the no bfrp carve-level command to restore the default carving mechanism. bfrp carve-level [0 1] no bfrp carve-level Syntax Description 0 Applies default buffer distribution and disables buffer recarves completely. 1 Allows recarving only if the change in the MTU is changing the maximum slot MTU configured on any slot. Command Modes Global configuration Defaults By default, buffer recarving is triggered if any of the cases discussed in the section Controlling Buffer Recarving are met. Command History Release 12.0(32.03)S03, 12.0(32)S08, 12.0(32)SY04 Modification This command was introduced. Examples The following example shows how to recarve the default buffer distribution and disable further recarving for any MTU change. The maximum MTU configured on router is 6000: Router> enable Router# config t Router(config)# bfrp carve-level 0 The following example shows that recarving is invoked only if the MTU change is changing the maximum slot MTU configured on any slot: Router(config)# bfrp carve-level 1 The following example shows how to restore the default buffer recarving behavior: Router(config)# no bfrp carve-level Usage Guidelines Use the command bfrp carve-level 0 to accommodate all default buffer sizes on the router with a maximum buffer size of 9248 and then prevent further recarves on any MTU change. 4

bfrp carve-level Use the command bfrp carve-level 1 to selectively disable buffer recarve, by allowing recarves only for maximum slot MTU changes. Use the command no bfrp carve-level to restore to default carving mechanism. Note At any given time, only one of the two buffer levels (carve level 0 or carve level 1) can be activated. 5

Behavioral Change to Carve-Level 1 Behavioral Change to Carve-Level 1 This section explains the behavioral change to carve-level 1 functionality. It contains the following topics: Old Behavior New Behavior Old Behavior The ToFab and FrFab of all line cards match the queues in the global buffer distribution (dsn). New Behavior At carve level 1, fix ensures change in largest MTU configured on slot, recarves both ToFab and FrFab buffers on the same line card and only FrFab buffers on other card, keeping the ToFab buffers of other card unchanged. However, in some rare cases though global distribution changes due to MTU change, same will not be reflected in the ToFab of other line card due above restriction. So, there could be some extra buffer queues which are not in global buffer distribution. Buffers are allocated dynamically for incoming packets. If incoming packet matches the criteria for extra queue found in ToFab direction, it will allocate buffer from that queue. So buffers in extra queue(in ToFab direction) do not go waste. The following example shows the logs of caveat at carve level-1. The command output in the following example shows that an extra buffer queue is added in ToFab for slot 2. The example includes the following hardware and software configurations: A router with three line cards available at slots 0, 2, and 3, respectively. The default MTUs configured on slots 0, 2, and 3 are 4470, 1500, and 4470, respectively. The initial maximum slot MTUs configured on slots 0, 2, and 3 are 4470, 9072, and 1500, respectively. (These steps followed to produce the following output). Step 1 At slot 3, change the maximum slot MTU to 1800 from the default value of 1500. Step 2 At slot 2, change the maximum slot MTU from 9072 to the default value of 4470. Step 3 At slot 3, change the maximum slot MTU from 1800 back to the default value of 1500. Router# show controllers queues Global MTU information: Max MTU data size = 4592 MTUs considered in SDRAM buffer carving: Index MTU Data Size 0 1568 1 4592 Input SDRAM buffer distribution = default : Index Data Size Min Data Size Percent Buffers Fixed? 0 80 1 50 yes 1 608 81 30 yes 6

Behavioral Change to Carve-Level 1 2 1616 1488 15 yes 671 3 no 4 9296 7431 2 no Resulting global SDRAM buffer distribution (includes MTUs): Index Data Size Min Data Size Percent Buffers Fixed? 0 80 1 50 yes 1 608 81 30 yes 2 1616 1488 15 yes 671 3 no 4 9296 7431 2 no Contd... FrFab SDRAM buffer carve-data for slot 0: ToFab SDRAM buffer carve-data for slot 0: FrFab SDRAM buffer carve-data for slot 2: ToFab SDRAM buffer carve-data for slot 2: 0 80 50 3 1952 1 <<<< Mismatch with global dsn 4 4592 3 FrFab SDRAM buffer carve-data for slot 3: ToFab SDRAM buffer carve-data for slot 3: 0 80 53 1 608 32 2 1616 16 7

Behavioral Change to Command no bfrp carve-level Behavioral Change to Command no bfrp carve-level This section explains the behavioral change to the command no bfrp carve-level. It contains the following topics: Old Behavior New Behavior Old Behavior Traversing back from carve level 0 or 1 to the default carve using the command no bfrp carve-level, restores to the default carving mechanism without performing any carving. Only future MTU changes trigger recarve of both Tofab and From Fab according to their default carve mechanism. New Behavior Executing the command no bfrp carve-level, triggers a carving on both ToFab and FromFab direction according to the default carving mechanism. The feature change is that if you traverse back from carve-level 0 or 1 to default carve mechanism, using the command no bfrp carve-level, recarving takes place. Below is the output showing the new behavior. It triggers router wide recarving, suggested to use on a maintenance window (MW). Step 1 Step 2 Step 3 The following example shows how to view the current carve-level 0 or 1 configured on the router. Execute the following command from Global configuration mode. GSR-12012(config)# do show running-config i carve bfrp carve-level 0 The following example shows how to traverse back from carve-level 0 or 1 to the default carve. The command output message indicates that there will be recarving of buffers. GSR-12012(config)# no bfrp carve-level GSR-12012(config)# 05:05:42: %RP-6-CARVE_BUF: Carve Level change may recarve the buffers << indicative message GSR-12012(config)#end GSR-12012(config)#end GSR-12012# 05:08:51: %SYS-5-CONFIG_I: Configured from console by console The following example shows how to view the current global distribution list and the carves configured at various slots on the router. Execute the following command from Exec mode. GSR-12012# show controllers queues <<< buffers are recarved according to default carve mechanism Global MTU information: Max MTU data size = 4592 MTUs considered in SDRAM buffer carving: Index MTU Data Size 0 4592 Input SDRAM buffer distribution = default : Index Data Size Min Data Size Percent Buffers Fixed? 0 80 1 50 yes 8

Behavioral Change to Command no bfrp carve-level 1 608 81 30 yes 2 1616 1488 15 yes 671 3 no 4 9296 7431 2 no Contd Resulting global SDRAM buffer distribution (includes MTUs): Index Data Size Min Data Size Percent Buffers Fixed? 0 80 1 50 yes 1 608 81 30 yes 2 1616 1488 15 yes 671 3 no 4 9296 7431 2 no FrFab SDRAM buffer carve-data for slot 8: ToFab SDRAM buffer carve-data for slot 8: 9

Behavioral Change to Command no bfrp carve-level CCDE, CCENT, Cisco Eos, Cisco Lumin, Cisco Nexus, Cisco StadiumVision, Cisco TelePresence, Cisco WebEx, the Cisco logo, DCE, and Welcome to the Human Network are trademarks; Changing the Way We Work, Live, Play, and Learn and Cisco Store are service marks; and Access Registrar, Aironet, AsyncOS, Bringing the Meeting To You, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, CCVP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Collaboration Without Limitation, EtherFast, EtherSwitch, Event Center, Fast Step, Follow Me Browsing, FormShare, GigaDrive, HomeLink, Internet Quotient, IOS, iphone, iquick Study, IronPort, the IronPort logo, LightStream, Linksys, MediaTone, MeetingPlace, MeetingPlace Chime Sound, MGX, Networkers, Networking Academy, Network Registrar, PCNow, PIX, PowerPanels, ProConnect, ScriptShare, SenderBase, SMARTnet, Spectrum Expert, StackWise, The Fastest Way to Increase Your Internet Quotient, TransPath, WebEx, and the WebEx logo are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries. All other trademarks mentioned in this document or website are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (0809R) Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. Any examples, command display output, and figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and coincidental. 2008 Cisco Systems, Inc. All rights reserved. 10