Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Shared and Dedicated Buffer Memory Pools on ACX Series Routers

ACX Routers Running Junos OS

The ACX5048 and ACX5096 router has 12 megabytes of Packet Forwarding Engine (PFE) wide common packet buffer memory that is used to store packets on interface queues. The buffer memory is divided into two pools, shared buffers and dedicated buffers or reserved buffers.

Shared buffers are a global memory pool that the router allocates dynamically to ports as needed, so the buffers are shared among the ports. To configure a maximum amount of shared buffer that the multicast packets can consume, include the multicast percentage CLI statement at the [edit class-of-service schedulers scheduler-name shared-buffer maximum] hierarchy level. The value that you can specify for multicast percentage CLI command can be from 0 through 100 percent. If the multicast percentage CLI statement is not added, then the value defined by the shared-buffer maximum percent percentage is used for multicast packets as well.

Dedicated buffers or reserved buffers are a memory pool divided equally among the router ports. Each port receives a minimum guaranteed amount of buffer space, dedicated to each port, not shared among ports. To configure a dedicated buffer for multicast packets, include the buffer-partition multicast percentage CLI statement at the [edit class-of-service schedulers scheduler-name buffer-size] hierarchy level. The value that you can specify for buffer-partition multicast percentage CLI command can be from 0 through 100 percent. If the buffer-partition multicast percentage CLI statement is not configured, then a default value of 25% is reserved for multicast packets.

Note:

The total amount of actual queue buffer is defined using the buffer-size CLI command.

The ACX5048 router supports delay bandwidth buffer (DBB) for virtual output queues (VOQs). ACX5048 router supports an external DRAM memory, as well as an on-chip buffer (OCB) for storing packet data. A packet is either fully stored in the DRAM or fully stored in the OCB and can consume one or more buffers (upto 40 buffers) depending on the packet size versus the buffer size. A buffer contains a single packet or a part of a single packet.

Note:

The ACX5048 router does not support buffering for IRB multicast traffic and therefore CLIs for configuring multicast is not supported.

The ACX5048 router does not support buffer-partition multicast percent percentage option for buffer-size and multicast percentage option for shared-buffer-maximum.

To configure shared and dedicated buffers, include the multicast percentage and buffer-partition multicast percentage CLI statements at the [edit class-of-service] hierarchy level:

The following is a sample configuration for shared and dedicated buffers in ACX5048 and ACX5096 routers:

The port gets 50 microseconds worth of reserved buffer. For a 10 Gigabyte port without any shaper, this translates to 62500 Bytes.

In the above sample configuration, the total buffer size allotted for the queue is 80 percent.

Under buffer-partition, the multicast packets get 30 percent of the total buffer-size, which translates to about 24 percent of port-buffer. The unicast packets get the remaining 70 percent of 80 percent of the port buffer, which translates to 56 percent of port buffer.

Under shared-buffer, the multicast packets get up to 10 percent of the total shared buffer. Unicast packets use up to 20 percent of the total shared buffer.

The following is a sample configuration for shared and dedicated buffers in ACX5048 router:

The ACX5048 router has OCB size of 16MB and DRAM size of 6GB. The default buffer size per port is 100 microseconds. The total buffer size for 48X10GE + 4X100GE comes to 11MB. The ACX5048 router supports deep buffering of oversubscribed traffic using external DRAM to queue traffic to oversubscribed ports. The ACX5048 router uses the DRAM-Mix mode by default, which uses DRAM buffers during oversubscription cases. The ACX5048 router supports configuring buffer size (dedicated buffers) per egress queue, which is similar to ACX5000 line of routers.

The ACX6360 routerhas a 39 MB total switch buffer pool. By default, 15 percent of the total buffer pool is allocated to the dedicated buffer pool and the remaining is allocated to the shared buffer pool. If you configure the shared buffer pool as less than 100 percent of the available buffer pool, the remaining buffer space is added to the dedicated buffer pool. You can distribute the shared buffer pool among lossless, lossy, and multicast queues with the following configuration:

ACX Routers Running Junos OS Evolved

ACX7000 Series routers have On-chip buffers (OCB) and external DRAM buffers for VOQ Buffering. Table 1 shows information OCB and external DRAM buffers for ACX7000 Series routers.

Table 1: OCB and External DRAM Buffers for ACX7000 Routers
Platform Total OCB in MB Total DRAM buffer in MB

ACX7024

8

2

ACX7024X

8

2

ACX7100-32C

32

8

ACX7100-48L

32

8

ACX7332

16

4

ACX7348

16

4

ACX7509

64

8

Shared buffers are a global memory pool that the router allocates dynamically to ports as needed, so the buffers are shared among the ports. Table 2 shows the shared buffer per VOQ based on port speed for ACX7000 routers.

Table 2: Shared Buffers per VOQ for ACX7000 Routers
Interface Speed in Gbps Shared Buffer per VOQ in MB Shared Buffer per VOQ in ms

1

5

40

10

50

40

25

250

80

40

250

50

50

250

40

100

500

40

200

500

20

400

500

10

Dedicated buffers are a memory pool divided equally among the router ports. Each VOQ of a port receives a minimum guaranteed amount of buffer space, dedicated to each VOQ, not shared among ports. Table 3 shows the default dedicated buffer based on port speed for ACX7000 routers.

Table 3: Dedicated Buffer per VOQ for ACX7000 Routers
Interface Speed in Gbps Dedicated Buffer per VOQ in KB

1

125

10

125

25

625

40

625

50

625

100

1250

200

2500

400

5000

To configure shared and dedicated buffers, use the CLI below. In ACX7000 Series routers, use the temporal option to configure the shared buffer and use the percent | remainder options to configure the dedicated buffer.