For feedback and comments: |
documentation.feedback@alcatel-lucent.com |
![]() |
![]() |
![]() |
![]() |
Forwarding for each egress port on the HSMDA is managed by a port-based scheduler. Each port-based scheduler maintains a maximum of eight strict forwarding levels (Figure 39). Strict level 8 is the highest priority while strict level 1 is the lowest. There are also eight scheduling classes that contain each of the queues assigned to the port scheduler. A queues membership in a scheduler class is controlled by the queue’s identifier. For example, all queues with a queue-id equal to 1 are in scheduler class 1 while all queues with queue-id equal to 2 are in scheduler class 2. By default, each scheduler class is directly mapped to its corresponding strict scheduling level.To allow for weighted servicing of selected scheduling classes, the port scheduler allows for two weighted groups to be optionally created (weighted-group-1 and weighted-group-2) and each may be populated with up to three consecutive scheduling classes (Figure 40). The group itself maps to the highest inherent strict scheduling level of its member scheduling classes. Each scheduling class in a scheduling group are individually weighted which allows for all queues represented by the class to be service according to the ratio of weights based on the active classes in the group (Figure 41).All queues are contained in a set of eight queues called a queue group. Two sets of 20,480 queue groups exist on the HSMDA, one set for ingress and the other for egress. The queue groups are defined as either provisioned (service or subscriber) or reserved for system use. The HSMDA uses a two 20,480 bit-wide tables to allow the system to define each queue group as either provisioned or system reserved separately for ingress and egress. The queue group id mapping table represented in Figure 44 places queue groups in pool group P (provisioned) or pool group S (system). For ingress and egress, the first 20,000 table entries (0..19,999) is set to group P and the remaining 480 (20,000..20,479) is set to group S.Figure 44: Queue Group ID Mapping TableThe HSMDA uses a second table called the port class buffer pools table (Figure 45) that represents a set of 180 buffer pools. Pools 0 through 79 are used by queues within group P and 80 through 179 are used by queues within group S. Each set of eighty pools is divided into 10 subsets of 8 pools each. Each subset is dedicated to a physical port on the HSMDA. For group P, pools 0 through 7 are for port 1, 8 through 15 are for port 2 and pools 72 through 79 are for port 10. A queue is mapped to a pool based on the queue-group-id mapping to P or S and then the port the queue is associated with is used to pick the subset. Within the subset, the internal queue-id is used as an offset to pick an actual pool. Queue-id 0 (provisioned as 1) on port 3 in group P is mapped to pool 16. Each pool in the table also has two aggregate pool pointers used to provide further control on buffer allocation. Agg-Pool-Ptr-1 and Agg-Pool-Ptr-2 arbitrarily tie the port class pool to two aggregate pools from a third table of 32 buffer pools.Figure 45: Port Class Buffer Pools TableThe third table is called the aggregate control buffer pools table (Figure 46). The table consists of 32 buffer pools that may be used arbitrarily by the port class pools. While the association from port class pool to aggregate control pool is arbitrary based on the 5-bit pointers, it is expected that the control pools will be divided into two groups of 16 pools, each group having two sub-groups of eight pools each (32 pools total). The first aggregate control group (pools 0 through 15) will be for provisioned buffer management and will be used by group P port class pools. The second aggregate control group (pools 16 through 31) will be for system level buffer management and used by group S port class pools.Figure 46: Aggregate Control Buffer Pools TableThe second 8 aggregate control buffer pools (8 through 15) are used as provisioned root pools. The purpose of the root pools is to allow the class pools to be oversubscribed without the possibility of the provisioned buffer usage stealing buffers from the system reserved buffers. Before sizing the provisioned root pools, a portion of the total buffer space is set aside for system purposes. The remaining buffers are divided between the provisioned root pools based on a weight parameter in each root pool. The weights may be set between 0 and 100. A value of zero indicates that a specific provisioned root pool will not receive buffers (pool size will be 0). Because root pools cannot be oversubscribed, they provide a protection mechanism for higher level pools. The number of root pools in use is dependant on the HSMDA pool policy applied to the MDA (ingress and egress are controlled by independent policies). The aggregate control class pools are associated with the root pools through the policy as well. Figure 47 represents the buffer pool hierarchy.Figure 47: Buffer Pool HierarchyAn HSMDA buffer pool policy named default always exists on the system and cannot be deleted or edited. The default policy is used for ingress and egress on all HSMDAs until an explicitly created HSDMA policy is defined on the HSMDA.
Table 53: Default Policy Parameters
Table 54: Class Pool Parameters The active bandwidth can be modified by the max-rate commands on the port. The parameters are used to artificially increase or decrease the amount of buffers that may be used by the port. These commands have no effect on the actual bandwidth used by the port.
• RED slope configuration is managed by defining up to 1,024 named HSMDA slope policies on the chassis and mapping the queue to a specific policy name. Each slope policy contains configuration information for the high-priority slope and the Low-Priority slope. HSMDA Slope policies differ from standard slope policies in that they do not support the time-average-factor feature used to manage the weighting utilization of the buffer space the standard slopes are managing. HSMDA queue slopes operate based on instantaneous queue utilization and do not maintain a weighted utilization value. Figure 48 demonstrates the high and low priority RED slopes used to derive the discard probability based on the current depth of the queue.Figure 48: High and Low RED Slopes
• Table 55 can be used to derive the 8-bit value for inverse slopes within the range 0.0625 and 15.9375.
→ The fractional portion of the inverse slope is 0.396875 and the closest result in four bits based on Table 55 is a least significant bit value of 0110 (0.375 decimal).To negate the issue between SAP type and LAG port membership, the config>lag>port-type {standard | hsmda-ports} command has must be executed prior to adding any ports to the LAG. This command allows the type ports that will be added to the LAG to be pre-defined. Without executing this command, HSMDA ports cannot be added to the LAG and after execution, the LAG may only be populated with HSMDA ports.
Table 56: HSMDA Scheduling Policy Default Values The following displays details of the default HSMDA pool policy configuration.A:ALA-48>config>qos>hsmda-pool-policy# info detail----------------------------------------------no descriptionsystem-reserve 10.00root-tierroot-pool 1 allocation-weight 75root-pool 2 allocation-weight 25root-pool 3 allocation-weight 0root-pool 4 allocation-weight 0root-pool 5 allocation-weight 0root-pool 6 allocation-weight 0root-pool 7 allocation-weight 0root-pool 8 allocation-weight 0exitclass-tierclass-pool 1 root-parent 1 allocation-percent 40.00class-pool 2 root-parent 1 allocation-percent 35.00class-pool 3 root-parent 1 allocation-percent 30.00class-pool 4 root-parent 1 allocation-percent 25.00class-pool 5 root-parent 1 allocation-percent 20.00class-pool 6 root-parent 2 allocation-percent 50.00class-pool 7 root-parent 2 allocation-percent 40.00class-pool 8 root-parent 2 allocation-percent 30.00exit----------------------------------------------A:ALA-48>config>qos>hsmda-pool-policy#The following displays details of the default HSMDA scheduler policy configuration:*A:ALA-48>config>qos# info detail#--------------------------------------------------echo "HSMDA Scheduler Policies Configuration"#--------------------------------------------------hsmda-scheduler-policy "default" createdescription "Default hsmda scheduler QoS policy"no max-rategroup 1 rate maxgroup 2 rate maxscheduling-class 1 rate maxscheduling-class 2 rate maxscheduling-class 3 rate maxscheduling-class 4 rate maxscheduling-class 5 rate maxscheduling-class 6 rate maxscheduling-class 7 rate maxscheduling-class 8 rate maxexithsmda-scheduler-policy "HSMDA-test" createdescription "HSMDA policy"no max-rategroup 1 rate maxgroup 2 rate 50000scheduling-class 1 rate maxscheduling-class 2 group 2 weight 1scheduling-class 3 rate maxscheduling-class 4 rate maxscheduling-class 5 rate maxscheduling-class 6 rate maxscheduling-class 7 rate maxscheduling-class 8 rate maxexit#--------------------------------------------------...*A:ALA-48>config>qos#The following displays details of the default HSMDA slope policy configuration.A:ALA-48>config>qos#--------------------------------------------------...hsmda-slope-policy "default" createdescription "Default hsmda slope policy."queue-mbs 16800high-slopestart-depth 100.00max-depth 100.00max-prob 100.00no shutdownexitlow-slopestart-depth 90.00max-depth 90.00max-prob 100.00no shutdownexitexit...--------------------------------------------------A:ALA-48>config>qos#The following displays details of the default HSMDA egress queue group configuration.configqosqueue-group-templatesegressqueue-group group-namehsmda-queueslow-burst-max-class classpacket-byte-offset {add add-bytes|subtract sub-bytes}wrr-policy wrr-policy-namequeue queue-id [create]adaptation-rule pir adaptation-rule [cir adaptation-rule]burst-limit size [bytes|kilobytes]mbs mbsrate pir-rate [cir cir-rate]slope-policy hsmda-slope-policy-namewrr-weight weightexitWhen a queue group template is instantiated at the port, queue group queues can be overridden at the instance level using hsmda-queue-overrides.*A:Dut-A>config>port>ethernet# /configure port 4/1/1*A:Dut-A>config>port# info----------------------------------------------shutdownethernetmode accessegressexp-secondary-shaper "Exp_Shaper_1" createexitexitaccessegressqueue-group "100" instance 1 createhsmda-queue-overridesecondary-shaper "Exp_Shaper_1"wrr-policy "wrrRes"packet-byte-offset add 3queue 2 createrate 2222exitexitexitexitexitexit----------------------------------------------
—
—
—
— hsmda-pool-policy policy-name
—
—
— max-rate rate
—
—
— no scheduling-class class
—
—
—
—
—
—
—
— [no] hsmda-queue-override
—
—
— no queue queue-id
—
—
— rate pir-rate
—
— slope-policy hsmda-slope-policy-name
— wrr-weight weight
— secondary-shaper secondary-shaper-name
— wrr-policy wrr-policy-name
—
— max-rate rate
—
—
— no scheduling-class class