1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
|
Network Working Group G. Armitage
Request for Comments: 3248 Swinburne University of Technology
Category: Informational B. Carpenter
IBM
A. Casati
Lucent Technologies
J. Crowcroft
University of Cambridge
J. Halpern
Consultant
B. Kumar
Corona Networks Inc.
J. Schnizlein
Cisco Systems
March 2002
A Delay Bound alternative revision of RFC 2598
Status of this Memo
This memo provides information for the Internet community. It does
not specify an Internet standard of any kind. Distribution of this
memo is unlimited.
Copyright Notice
Copyright (C) The Internet Society (2001). All Rights Reserved.
Abstract
For historical interest, this document captures the EF Design Team's
proposed solution, preferred by the original authors of RFC 2598 but
not adopted by the working group in December 2000. The original
definition of EF was based on comparison of forwarding on an unloaded
network. This experimental Delay Bound (DB) PHB requires a bound on
the delay of packets due to other traffic in the network. At the
Pittsburgh IETF meeting in August 2000, the Differentiated Services
working group faced serious questions regarding RFC 2598 - the
group's standards track definition of the Expedited Forwarding (EF)
Per Hop Behavior (PHB). An 'EF Design Team' volunteered to develop a
re-expression of RFC 2598, bearing in mind the issues raised in the
DiffServ group. At the San Diego IETF meeting in December 2000 the
DiffServ working group decided to pursue an alternative re-expression
of the EF PHB.
Armitage, et al. Informational [Page 1]
^L
RFC 3248 Delay Bound alternative revision of RFC 2598 March 2002
Specification of Requirements
This document is for Informational purposes only. If implementors
choose to experiment with the DB PHB, key words "MUST", "MUST NOT",
"REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT",
"RECOMMENDED", "MAY", and "OPTIONAL" are interpreted as described in
RFC 2119 [3].
1 Introduction
RFC 2598 was the Differentiated Services (DiffServ) working group's
first standards track definition of the Expedited Forwarding (EF) Per
Hop Behavior (PHB) [1]. As part of the DiffServ working group's
ongoing refinement of the EF PHB, various issues were raised with the
text in RFC 2598 [2].
After the Pittsburgh IETF meeting in August 2000, a volunteer 'EF
design team' was formed (the authors of this document) to propose a
new expression of the EF PHB. The remainder of this Informational
document captures our feedback to the DiffServ working group at the
San Diego IETF in December 2000. Our solution focussed on a Delay
Bound (DB) based re-expression of RFC 2598 which met the goals of RFC
2598's original authors. The DiffServ working group ultimately chose
an alternative re-expression of the EF PHB text, developed by the
authors of [2] and revised to additionally encompass our model
described here.
Our proposed Delay Bound solution is archived for historical
interest. Section 2 covers the minimum, necessary and sufficient
description of what we believed qualifies as 'DB' behavior from a
single node. Section 3 then discusses a number of issues and
assumptions made to support the definition in section 2.
2. Definition of Delay Bound forwarding
For a traffic stream not exceeding a particular configured rate, the
goal of the DB PHB is a strict bound on the delay variation of
packets through a hop.
This section will begin with the goals and necessary boundary
conditions for DB behavior, then provide a descriptive definition of
DB behavior itself, discuss what it means to conform to the DB
definition, and assign the experimental DB PHB code point.
Armitage, et al. Informational [Page 2]
^L
RFC 3248 Delay Bound alternative revision of RFC 2598 March 2002
2.1 Goal and Scope of DB
For a traffic stream not exceeding a configured rate the goal of the
DB PHB is a strict bound on the delay variation of packets through a
hop.
Traffic MUST be policed and/or shaped at the source edge (for
example, on ingress to the DS-domain as discussed in RFC 2475 [5]) in
order to get such a bound. However, specific policing and/or shaping
rules are outside the scope of the DB PHB definition. Such rules
MUST be defined in any per-domain behaviors (PDBs) composed from the
DB PHB.
A device (hop) delivers DB behavior to appropriately marked traffic
received on one or more interfaces (marking is specified in section
2.4). A device SHALL deliver the DB behavior on an interface to DB
marked traffic meeting (i.e. less than or equal) a certain arrival
rate limit R.
If more DB traffic arrives than is acceptable, the device is NOT
REQUIRED to deliver the DB behavior. However, although the original
source of DB traffic will be shaped, aggregation and upstream jitter
ensure that the traffic arriving at any given hop cannot be assumed
to be so shaped. Thus a DB implementation SHOULD have some tolerance
for burstiness - the ability to provide EF behavior even when the
arrival rate exceeds the rate limit R.
Different DB implementations are free to exhibit different tolerance
to burstiness. (Burstiness MAY be characterized in terms of the
number of back-to-back wire-rate packets to which the hop can deliver
DB behavior. However, since the goal of characterizing burstiness is
to allow useful comparison of DB implementations, vendors and users
of DB implementations MAY choose to utilize other burstiness
metrics.)
The DB PHB definition does NOT mandate or recommend any particular
method for achieving DB behavior. Rather, the DB PHB definition
identifies parameters that bound the operating range(s) over which an
implementation can deliver DB behavior. Implementors characterize
their implementations using these parameters, while network designers
and testers use these parameters to assess the utility of different
DB implementations.
2.2 Description of DB behavior
For simplicity the definition will be explained using an example
where traffic arrives on only one interface and is destined for
another (single) interface.
Armitage, et al. Informational [Page 3]
^L
RFC 3248 Delay Bound alternative revision of RFC 2598 March 2002
The crux of this definition is that the difference in time between
when a packet might have been delivered, and when it is delivered,
will never exceed a specifiable bound.
Given an acceptable (not exceeding arrival rate limit R) stream of DB
packets arriving on an interface:
There is a time sequence E(i) when these packets would be
delivered at the output interface in the absence of competing
traffic. That is, E(i) are the earliest times that the packets
could be delivered by the device.
In the presence of competing traffic, the packets will be delayed
to some later time D(i).
Competing traffic includes all DB traffic arriving at the device on
other ports, and all non-DB traffic arriving at the device on any
port.
DB is defined as the behavior which ensures, for all i, that:
D(i) - E(i) <= S * MTU/R.
MTU is the maximum transmission unit (packet size) of the output. R
is the arrival rate that the DB device is prepared to accept on this
interface.
Note that D(i) and E(i) simply refer to the times of what can be
thought of as "the same packet" under the two treatments (with and
without competing traffic).
The score, S, is a characteristic of the device at the rate, R, in
order to meet this defined bound. This score, preferably a small
constant, depends on the scheduling mechanism and configuration of
the device.
2.3 Conformance to DB behavior
An implementation need not conform to the DB specification over an
arbitrary range of parameter values. Instead, implementations MUST
specify the rates, R, and scores S, for which they claim conformance
with the DB definition in section 2.2, and the implementation-
specific configuration parameters needed to deliver conformant
behavior. An implementation SHOULD document the traffic burstiness
it can tolerate while still providing DB behavior.
Armitage, et al. Informational [Page 4]
^L
RFC 3248 Delay Bound alternative revision of RFC 2598 March 2002
The score, S, and configuration parameters depend on the
implementation error from an ideal scheduler. Discussion of the
ability of any particular scheduler to provide DB behavior, and the
conditions under which it might do so, is outside the scope of this
document.
The implementor MAY define additional constraints on the range of
configurations in which DB behavior is delivered. These constraints
MAY include limits on the total DB traffic across the device, or
total DB traffic targeted at a given interface from all inputs.
This document does not specify any requirements on DB
implementation's values for R, S, or tolerable burstiness. These
parameters will be bounded by real-world considerations such as the
actual network being designed and the desired PDB.
2.4 Marking for DB behavior
One or more DiffServ codepoint (DSCP) value may be used to indicate a
requirement for DB behavior [4].
By default we suggest an 'experimental' DSCP of 101111 be used to
indicate that DB PHB is required.
3. Discussion
This section discusses some issues that might not be immediately
obvious from the definition in section 2.
3.1 Mutability
Packets marked for DB PHB MAY be remarked at a DS domain boundary
only to other codepoints that satisfy the DB PHB. Packets marked for
DB PHBs SHOULD NOT be demoted or promoted to another PHB by a DS
domain.
3.2 Tunneling
When DB packets are tunneled, the tunneling packets must be marked as
DB.
3.3 Interaction with other PHBs
Other PHBs and PHB groups may be deployed in the same DS node or
domain with the DB PHB as long as the requirement of section 2 is
met.
Armitage, et al. Informational [Page 5]
^L
RFC 3248 Delay Bound alternative revision of RFC 2598 March 2002
3.4 Output Rate not specified
The definition of DB behavior given in section 2 is quite explicitly
given in terms of input rate R and output delay variation D(i) -
E(i). A scheduler's output rate does not need to be specified, since
(by design) it will be whatever is needed to achieve the target delay
variation bounds.
3.5 Jitter
Jitter is not the bounded parameter in DB behavior. Jitter can be
understood in a number of ways, for example the variability in
inter-packet times from one inter-packet interval to the next.
However, DB behavior aims to bound a related but different parameter
- the variation in delay between the time packets would depart in the
absence of competing traffic, E(i), and when they would depart in the
presence of competing traffic, D(i).
3.6 Multiple Inputs and/or Multiple Outputs
The definition of 'competing traffic' in section 2.2 covers both the
single input/single output case and the more general case where DB
traffic is converging on a single output port from multiple input
ports. When evaluating the ability of an DB device to offer DB
behavior to traffic arriving on one port, DB traffic arriving on
other ports is factored in as competing traffic.
When considering DB traffic from a single input that is leaving via
multiple ports, it is clear that the behavior is no worse than if all
of the traffic could be leaving through each one of those ports
individually (subject to limits on how much is permitted).
3.7 Fragmentation and Rate
Where an ingress link has an MTU higher than that of an egress link,
it is conceivable packets may be fragmented as they pass through a
Diffserv hop. However, the unpredictability of fragmentation is
significantly counter to the goal of providing controllable QoS.
Therefore we assume that fragmentation of DB packets is being avoided
(either through some form of Path MTU discovery, or configuration),
and does not need to be specifically considered in the DB behavior
definition.
Armitage, et al. Informational [Page 6]
^L
RFC 3248 Delay Bound alternative revision of RFC 2598 March 2002
3.8 Interference with other traffic
If the DB PHB is implemented by a mechanism that allows unlimited
preemption of other traffic (e.g., a priority queue), the
implementation MUST include some means to limit the damage DB traffic
could inflict on other traffic. This will be reflected in the DB
device's burst tolerance described in section 2.1.
3.9 Micro flow awareness
Some DB implementations may choose to provide queuing and scheduling
at a finer granularity, (for example, per micro flow), than is
indicated solely by the packet's DSCP. Such behavior is NOT
precluded by the DB PHB definition. However, such behavior is also
NOT part of the DB PHB definition. Implementors are free to
characterize and publicize the additional per micro flow capabilities
of their DB implementations as they see fit.
3.10 Arrival rate 'R'
In the absence of additional information, R is assumed to be limited
by the slowest interface on the device.
In addition, an DB device may be characterized by different values of
R for different traffic flow scenarios (for example, for traffic
aimed at different ports, total incoming R, and possibly total per
output port incoming R across all incoming interfaces).
4. IANA Considerations
This document suggests one experimental codepoint, 101111. Because
the DSCP is taken from the experimental code space, it may be re-used
by other experimental or informational DiffServ proposals.
5. Conclusion.
This document defines DB behavior in terms of a bound on delay
variation for traffic streams that are rate shaped on ingress to a DS
domain. Two parameters - capped arrival rate (R) and a 'score' (S),
are defined and related to the target delay variation bound. All
claims of DB 'conformance' for specific implementations of DB
behavior are made with respect to particular values for R, S, and the
implementation's ability to tolerate small amounts of burstiness in
the arriving DB traffic stream.
Armitage, et al. Informational [Page 7]
^L
RFC 3248 Delay Bound alternative revision of RFC 2598 March 2002
Security Considerations
To protect itself against denial of service attacks, the edge of a DS
domain MUST strictly police all DB marked packets to a rate
negotiated with the adjacent upstream domain (for example, some value
less than or equal to the capped arrival rate R). Packets in excess
of the negotiated rate MUST be dropped. If two adjacent domains have
not negotiated an DB rate, the downstream domain MUST use 0 as the
rate (i.e., drop all DB marked packets).
Since PDBs constructed from the DB PHB will require that the upstream
domain police and shape DB marked traffic to meet the rate negotiated
with the downstream domain, the downstream domain's policer should
never have to drop packets. Thus these drops (or a summary of these
drops) SHOULD be noted (e.g., via rate-limited SNMP traps) as
possible security violations or serious misconfiguration.
Overflow events on an DB queue MAY also be logged as indicating
possible denial of service attacks or serious network
misconfiguration.
Acknowledgments
This document is the product of the volunteer 'EF Resolve' design
team, building on the work of V. Jacobson, K. Nichols, K. Poduri [1]
and clarified through discussions with members of the DiffServ
working group (particularly the authors of [2]). Non-contentious
text (such as the use of DB with tunnels, the security
considerations, etc.) were drawn directly from equivalent text in RFC
2598.
Intellectual Properties Considerations
To establish whether any considerations apply to the idea expressed
in this document, readers are encouraged to review notices filed with
the IETF and stored at:
http://www.ietf.org/ipr.html
Armitage, et al. Informational [Page 8]
^L
RFC 3248 Delay Bound alternative revision of RFC 2598 March 2002
References
[1] Jacobson, V., Nichols, K. and K. Poduri, "An Expedited Forwarding
PHB", RFC 2598, June 1999.
[2] Davie, B., Charny, A., Baker, F., Bennett, J.C.R., Benson, K., Le
Boudec, J.Y., Chiu, A., Courtney, W., Davari, S., Firoiu, V.,
Kalmanek, C., Ramakrishnan, K. and D. Stiliadis, "An Expedited
Forwarding PHB (Per-Hop Behavior)", RFC 3246, March 2002.
[3] Bradner, S., "Key words for use in RFCs to Indicate Requirement
Levels", BCP 14, RFC 2119, March 1997.
[4] Nichols, K., Blake, S., Baker, F. and D. Black, "Definition of
the Differentiated Services Field (DS Field) in the IPv4 and IPv6
Headers", RFC 2474, December 1998.
[5] Black, D., Blake, S., Carlson, M., Davies, E., Wang, Z. and W.
Weiss, "An Architecture for Differentiated Services", RFC 2475,
December 1998.
Armitage, et al. Informational [Page 9]
^L
RFC 3248 Delay Bound alternative revision of RFC 2598 March 2002
Authors (volunteer EF Design Team members)
Grenville Armitage
Center for Advanced Internet Architectures
Swinburne University of Technology,
Melbourne, Australia
EMail: garmitage@swin.edu.au
Brian E. Carpenter (team observer, WG co-chair)
IBM Zurich Research Laboratory
Saeumerstrasse 4
8803 Rueschlikon
Switzerland
EMail: brian@hursley.ibm.com
Alessio Casati
Lucent Technologies
Swindon, WI SN5 7DJ United Kingdom
EMail: acasati@lucent.com
Jon Crowcroft
Marconi Professor of Communications Systems
University of Cambridge
Computer Laboratory
William Gates Building
J J Thomson Avenue
Cambridge
CB3 0FD
Phone: +44 (0)1223 763633
EMail: Jon.Crowcroft@cl.cam.ac.uk
Joel M. Halpern
P. O. Box 6049
Leesburg, VA 20178
Phone: 1-703-371-3043
EMail: jmh@joelhalpern.com
Brijesh Kumar
Corona Networks Inc.,
630 Alder Drive,
Milpitas, CA 95035
EMail: brijesh@coronanetworks.com
John Schnizlein
Cisco Systems
9123 Loughran Road
Fort Washington, MD 20744
EMail: john.schnizlein@cisco.com
Armitage, et al. Informational [Page 10]
^L
RFC 3248 Delay Bound alternative revision of RFC 2598 March 2002
Full Copyright Statement
Copyright (C) The Internet Society (2001). All Rights Reserved.
This document and translations of it may be copied and furnished to
others, and derivative works that comment on or otherwise explain it
or assist in its implementation may be prepared, copied, published
and distributed, in whole or in part, without restriction of any
kind, provided that the above copyright notice and this paragraph are
included on all such copies and derivative works. However, this
document itself may not be modified in any way, such as by removing
the copyright notice or references to the Internet Society or other
Internet organizations, except as needed for the purpose of
developing Internet standards in which case the procedures for
copyrights defined in the Internet Standards process must be
followed, or as required to translate it into languages other than
English.
The limited permissions granted above are perpetual and will not be
revoked by the Internet Society or its successors or assigns.
This document and the information contained herein is provided on an
"AS IS" basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING
TASK FORCE DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION
HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Acknowledgement
Funding for the RFC Editor function is currently provided by the
Internet Society.
Armitage, et al. Informational [Page 11]
^L
|