xref: /dpdk/examples/qos_sched/profile_pie.cfg (revision 86dfed2a8ed704e013f054985a92d46f07ff48d1)
1;   SPDX-License-Identifier: BSD-3-Clause
2;   Copyright(c) 2010-2019 Intel Corporation.
3
4; This file enables the following hierarchical scheduler configuration for each
5; 10GbE output port:
6;	* Single subport (subport 0):
7;		- Subport rate set to 100% of port rate
8;		- Each of the 13 traffic classes has rate set to 100% of port rate
9;	* 4K pipes per subport 0 (pipes 0 .. 4095) with identical configuration:
10;		- Pipe rate set to 1/4K of port rate
11;		- Each of the 13 traffic classes has rate set to 100% of pipe rate
12;		- Within lowest priority traffic class (best-effort), the byte-level
13;		  WRR weights for the 4 queues of best effort traffic class are set
14;		  to 1:1:1:1
15;
16; For more details, please refer to chapter "Quality of Service (QoS) Framework"
17; of Data Plane Development Kit (DPDK) Programmer's Guide.
18
19; Port configuration
20[port]
21frame overhead = 24
22number of subports per port = 1
23
24subport 0-8 = 0                ; These subports are configured with subport profile 0
25
26; Subport configuration
27[subport 0]
28number of pipes per subport = 4096
29queue sizes = 64 64 64 64 64 64 64 64 64 64 64 64 64
30
31pipe 0-4095 = 0                ; These pipes are configured with pipe profile 0
32
33[subport profile 0]
34tb rate = 1250000000           ; Bytes per second
35tb size = 1000000              ; Bytes
36
37tc 0 rate = 1250000000         ; Bytes per second
38tc 1 rate = 1250000000         ; Bytes per second
39tc 2 rate = 1250000000         ; Bytes per second
40tc 3 rate = 1250000000         ; Bytes per second
41tc 4 rate = 1250000000         ; Bytes per second
42tc 5 rate = 1250000000         ; Bytes per second
43tc 6 rate = 1250000000         ; Bytes per second
44tc 7 rate = 1250000000         ; Bytes per second
45tc 8 rate = 1250000000         ; Bytes per second
46tc 9 rate = 1250000000         ; Bytes per second
47tc 10 rate = 1250000000        ; Bytes per second
48tc 11 rate = 1250000000        ; Bytes per second
49tc 12 rate = 1250000000        ; Bytes per second
50
51tc period = 10                 ; Milliseconds
52
53; Pipe configuration
54[pipe profile 0]
55tb rate = 305175               ; Bytes per second
56tb size = 1000000              ; Bytes
57
58tc 0 rate = 305175             ; Bytes per second
59tc 1 rate = 305175             ; Bytes per second
60tc 2 rate = 305175             ; Bytes per second
61tc 3 rate = 305175             ; Bytes per second
62tc 4 rate = 305175             ; Bytes per second
63tc 5 rate = 305175             ; Bytes per second
64tc 6 rate = 305175             ; Bytes per second
65tc 7 rate = 305175             ; Bytes per second
66tc 8 rate = 305175             ; Bytes per second
67tc 9 rate = 305175             ; Bytes per second
68tc 10 rate = 305175            ; Bytes per second
69tc 11 rate = 305175            ; Bytes per second
70tc 12 rate = 305175            ; Bytes per second
71
72tc period = 40                ; Milliseconds
73
74tc 12 oversubscription weight = 1
75
76tc 12 wrr weights = 1 1 1 1
77
78[pie]
79tc 0 qdelay ref = 15
80tc 0 max burst = 150
81tc 0 update interval = 15
82tc 0 tailq th = 64
83
84tc 1 qdelay ref = 15
85tc 1 max burst = 150
86tc 1 update interval = 15
87tc 1 tailq th = 64
88
89tc 2 qdelay ref = 15
90tc 2 max burst = 150
91tc 2 update interval = 15
92tc 2 tailq th = 64
93
94tc 3 qdelay ref = 15
95tc 3 max burst = 150
96tc 3 update interval = 15
97tc 3 tailq th = 64
98
99tc 4 qdelay ref = 15
100tc 4 max burst = 150
101tc 4 update interval = 15
102tc 4 tailq th = 64
103
104tc 5 qdelay ref = 15
105tc 5 max burst = 150
106tc 5 update interval = 15
107tc 5 tailq th = 64
108
109tc 6 qdelay ref = 15
110tc 6 max burst = 150
111tc 6 update interval = 15
112tc 6 tailq th = 64
113
114tc 7 qdelay ref = 15
115tc 7 max burst = 150
116tc 7 update interval = 15
117tc 7 tailq th = 64
118
119tc 8 qdelay ref = 15
120tc 8 max burst = 150
121tc 8 update interval = 15
122tc 8 tailq th = 64
123
124tc 9 qdelay ref = 15
125tc 9 max burst = 150
126tc 9 update interval = 15
127tc 9 tailq th = 64
128
129tc 10 qdelay ref = 15
130tc 10 max burst = 150
131tc 10 update interval = 15
132tc 10 tailq th = 64
133
134tc 11 qdelay ref = 15
135tc 11 max burst = 150
136tc 11 update interval = 15
137tc 11 tailq th = 64
138
139tc 12 qdelay ref = 15
140tc 12 max burst = 150
141tc 12 update interval = 15
142tc 12 tailq th = 64
143