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 = 32MB

  • DRAM (HBM) size = 8 GB

7220 IXR-D2 and D3

  • Total Buffer size = 32MB

  • Reserved Buffer size = 4.65MB

7220 IXR-D5

  • Total Buffer size = 132MB

  • Reserved Buffer size = 3.7MB

7220 IXR-H2 and H3

  • Total Buffer size = 64MB

  • Reserved Buffer size = 6.7MB

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
                }
            }
        }
    }