Buffer utilization display

The following table describes the buffer utilization differences between the 7250 IXR, 7220 IXR-D2, D3, and D5 or 7220 IXR-H2 and H3.

Table 1. Buffer utilization

Hardware

Buffer memory

7250 IXR

  • SRAM size = 32 MB

  • DRAM (HBM) size = 8 GB

7220 IXR-D2 and D3

  • Total buffer size = 32 MB

  • Reserved buffer size = 4.65 MB

7220 IXR-D5

  • Total buffer size = 132 MB

  • Reserved buffer size = 3.7 MB

7220 IXR-H2 and H3

  • Total buffer size = 64 MB

  • Reserved buffer size = 6.7 MB

Displaying buffer utilization

To display buffer utilization, use the info from state command.

The following examples show overall buffer usage. The output varies depending on the hardware deployed.

Displaying buffer utilization (7250 IXR)

# info from state platform linecard 1 forwarding-complex 0 buffer-memory
    platform {
        linecard 1 {
            forwarding-complex 0 {
                buffer-memory {
                    sram {
                        used 15808512 >> in bytes 
                        free 17745920  >> in bytes
                    }
                    dram {
                        used 48   >>> it is in % of DRAM
                    }
                }
            }
        }
    }

Displaying buffer utilization (7220 IXR-D2, D3, and D5 or 7220 IXR-H2 and H3 )

# info from state platform linecard 1 forwarding-complex 0 buffer-memory
    platform {
        linecard 1 {
            forwarding-complex 0 {
                buffer-memory {
                   used  2097152
                   free  27263246
                   reserved 4194034
                }
            }
        }
    }