Understanding Scheduling on PTX Series Routers
This topic covers class of service packet scheduling for interfaces on PTX Series routers:
Output Queue Priorities Supported by the Junos OS CLI on PTX Series Routers
Output queues on the PTX Series interface hardware support these
values for the queue priority—high, medium, low, and excess.
The Junos OS supports five queue priority levels: strict-high
, high
, medium-high
, medium-low
,
and low
.
If a strict-high-priority queue is constantly loaded to 100 percent of traffic capacity, other queues are starved. Queue starvation can cause the interface hardware to generate interrupts.
This starvation can be alleviated by using a rate-limiter on the strict-high queues.
Strict-Priority and Scheduling Processes on PTX Series Routers
Table 1 shows the different configurations available for Junos Priority Scheduler Modes,
including those for Strict-Priority and Enhanced-Priority Modes. Table 1 also shows how the output queue priority values in the Junos OS map to the output
queue priorities supported by physical interfaces on PTX Series routers, and the
scheduling action taken. Starting in Junos OS Release 17.4, the table shows
differences for normal scheduling when strict-high
is not
configured, and for strict-priority scheduling.
JunosPriority |
Scheduler Mode |
Normal |
Strict Priority Scheduler |
||
---|---|---|---|---|---|
Chassis Knob |
enhanced-priority-mode (Junos OS only) |
no-enhanced-priority-mode |
* |
||
Strict-High Config |
No |
Yes |
* |
* |
|
|
— |
— |
High |
High |
High |
|
— |
High |
Medium |
High |
High |
|
— |
Medium |
Low |
Medium |
Medium |
|
— |
Medium |
Low |
Medium |
Low |
|
— |
Low |
Low |
Low |
Excess |
Packet scheduling is strict priority round-robin while the virtual output queues are in the guaranteed region.
After the virtual output queues consume their guaranteed credits, they are demoted to excess-priority scheduling, which is weighted round-robin.
The only exception is the strict-high priority, which is always scheduled as strict-high-priority.
PTX Series routers running Junos OS support
enhanced-priority-mode
and
no-enhanced-priority-mode
options under the [edit
chassis fpc fpc-slot traffic-manager]
configuration
hierarchy.
PTX Series routers running Junos OS Evolved do not
support enhanced-priority-mode
mode.
For PTX10K-LC1201 and PTX10K-LC1202 line cards on PTX10001-36MR, PTX10004, PTX10008, and PTX10016 routers running Junos OS Evolved:
- In strict priority scheduler mode, schedulers for queue 6 and queue 7
must have priority
low
(forExcess
in hardware), and queues 0 through 5 should have higher priorities. These PTX models allow queues 6 and 7 to emulate two strictExcess
priorities by setting large and smallexcess-rate
values. - When an FPC starts, if the system has any
traffic-control-profiles profile-name strict-priority-scheduler
configured, then all egress interfaces (et-*
) of that FPC treat queues 6 and 7 specially. For proper transmit scheduling, configuretraffic-control-profiles profile-name strict-priority-scheduler
for all port interfaces if any traffic control profile hasstrict-priority
scheduler.
Change History Table
Feature support is determined by the platform and release you are using. Use Feature Explorer to determine if a feature is supported on your platform.
strict-high
is not
configured, and for strict-priority scheduling.