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 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509
|
<pre>Internet Engineering Task Force (IETF) G. Almes
Request for Comments: 7679 Texas A&M
STD: 81 S. Kalidindi
Obsoletes: <a href="./rfc2679">2679</a> Ixia
Category: Standards Track M. Zekauskas
ISSN: 2070-1721 Internet2
A. Morton, Ed.
AT&T Labs
January 2016
<span class="h1">A One-Way Delay Metric for IP Performance Metrics (IPPM)</span>
Abstract
This memo defines a metric for one-way delay of packets across
Internet paths. It builds on notions introduced and discussed in the
IP Performance Metrics (IPPM) Framework document, <a href="./rfc2330">RFC 2330</a>; the
reader is assumed to be familiar with that document. This memo makes
<a href="./rfc2679">RFC 2679</a> obsolete.
Status of This Memo
This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on
Internet Standards is available in <a href="./rfc5741#section-2">Section 2 of RFC 5741</a>.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
<a href="http://www.rfc-editor.org/info/rfc7679">http://www.rfc-editor.org/info/rfc7679</a>.
<span class="grey">Almes, et al. Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc7679">RFC 7679</a> A One-Way Delay Metric for IPPM January 2016</span>
Copyright Notice
Copyright (c) 2016 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
Provisions Relating to IETF Documents
(<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
<span class="grey">Almes, et al. Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc7679">RFC 7679</a> A One-Way Delay Metric for IPPM January 2016</span>
Table of Contents
<a href="#section-1">1</a>. Introduction ....................................................<a href="#page-4">4</a>
<a href="#section-1.1">1.1</a>. Motivation .................................................<a href="#page-4">4</a>
<a href="#section-2">2</a>. General Issues regarding Time ...................................<a href="#page-6">6</a>
<a href="#section-3">3</a>. A Singleton Definition for One-Way Delay ........................<a href="#page-7">7</a>
<a href="#section-3.1">3.1</a>. Metric Name ................................................<a href="#page-7">7</a>
<a href="#section-3.2">3.2</a>. Metric Parameters ..........................................<a href="#page-7">7</a>
<a href="#section-3.3">3.3</a>. Metric Units ...............................................<a href="#page-7">7</a>
<a href="#section-3.4">3.4</a>. Definition .................................................<a href="#page-7">7</a>
<a href="#section-3.5">3.5</a>. Discussion .................................................<a href="#page-8">8</a>
<a href="#section-3.6">3.6</a>. Methodologies ..............................................<a href="#page-9">9</a>
<a href="#section-3.7">3.7</a>. Errors and Uncertainties ..................................<a href="#page-10">10</a>
<a href="#section-3.7.1">3.7.1</a>. Errors or Uncertainties Related to Clocks ..........<a href="#page-10">10</a>
3.7.2. Errors or Uncertainties Related to Wire
Time vs. Host Time .................................<a href="#page-11">11</a>
<a href="#section-3.7.3">3.7.3</a>. Calibration of Errors and Uncertainties ............<a href="#page-12">12</a>
<a href="#section-3.8">3.8</a>. Reporting the Metric ......................................<a href="#page-14">14</a>
<a href="#section-3.8.1">3.8.1</a>. Type-P .............................................<a href="#page-14">14</a>
<a href="#section-3.8.2">3.8.2</a>. Loss Threshold .....................................<a href="#page-15">15</a>
<a href="#section-3.8.3">3.8.3</a>. Calibration Results ................................<a href="#page-15">15</a>
<a href="#section-3.8.4">3.8.4</a>. Path ...............................................<a href="#page-15">15</a>
<a href="#section-4">4</a>. A Definition for Samples of One-Way Delay ......................<a href="#page-15">15</a>
<a href="#section-4.1">4.1</a>. Metric Name ...............................................<a href="#page-16">16</a>
<a href="#section-4.2">4.2</a>. Metric Parameters .........................................<a href="#page-16">16</a>
<a href="#section-4.3">4.3</a>. Metric Units ..............................................<a href="#page-16">16</a>
<a href="#section-4.4">4.4</a>. Definition ................................................<a href="#page-17">17</a>
<a href="#section-4.5">4.5</a>. Discussion ................................................<a href="#page-17">17</a>
<a href="#section-4.6">4.6</a>. Methodologies .............................................<a href="#page-18">18</a>
<a href="#section-4.7">4.7</a>. Errors and Uncertainties ..................................<a href="#page-18">18</a>
<a href="#section-4.8">4.8</a>. Reporting the Metric ......................................<a href="#page-18">18</a>
<a href="#section-5">5</a>. Some Statistics Definitions for One-Way Delay ..................<a href="#page-18">18</a>
<a href="#section-5.1">5.1</a>. Type-P-One-way-Delay-Percentile ...........................<a href="#page-19">19</a>
<a href="#section-5.2">5.2</a>. Type-P-One-way-Delay-Median ...............................<a href="#page-19">19</a>
<a href="#section-5.3">5.3</a>. Type-P-One-way-Delay-Minimum ..............................<a href="#page-20">20</a>
<a href="#section-5.4">5.4</a>. Type-P-One-way-Delay-Inverse-Percentile ...................<a href="#page-20">20</a>
<a href="#section-6">6</a>. Security Considerations ........................................<a href="#page-21">21</a>
<a href="#section-7">7</a>. Changes from <a href="./rfc2679">RFC 2679</a> ..........................................<a href="#page-22">22</a>
<a href="#section-8">8</a>. References .....................................................<a href="#page-24">24</a>
<a href="#section-8.1">8.1</a>. Normative References ......................................<a href="#page-24">24</a>
<a href="#section-8.2">8.2</a>. Informative References ....................................<a href="#page-25">25</a>
Acknowledgements ..................................................<a href="#page-26">26</a>
Authors' Addresses ................................................<a href="#page-27">27</a>
<span class="grey">Almes, et al. Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc7679">RFC 7679</a> A One-Way Delay Metric for IPPM January 2016</span>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
This memo defines a metric for one-way delay of packets across
Internet paths. It builds on notions introduced and discussed in the
IPPM Framework document, [<a href="./rfc2330" title=""Framework for IP Performance Metrics"">RFC2330</a>]; the reader is assumed to be
familiar with that document and its recent update [<a href="./rfc7312" title=""Advanced Stream and Sampling Framework for IP Performance Metrics (IPPM)"">RFC7312</a>].
This memo is intended to be parallel in structure to a companion
document for Packet Loss ("A One-way Packet Loss Metric for IPPM")
[<a href="./rfc7680" title=""A One-Way Loss Metric for IP Performance Metrics (IPPM)"">RFC7680</a>].
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>]. Although
[<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>] was written with protocols in mind, the key words are used
in this document for similar reasons. They are used to ensure the
results of measurements from two different implementations are
comparable and to note instances when an implementation could perturb
the network.
Whenever a technical term from the IPPM Framework document is first
used in this memo, it will be tagged with a trailing asterisk. For
example, "term*" indicates that "term" is defined in the Framework
document.
The structure of the memo is as follows:
o A 'singleton*' analytic metric, called Type-P-One-way-Delay, will
be introduced to measure a single observation of one-way delay.
o Using this singleton metric, a 'sample*' called Type-P-One-way-
Delay-Poisson-Stream is introduced to measure a sequence of
singleton delays sent at times taken from a Poisson process,
defined in <a href="./rfc2330#section-11.1.1">Section 11.1.1 of [RFC2330]</a>.
o Using this sample, several 'statistics*' of the sample will be
defined and discussed. This progression from singleton to sample
to statistics, with clear separation among them, is important.
<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a>. Motivation</span>
Understanding one-way delay of a Type-P* packet from a source host*
to a destination host is useful for several reasons:
o Some applications do not perform well (or at all) if end-to-end
delay between hosts is large relative to some threshold value.
<span class="grey">Almes, et al. Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc7679">RFC 7679</a> A One-Way Delay Metric for IPPM January 2016</span>
o Erratic variation in delay makes it difficult (or impossible) to
support many real-time applications.
o The larger the value of delay, the more difficult it is for
transport-layer protocols to sustain high bandwidths.
o The minimum value of this metric provides an indication of the
delay due only to propagation and transmission delay.
o The minimum value of this metric provides an indication of the
delay that will likely be experienced when the path* traversed is
lightly loaded.
o Values of this metric above the minimum provide an indication of
the congestion present in the path.
The measurement of one-way delay instead of round-trip delay is
motivated by the following factors:
o In today's Internet, the path from a source to a destination may
be different than the path from the destination back to the source
("asymmetric paths"), such that different sequences of routers are
used for the forward and reverse paths. Therefore, round-trip
measurements actually measure the performance of two distinct
paths together. Measuring each path independently highlights the
performance difference between the two paths that may traverse
different Internet service providers and even radically different
types of networks (for example, research versus commodity
networks, or networks with asymmetric link capacities, or wireless
versus wireline access).
o Even when the two paths are symmetric, they may have radically
different performance characteristics due to asymmetric queuing.
o Performance of an application may depend mostly on the performance
in one direction. For example, a TCP-based communication will
experience reduced throughput if congestion occurs in one
direction of its communication. Troubleshooting may be simplified
if the congested direction of TCP transmission can be identified.
o In networks in which quality of service (QoS) is enabled,
provisioning in one direction may be radically different than
provisioning in the reverse direction and thus the QoS guarantees
differ. Measuring the paths independently allows the verification
of both guarantees.
It is outside the scope of this document to say precisely how delay
metrics would be applied to specific problems.
<span class="grey">Almes, et al. Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc7679">RFC 7679</a> A One-Way Delay Metric for IPPM January 2016</span>
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. General Issues regarding Time</span>
{Comment: The terminology below differs from that defined by ITU-T
documents (e.g., G.810, "Definitions and terminology for
synchronization networks" and I.356, "B-ISDN ATM layer cell transfer
performance") but is consistent with the IPPM Framework document. In
general, these differences derive from the different backgrounds; the
ITU-T documents historically have a telephony origin, while the
authors of this document (and the Framework document) have a computer
systems background. Although the terms defined below have no direct
equivalent in the ITU-T definitions, after our definitions we will
provide a rough mapping. However, note one potential confusion: our
definition of "clock" is the computer operating systems definition
denoting a time-of-day clock, while the ITU-T definition of clock
denotes a frequency reference.}
Whenever a time (i.e., a moment in history) is mentioned here, it is
understood to be measured in seconds (and fractions) relative to UTC.
As described more fully in the Framework document, there are four
distinct, but related notions of clock uncertainty:
synchronization*
measures the extent to which two clocks agree on what time it is.
For example, the clock on one host might be 5.4 msec ahead of the
clock on a second host. {Comment: A rough ITU-T equivalent is "time
error".}
accuracy*
measures the extent to which a given clock agrees with UTC. For
example, the clock on a host might be 27.1 msec behind UTC. {Comment:
A rough ITU-T equivalent is "time error from UTC".}
resolution*
specification of the smallest unit by which the clock's time is
updated. It gives a lower bound on the clock's uncertainty. For
example, the clock on an old Unix host might tick only once every 10
msec, and thus have a resolution of only 10 msec. {Comment: A very
rough ITU-T equivalent is "sampling period".}
skew*
measures the change of accuracy, or of synchronization, with time.
For example, the clock on a given host might gain 1.3 msec per hour
and thus be 27.1 msec behind UTC at one time and only 25.8 msec an
<span class="grey">Almes, et al. Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc7679">RFC 7679</a> A One-Way Delay Metric for IPPM January 2016</span>
hour later. In this case, we say that the clock of the given host
has a skew of 1.3 msec per hour relative to UTC, which threatens
accuracy. We might also speak of the skew of one clock relative to
another clock, which threatens synchronization. {Comment: A rough
ITU-T equivalent is "time drift".}
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. A Singleton Definition for One-Way Delay</span>
<span class="h3"><a class="selflink" id="section-3.1" href="#section-3.1">3.1</a>. Metric Name</span>
Type-P-One-way-Delay
<span class="h3"><a class="selflink" id="section-3.2" href="#section-3.2">3.2</a>. Metric Parameters</span>
o Src, the IP address of a host
o Dst, the IP address of a host
o T, a time
o Tmax, a loss threshold waiting time
<span class="h3"><a class="selflink" id="section-3.3" href="#section-3.3">3.3</a>. Metric Units</span>
The value of a Type-P-One-way-Delay is either a real number or an
undefined (informally, infinite) number of seconds.
<span class="h3"><a class="selflink" id="section-3.4" href="#section-3.4">3.4</a>. Definition</span>
For a real number dT, >>the *Type-P-One-way-Delay* from Src to Dst at
T is dT<< means that Src sent the first bit of a Type-P packet to Dst
at wire time* T and that Dst received the last bit of that packet at
wire time T+dT.
>>The *Type-P-One-way-Delay* from Src to Dst at T is undefined
(informally, infinite)<< means that Src sent the first bit of a
Type-P packet to Dst at wire time T and that Dst did not receive that
packet (within the loss threshold waiting time, Tmax).
Suggestions for what to report and metric values appear in
<a href="#section-3.8">Section 3.8</a> after a discussion of the metric, methodologies for
measuring the metric, and error analysis.
<span class="grey">Almes, et al. Standards Track [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc7679">RFC 7679</a> A One-Way Delay Metric for IPPM January 2016</span>
<span class="h3"><a class="selflink" id="section-3.5" href="#section-3.5">3.5</a>. Discussion</span>
Type-P-One-way-Delay is a relatively simple analytic metric, and one
that we believe will afford effective methods of measurement.
The following issues are likely to come up in practice:
o Real delay values will be positive. Therefore, it does not make
sense to report a negative value as a real delay. However, an
individual zero or negative delay value might be useful as part of
a stream when trying to discover a distribution of a stream of
delay values.
o Since delay values will often be as low as the 100 usec to 10 msec
range, it will be important for Src and Dst to synchronize very
closely. Global Positioning System (GPS) systems afford one way
to achieve synchronization to within several tens of usec.
Ordinary application of NTP may allow synchronization to within
several msec, but this depends on the stability and symmetry of
delay properties among those NTP agents used, and this delay is
what we are trying to measure. A combination of some GPS-based
NTP servers and a conservatively designed and deployed set of
other NTP servers should yield good results. This was tested in
[<a href="./rfc6808" title=""Test Plan and Results Supporting Advancement of RFC 2679 on the Standards Track"">RFC6808</a>], where a GPS measurement system's results compared well
with a GPS-based NTP synchronized system for the same
intercontinental path.
o A given methodology will have to include a way to determine
whether a delay value is infinite or whether it is merely very
large (and the packet is yet to arrive at Dst). As noted by
Mahdavi and Paxson [<a href="./rfc2678" title=""IPPM Metrics for Measuring Connectivity"">RFC2678</a>], simple upper bounds (such as the 255
seconds theoretical upper bound on the lifetimes of IP packets
[<a href="./rfc791" title=""Internet Protocol"">RFC791</a>]) could be used; but good engineering, including an
understanding of packet lifetimes, will be needed in practice.
{Comment: Note that, for many applications of these metrics, the
harm in treating a large delay as infinite might be zero or very
small. A TCP data packet, for example, that arrives only after
several multiples of the RTT may as well have been lost. See
<a href="./rfc6703#section-4.1.1">Section 4.1.1 of [RFC6703]</a> for examination of unusual packet
delays and application performance estimation.}
o If the packet is duplicated along the path (or paths) so that
multiple non-corrupt copies arrive at the destination, then the
packet is counted as received, and the first copy to arrive
determines the packet's one-way delay.
o If the packet is fragmented and if, for whatever reason,
reassembly does not occur, then the packet will be deemed lost.
<span class="grey">Almes, et al. Standards Track [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc7679">RFC 7679</a> A One-Way Delay Metric for IPPM January 2016</span>
o A given methodology will include a way to determine whether the
packet is standard-formed, the default criteria for all metric
definitions defined in <a href="./rfc2330#section-15">Section 15 of [RFC2330]</a>, otherwise the
packet will be deemed lost. Note: At this time, the definition of
standard-formed packets only applies to IPv4, but also see
[<a href="#ref-IPPM-UPDATES">IPPM-UPDATES</a>].
<span class="h3"><a class="selflink" id="section-3.6" href="#section-3.6">3.6</a>. Methodologies</span>
As with other Type-P-* metrics, the detailed methodology will depend
on the Type-P (e.g., protocol number, UDP/TCP port number, size,
Differentiated Services (DS) Field [<a href="./rfc2780" title=""IANA Allocation Guidelines For Values In the Internet Protocol and Related Headers"">RFC2780</a>]).
Generally, for a given Type-P, the methodology would proceed as
follows:
o Arrange that Src and Dst are synchronized; that is, that they have
clocks that are very closely synchronized with each other and each
fairly close to the actual time.
o At the Src host, select Src and Dst IP addresses, and form a test
packet of Type-P with these addresses. Any 'padding' portion of
the packet needed only to make the test packet a given size should
be filled with randomized bits to avoid a situation in which the
measured delay is lower than it would otherwise be, due to
compression techniques along the path. Also, see <a href="./rfc7312#section-3.1.2">Section 3.1.2 of
[RFC7312]</a>.
o At the Dst host, arrange to receive the packet.
o At the Src host, place a timestamp in the prepared Type-P packet,
and send it towards Dst (ideally minimizing time before sending).
o If the packet arrives within a reasonable period of time, take a
timestamp as soon as possible upon the receipt of the packet. By
subtracting the two timestamps, an estimate of one-way delay can
be computed. Error analysis of a given implementation of the
method must take into account the closeness of synchronization
between Src and Dst. If the delay between Src's timestamp and the
actual sending of the packet is known, then the estimate could be
adjusted by subtracting this amount; uncertainty in this value
must be taken into account in error analysis. Similarly, if the
delay between the actual receipt of the packet and Dst's timestamp
is known, then the estimate could be adjusted by subtracting this
amount; uncertainty in this value must be taken into account in
error analysis. See "Errors and Uncertainties" (<a href="#section-3.7">Section 3.7</a>) for
a more detailed discussion.
<span class="grey">Almes, et al. Standards Track [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc7679">RFC 7679</a> A One-Way Delay Metric for IPPM January 2016</span>
o If the packet fails to arrive within a reasonable period of time,
Tmax, the one-way delay is taken to be undefined (informally,
infinite). Note that the threshold of "reasonable" is a parameter
of the metric. These points are examined in detail in [<a href="./rfc6703" title=""Reporting IP Network Performance Metrics: Different Points of View"">RFC6703</a>],
including analysis preferences to assign undefined delay to
packets that fail to arrive with the difficulties emerging from
the informal "infinite delay" assignment, and an estimation of an
upper bound on waiting time for packets in transit. Further,
enforcing a specific constant waiting time on stored singletons of
one-way delay is compliant with this specification and may allow
the results to serve more than one reporting audience.
Issues such as the packet format, the means by which Dst knows when
to expect the test packet, and the means by which Src and Dst are
synchronized are outside the scope of this document. {Comment: We
plan to document the implementation techniques of our work in much
more detail elsewhere; we encourage others to do so as well.}
<span class="h3"><a class="selflink" id="section-3.7" href="#section-3.7">3.7</a>. Errors and Uncertainties</span>
The description of any specific measurement method should include an
accounting and analysis of various sources of error or uncertainty.
The Framework document provides general guidance on this point, but
we note here the following specifics related to delay metrics:
o Errors or uncertainties due to uncertainties in the clocks of the
Src and Dst hosts.
o Errors or uncertainties due to the difference between 'wire time'
and 'host time'.
In addition, the loss threshold may affect the results. Each of
these are discussed in more detail below, along with a section
(<a href="#section-3.7.3">Section 3.7.3</a>) on accounting for these errors and uncertainties.
<span class="h4"><a class="selflink" id="section-3.7.1" href="#section-3.7.1">3.7.1</a>. Errors or Uncertainties Related to Clocks</span>
The uncertainty in a measurement of one-way delay is related, in
part, to uncertainties in the clocks of the Src and Dst hosts. In
the following, we refer to the clock used to measure when the packet
was sent from Src as the source clock, we refer to the clock used to
measure when the packet was received by Dst as the destination clock,
we refer to the observed time when the packet was sent by the source
clock as Tsource, and we refer to the observed time when the packet
was received by the destination clock as Tdest. Alluding to the
notions of synchronization, accuracy, resolution, and skew mentioned
in the Introduction, we note the following:
<span class="grey">Almes, et al. Standards Track [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc7679">RFC 7679</a> A One-Way Delay Metric for IPPM January 2016</span>
o Any error in the synchronization between the source clock and the
destination clock will contribute to error in the delay
measurement. We say that the source clock and the destination
clock have a synchronization error of Tsynch if the source clock
is Tsynch ahead of the destination clock. Thus, if we know the
value of Tsynch exactly, we could correct for clock
synchronization by adding Tsynch to the uncorrected value of
Tdest-Tsource.
o The accuracy of a clock is important only in identifying the time
at which a given delay was measured. Accuracy, per se, has no
importance to the accuracy of the measurement of delay. When
computing delays, we are interested only in the differences
between clock values, not the values themselves.
o The resolution of a clock adds to uncertainty about any time
measured with it. Thus, if the source clock has a resolution of
10 msec, then this adds 10 msec of uncertainty to any time value
measured with it. We will denote the resolution of the source
clock and the destination clock as Rsource and Rdest,
respectively.
o The skew of a clock is not so much an additional issue as it is a
realization of the fact that Tsynch is itself a function of time.
Thus, if we attempt to measure or to bound Tsynch, this needs to
be done periodically. Over some periods of time, this function
can be approximated as a linear function plus some higher order
terms; in these cases, one option is to use knowledge of the
linear component to correct the clock. Using this correction, the
residual Tsynch is made smaller but remains a source of
uncertainty that must be accounted for. We use the function
Esynch(t) to denote an upper bound on the uncertainty in
synchronization. Thus, |Tsynch(t)| <= Esynch(t).
Taking these items together, we note that naive computation Tdest-
Tsource will be off by Tsynch(t) +/- (Rsource + Rdest). Using the
notion of Esynch(t), we note that these clock-related problems
introduce a total uncertainty of Esynch(t)+ Rsource + Rdest. This
estimate of total clock-related uncertainty should be included in the
error/uncertainty analysis of any measurement implementation.
<span class="h4"><a class="selflink" id="section-3.7.2" href="#section-3.7.2">3.7.2</a>. Errors or Uncertainties Related to Wire Time vs. Host Time</span>
As we have defined one-way delay, we would like to measure the time
between when the test packet leaves the network interface of Src and
when it (completely) arrives at the network interface of Dst: we
refer to these as "wire times." If the timings are themselves
performed by software on Src and Dst, however, then this software can
<span class="grey">Almes, et al. Standards Track [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc7679">RFC 7679</a> A One-Way Delay Metric for IPPM January 2016</span>
only directly measure the time between when Src grabs a timestamp
just prior to sending the test packet and when Dst grabs a timestamp
just after having received the test packet: we refer to these two
points as "host times".
We note that some systems perform host time stamping on the network-
interface hardware, in an attempt to minimize the difference from
wire times.
To the extent that the difference between wire time and host time is
accurately known, this knowledge can be used to correct for host time
measurements, and the corrected value more accurately estimates the
desired (wire-time) metric.
To the extent, however, that the difference between wire time and
host time is uncertain, this uncertainty must be accounted for in an
analysis of a given measurement method. We denote by Hsource an
upper bound on the uncertainty in the difference between wire time
and host time on the Src host, and similarly define Hdest for the Dst
host. We then note that these problems introduce a total uncertainty
of Hsource+Hdest. This estimate of total wire-vs-host uncertainty
should be included in the error/uncertainty analysis of any
measurement implementation.
<span class="h4"><a class="selflink" id="section-3.7.3" href="#section-3.7.3">3.7.3</a>. Calibration of Errors and Uncertainties</span>
Generally, the measured values can be decomposed as follows:
measured value = true value + systematic error + random error
If the systematic error (the constant bias in measured values) can be
determined, it can be compensated for in the reported results.
reported value = measured value - systematic error
therefore:
reported value = true value + random error
The goal of calibration is to determine the systematic and random
error generated by the hosts themselves in as much detail as
possible. At a minimum, a bound ("e") should be found such that the
reported value is in the range (true value - e) to (true value + e)
at least 95% of the time. We call "e" the calibration error for the
measurements. It represents the degree to which the values produced
by the measurement host are repeatable; that is, how closely an
actual delay of 30 ms is reported as 30 ms. {Comment: 95% was chosen
because (1) some confidence level is desirable to be able to remove
<span class="grey">Almes, et al. Standards Track [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc7679">RFC 7679</a> A One-Way Delay Metric for IPPM January 2016</span>
outliers, which will be found in measuring any physical property; (2)
a particular confidence level should be specified so that the results
of independent implementations can be compared; and (3) even with a
prototype user-level implementation, 95% was loose enough to exclude
outliers.}
From the discussion in the previous two sections, the error in
measurements could be bounded by determining all the individual
uncertainties, and adding them together to form:
Esynch(t) + Rsource + Rdest + Hsource + Hdest.
However, reasonable bounds on both the clock-related uncertainty
captured by the first three terms and the host-related uncertainty
captured by the last two terms should be possible by careful design
techniques and calibrating the hosts using a known, isolated network
in a lab.
For example, the clock-related uncertainties are greatly reduced
through the use of a GPS time source. The sum of Esynch(t) + Rsource
+ Rdest is small and is also bounded for the duration of the
measurement because of the global time source.
The host-related uncertainties, Hsource + Hdest, could be bounded by
connecting two hosts back-to-back with a high-speed serial link or
isolated LAN segment. In this case, repeated measurements are
measuring the same one-way delay.
If the test packets are small, such a network connection has a
minimal delay that may be approximated by zero. The measured delay
therefore contains only systematic and random error in the
measurement hosts. The "average value" of repeated measurements is
the systematic error, and the variation is the random error.
One way to compute the systematic error, and the random error to a
95% confidence is to repeat the experiment many times -- at least
hundreds of tests. The systematic error would then be the median.
The random error could then be found by removing the systematic error
from the measured values. The 95% confidence interval would be the
range from the 2.5th percentile to the 97.5th percentile of these
deviations from the true value. The calibration error "e" could then
be taken to be the largest absolute value of these two numbers, plus
the clock-related uncertainty. {Comment: as described, this bound is
relatively loose since the uncertainties are added, and the absolute
value of the largest deviation is used. As long as the resulting
value is not a significant fraction of the measured values, it is a
<span class="grey">Almes, et al. Standards Track [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc7679">RFC 7679</a> A One-Way Delay Metric for IPPM January 2016</span>
reasonable bound. If the resulting value is a significant fraction
of the measured values, then more exact methods will be needed to
compute the calibration error.}
Note that random error is a function of measurement load. For
example, if many paths will be measured by one host, this might
increase interrupts, process scheduling, and disk I/O (for example,
recording the measurements), all of which may increase the random
error in measured singletons. Therefore, in addition to minimal load
measurements to find the systematic error, calibration measurements
should be performed with the same measurement load that the hosts
will see in the field.
We wish to reiterate that this statistical treatment refers to the
calibration of the host; it is used to "calibrate the meter stick"
and say how well the meter stick reflects reality.
In addition to calibrating the hosts for finite one-way delay, two
checks should be made to ensure that packets reported as losses were
really lost. First, the threshold for loss should be verified. In
particular, ensure the "reasonable" threshold is reasonable: that it
is very unlikely a packet will arrive after the threshold value, and
therefore the number of packets lost over an interval is not
sensitive to the error bound on measurements. Second, consider the
possibility that a packet arrives at the network interface, but is
lost due to congestion on that interface or to other resource
exhaustion (e.g. buffers) in the host.
<span class="h3"><a class="selflink" id="section-3.8" href="#section-3.8">3.8</a>. Reporting the Metric</span>
The calibration and context in which the metric is measured MUST be
carefully considered and SHOULD always be reported along with metric
results. We now present four items to consider: the Type-P of test
packets, the threshold of infinite delay (if any), error calibration,
and the path traversed by the test packets. This list is not
exhaustive; any additional information that could be useful in
interpreting applications of the metrics should also be reported (see
[<a href="./rfc6703" title=""Reporting IP Network Performance Metrics: Different Points of View"">RFC6703</a>] for extensive discussion of reporting considerations for
different audiences).
<span class="h4"><a class="selflink" id="section-3.8.1" href="#section-3.8.1">3.8.1</a>. Type-P</span>
As noted in <a href="#section-13">Section 13</a> of the Framework document [<a href="./rfc2330" title=""Framework for IP Performance Metrics"">RFC2330</a>], the value
of the metric may depend on the type of IP packets used to make the
measurement, or "Type-P". The value of Type-P-One-way-Delay could
change if the protocol (UDP or TCP), port number, size, or
arrangement for special treatment (e.g., IP DS Field [<a href="./rfc2780" title=""IANA Allocation Guidelines For Values In the Internet Protocol and Related Headers"">RFC2780</a>],
Explicit Congestion Notification (ECN) [<a href="./rfc3168" title=""The Addition of Explicit Congestion Notification (ECN) to IP"">RFC3168</a>], or RSVP) changes.
<span class="grey">Almes, et al. Standards Track [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc7679">RFC 7679</a> A One-Way Delay Metric for IPPM January 2016</span>
Additional packet distinctions identified in future extensions of the
Type-P definition will apply. The exact Type-P used to make the
measurements MUST be accurately reported.
<span class="h4"><a class="selflink" id="section-3.8.2" href="#section-3.8.2">3.8.2</a>. Loss Threshold</span>
In addition, the threshold (or methodology to distinguish) between a
large finite delay and loss MUST be reported.
<span class="h4"><a class="selflink" id="section-3.8.3" href="#section-3.8.3">3.8.3</a>. Calibration Results</span>
o If the systematic error can be determined, it SHOULD be removed
from the measured values.
o You SHOULD also report the calibration error, e, such that the
true value is the reported value plus or minus e, with 95%
confidence (see the last section.)
o If possible, the conditions under which a test packet with finite
delay is reported as lost due to resource exhaustion on the
measurement host SHOULD be reported.
<span class="h4"><a class="selflink" id="section-3.8.4" href="#section-3.8.4">3.8.4</a>. Path</span>
Finally, the path traversed by the packet SHOULD be reported, if
possible. In general, it is impractical to know the precise path a
given packet takes through the network. The precise path may be
known for certain Type-P on short or stable paths. If Type-P
includes the record route (or loose-source route) option in the IP
header, and the path is short enough, and all routers* on the path
support record (or loose-source) route, then the path will be
precisely recorded. This is impractical because the route must be
short enough, many routers do not support (or are not configured for)
record route, and use of this feature would often artificially worsen
the performance observed by removing the packet from common-case
processing. However, partial information is still valuable context.
For example, if a host can choose between two links* (and hence, two
separate routes from Src to Dst), then the initial link used is
valuable context. {Comment: For example, with Merit's NetNow setup, a
Src on one Network Access Point (NAP) can reach a Dst on another NAP
by either of several different backbone networks.}
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. A Definition for Samples of One-Way Delay</span>
Given the singleton metric Type-P-One-way-Delay, we now define one
particular sample of such singletons. The idea of the sample is to
select a particular binding of the parameters Src, Dst, and Type-P,
then define a sample of values of parameter T. The means for
<span class="grey">Almes, et al. Standards Track [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc7679">RFC 7679</a> A One-Way Delay Metric for IPPM January 2016</span>
defining the values of T is to select a beginning time T0, a final
time Tf, and an average rate lambda, then define a pseudorandom
Poisson process of rate lambda, whose values fall between T0 and Tf.
The time interval between successive values of T will then average 1/
lambda.
Note that Poisson sampling is only one way of defining a sample.
Poisson has the advantage of limiting bias, but other methods of
sampling will be appropriate for different situations. For example,
a truncated Poisson distribution may be needed to avoid reactive
network state changes during intervals of inactivity, see <a href="./rfc7312#section-4.6">Section 4.6
of [RFC7312]</a>. Sometimes the goal is sampling with a known bias, and
[<a href="./rfc3432" title=""Network performance measurement with periodic streams"">RFC3432</a>] describes a method for periodic sampling with random start
times.
<span class="h3"><a class="selflink" id="section-4.1" href="#section-4.1">4.1</a>. Metric Name</span>
Type-P-One-way-Delay-Poisson-Stream
<span class="h3"><a class="selflink" id="section-4.2" href="#section-4.2">4.2</a>. Metric Parameters</span>
o Src, the IP address of a host
o Dst, the IP address of a host
o T0, a time
o Tf, a time
o Tmax, a loss threshold waiting time
o lambda, a rate in reciprocal seconds (or parameters for another
distribution)
<span class="h3"><a class="selflink" id="section-4.3" href="#section-4.3">4.3</a>. Metric Units</span>
A sequence of pairs; the elements of each pair are:
o T, a time, and
o dT, either a real number or an undefined number of seconds.
The values of T in the sequence are monotonic increasing. Note that
T would be a valid parameter to Type-P-One-way-Delay and that dT
would be a valid value of Type-P-One-way-Delay.
<span class="grey">Almes, et al. Standards Track [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc7679">RFC 7679</a> A One-Way Delay Metric for IPPM January 2016</span>
<span class="h3"><a class="selflink" id="section-4.4" href="#section-4.4">4.4</a>. Definition</span>
Given T0, Tf, and lambda, we compute a pseudorandom Poisson process
beginning at or before T0, with average arrival rate lambda, and
ending at or after Tf. Those time values greater than or equal to T0
and less than or equal to Tf are then selected. At each of the
selected times in this process, we obtain one value of Type-P-One-
way-Delay. The value of the sample is the sequence made up of the
resulting <time, delay> pairs. If there are no such pairs, the
sequence is of length zero and the sample is said to be empty.
<span class="h3"><a class="selflink" id="section-4.5" href="#section-4.5">4.5</a>. Discussion</span>
The reader should be familiar with the in-depth discussion of Poisson
sampling in the Framework document [<a href="./rfc2330" title=""Framework for IP Performance Metrics"">RFC2330</a>], which includes methods
to compute and verify the pseudorandom Poisson process.
We specifically do not constrain the value of lambda except to note
the extremes. If the rate is too large, then the measurement traffic
will perturb the network and itself cause congestion. If the rate is
too small, then you might not capture interesting network behavior.
{Comment: We expect to document our experiences with, and suggestions
for, lambda elsewhere, culminating in a "Best Current Practice"
document.}
Since a pseudorandom number sequence is employed, the sequence of
times, and hence the value of the sample, is not fully specified.
Pseudorandom number generators of good quality will be needed to
achieve the desired qualities.
The sample is defined in terms of a Poisson process both to avoid the
effects of self-synchronization and also capture a sample that is
statistically as unbiased as possible. {Comment: there is, of course,
no claim that real Internet traffic arrives according to a Poisson
arrival process.} The Poisson process is used to schedule the delay
measurements. The test packets will generally not arrive at Dst
according to a Poisson distribution, since they are influenced by the
network.
All the singleton Type-P-One-way-Delay metrics in the sequence will
have the same values of Src, Dst, and Type-P.
Note also that, given one sample that runs from T0 to Tf, and given
new time values T0' and Tf' such that T0 <= T0' <= Tf' <= Tf, the
subsequence of the given sample whose time values fall between T0'
and Tf' are also a valid Type-P-One-way-Delay-Poisson-Stream sample.
<span class="grey">Almes, et al. Standards Track [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc7679">RFC 7679</a> A One-Way Delay Metric for IPPM January 2016</span>
<span class="h3"><a class="selflink" id="section-4.6" href="#section-4.6">4.6</a>. Methodologies</span>
The methodologies follow directly from:
o The selection of specific times using the specified Poisson
arrival process, and
o The methodologies discussion already given for the singleton Type-
P-One-way-Delay metric.
Care must be given to correctly handle out-of-order arrival of test
packets; it is possible that the Src could send one test packet at
TS[i], then send a second one (later) at TS[i+1] while the Dst could
receive the second test packet at TR[i+1], and then receive the first
one (later) at TR[i]. Metrics for reordering may be found in
[<a href="./rfc4737" title=""Packet Reordering Metrics"">RFC4737</a>].
<span class="h3"><a class="selflink" id="section-4.7" href="#section-4.7">4.7</a>. Errors and Uncertainties</span>
In addition to sources of errors and uncertainties associated with
methods employed to measure the singleton values that make up the
sample, care must be given to analyze the accuracy of the Poisson
process with respect to the wire times of the sending of the test
packets. Problems with this process could be caused by several
things, including problems with the pseudorandom number techniques
used to generate the Poisson arrival process, or with jitter in the
value of Hsource (mentioned above as uncertainty in the singleton
delay metric). The Framework document shows how to use the Anderson-
Darling test to verify the accuracy of a Poisson process over small
time frames. {Comment: The goal is to ensure that test packets are
sent "close enough" to a Poisson schedule and avoid periodic
behavior.}
<span class="h3"><a class="selflink" id="section-4.8" href="#section-4.8">4.8</a>. Reporting the Metric</span>
The calibration and context for the underlying singletons MUST be
reported along with the stream. (See "Reporting the Metric" for
Type-P-One-way-Delay in <a href="#section-3.8">Section 3.8</a>.)
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. Some Statistics Definitions for One-Way Delay</span>
Given the sample metric Type-P-One-way-Delay-Poisson-Stream, we now
offer several statistics of that sample. These statistics are
offered mostly to illustrate what could be done. See [<a href="./rfc6703" title=""Reporting IP Network Performance Metrics: Different Points of View"">RFC6703</a>] for
additional discussion of statistics that are relevant to different
audiences.
<span class="grey">Almes, et al. Standards Track [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc7679">RFC 7679</a> A One-Way Delay Metric for IPPM January 2016</span>
<span class="h3"><a class="selflink" id="section-5.1" href="#section-5.1">5.1</a>. Type-P-One-way-Delay-Percentile</span>
Given a Type-P-One-way-Delay-Poisson-Stream and a percent X between
0% and 100%, the Xth percentile of all the dT values in the stream.
In computing this percentile, undefined values are treated as
infinitely large. Note that this means that the percentile could
thus be undefined (informally, infinite). In addition, the Type-P-
One-way-Delay-Percentile is undefined if the sample is empty.
For example: suppose we take a sample and the results are as follows:
Stream1 = <
<T1, 100 msec>
<T2, 110 msec>
<T3, undefined>
<T4, 90 msec>
<T5, 500 msec>
>
Then, the 50th percentile would be 110 msec, since 90 msec and 100
msec are smaller and 500 msec and 'undefined' are larger. See
<a href="./rfc2330#section-11.3">Section 11.3 of [RFC2330]</a> for computing percentiles.
Note that if the possibility that a packet with finite delay is
reported as lost is significant, then a high percentile (90th or
95th) might be reported as infinite instead of finite.
<span class="h3"><a class="selflink" id="section-5.2" href="#section-5.2">5.2</a>. Type-P-One-way-Delay-Median</span>
Given a Type-P-One-way-Delay-Poisson-Stream, the median of all the dT
values in the stream. In computing the median, undefined values are
treated as infinitely large. As with Type-P-One-way-Delay-
Percentile, Type-P-One-way-Delay-Median is undefined if the sample is
empty.
As noted in the Framework document, the median differs from the 50th
percentile only when the sample contains an even number of values, in
which case the mean of the two central values is used.
<span class="grey">Almes, et al. Standards Track [Page 19]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-20" ></span>
<span class="grey"><a href="./rfc7679">RFC 7679</a> A One-Way Delay Metric for IPPM January 2016</span>
For example, suppose we take a sample and the results are as follows:
Stream2 = <
<T1, 100 msec>
<T2, 110 msec>
<T3, undefined>
<T4, 90 msec>
>
Then, the median would be 105 msec, the mean of 100 msec and 110
msec, the two central values.
<span class="h3"><a class="selflink" id="section-5.3" href="#section-5.3">5.3</a>. Type-P-One-way-Delay-Minimum</span>
Given a Type-P-One-way-Delay-Poisson-Stream, the minimum of all the
dT values in the stream. In computing this, undefined values are
treated as infinitely large. Note that this means that the minimum
could thus be undefined (informally, infinite) if all the dT values
are undefined. In addition, the Type-P-One-way-Delay-Minimum is
undefined if the sample is empty.
In the above example, the minimum would be 90 msec.
<span class="h3"><a class="selflink" id="section-5.4" href="#section-5.4">5.4</a>. Type-P-One-way-Delay-Inverse-Percentile</span>
Note: This statistic is deprecated in this document because of lack
of use.
Given a Type-P-One-way-Delay-Poisson-Stream and a time duration
threshold, the fraction of all the dT values in the stream less than
or equal to the threshold. The result could be as low as 0% (if all
the dT values exceed threshold) or as high as 100%. Type-P-One-way-
Delay-Inverse-Percentile is undefined if the sample is empty.
In the above example, the Inverse-Percentile of 103 msec would be
50%.
<span class="grey">Almes, et al. Standards Track [Page 20]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-21" ></span>
<span class="grey"><a href="./rfc7679">RFC 7679</a> A One-Way Delay Metric for IPPM January 2016</span>
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Security Considerations</span>
Conducting Internet measurements raises both security and privacy
concerns. This memo does not specify an implementation of the
metrics, so it does not directly affect the security of the Internet
nor of applications that run on the Internet. However,
implementations of these metrics must be mindful of security and
privacy concerns.
There are two types of security concerns: potential harm caused by
the measurements and potential harm to the measurements. The
measurements could cause harm because they are active and inject
packets into the network. The measurement parameters MUST be
carefully selected so that the measurements inject trivial amounts of
additional traffic into the networks they measure. If they inject
"too much" traffic, they can skew the results of the measurement and
in extreme cases cause congestion and denial of service.
The measurements themselves could be harmed by routers giving
measurement traffic a different priority than "normal" traffic or by
an attacker injecting artificial measurement traffic. If routers can
recognize measurement traffic and treat it separately, the
measurements will not reflect actual user traffic. Therefore, the
measurement methodologies SHOULD include appropriate techniques to
reduce the probability that measurement traffic can be distinguished
from "normal" traffic.
If an attacker injects packets emulating traffic that are accepted as
legitimate, the loss ratio or other measured values could be
corrupted. Authentication techniques, such as digital signatures,
may be used where appropriate to guard against injected traffic
attacks.
When considering privacy of those involved in measurement or those
whose traffic is measured, the sensitive information available to
potential observers is greatly reduced when using active techniques
that are within this scope of work. Passive observations of user
traffic for measurement purposes raise many privacy issues. We refer
the reader to the privacy considerations described in the Large Scale
Measurement of Broadband Performance (LMAP) Framework [<a href="./rfc7594" title=""A Framework for Large-Scale Measurement of Broadband Performance (LMAP)"">RFC7594</a>],
which covers active and passive techniques.
Collecting measurements or using measurement results for
reconnaissance to assist in subsequent system attacks is quite
common. Access to measurement results, or control of the measurement
systems to perform reconnaissance should be guarded against. See
<span class="grey">Almes, et al. Standards Track [Page 21]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-22" ></span>
<span class="grey"><a href="./rfc7679">RFC 7679</a> A One-Way Delay Metric for IPPM January 2016</span>
<a href="./rfc7594#section-7">Section 7 of [RFC7594]</a> (Security Considerations of the LMAP
Framework) for system requirements that help to avoid measurement
system compromise.
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. Changes from <a href="./rfc2679">RFC 2679</a></span>
The text above constitutes a revision to <a href="./rfc2769">RFC 2769</a>, which is now an
Internet Standard. This section tracks the changes from [<a href="./rfc2679" title=""A One-way Delay Metric for IPPM"">RFC2679</a>].
[<a id="ref-RFC6808">RFC6808</a>] provides the test plan and results supporting [<a href="./rfc2679" title=""A One-way Delay Metric for IPPM"">RFC2679</a>]
advancement along the Standards Track, according to the process in
[<a href="./rfc6576" title=""IP Performance Metrics (IPPM) Standard Advancement Testing"">RFC6576</a>]. The conclusions of [<a href="./rfc6808" title=""Test Plan and Results Supporting Advancement of RFC 2679 on the Standards Track"">RFC6808</a>] list four minor
modifications:
1. <a href="./rfc6808#section-6.2.3">Section 6.2.3 of [RFC6808]</a> asserts that the assumption of post-
processing to enforce a constant waiting time threshold is
compliant and that the text of the RFC should be revised slightly
to include this point. The applicability of post-processing was
added in the last list item of <a href="#section-3.6">Section 3.6</a>.
2. <a href="./rfc6808#section-6.5">Section 6.5 of [RFC6808]</a> indicates that the Type-P-One-way-Delay-
Inverse-Percentile statistic has been ignored in both
implementations, so it was a candidate for removal or deprecation
in this document (this small discrepancy does not affect
candidacy for advancement). This statistic was deprecated in
<a href="#section-5.4">Section 5.4</a>.
3. The IETF has reached consensus on guidance for reporting metrics
in [<a href="./rfc6703" title=""Reporting IP Network Performance Metrics: Different Points of View"">RFC6703</a>], and the memo is referenced in this document to
incorporate recent experience where appropriate. This reference
was added in the last list item of <a href="#section-3.6">Section 3.6</a>, <a href="#section-3.8">Section 3.8</a>, and
in <a href="#section-5">Section 5</a>.
4. There is currently one erratum with status "Held for Document
Update" (EID 398) for [<a href="./rfc2679" title=""A One-way Delay Metric for IPPM"">RFC2679</a>], and this minor revision and
additional text was incorporated in this document in <a href="#section-5.1">Section 5.1</a>.
A number of updates to the [<a href="./rfc2679" title=""A One-way Delay Metric for IPPM"">RFC2679</a>] text have been implemented in
the text above to reference key IPPM RFCs that were approved after
[<a href="./rfc2679" title=""A One-way Delay Metric for IPPM"">RFC2679</a>] and to address comments on the IPPM mailing list describing
current conditions and experience.
1. Near the end of <a href="#section-1.1">Section 1.1</a>, there is an update of a network
example using ATM, a clarification of TCP's affect on queue
occupation, and discussion of the importance of one-way delay
measurement.
<span class="grey">Almes, et al. Standards Track [Page 22]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-23" ></span>
<span class="grey"><a href="./rfc7679">RFC 7679</a> A One-Way Delay Metric for IPPM January 2016</span>
2. Explicit inclusion of the maximum waiting time input parameter
in Sections <a href="#section-3.2">3.2</a> and <a href="#section-4.2">4.2</a>, reflecting recognition of this
parameter in more recent RFCs and ITU-T Recommendation Y.1540.
3. Addition of a reference to <a href="./rfc6703">RFC 6703</a> in the discussion of packet
lifetime and application timeouts in <a href="#section-3.5">Section 3.5</a>.
4. Addition of a reference to the default requirement (that packets
be standard-formed) from <a href="./rfc2330">RFC 2330</a> as a new list item in
<a href="#section-3.5">Section 3.5</a>.
5. GPS-based NTP experience replaces "to be tested" in <a href="#section-3.5">Section 3.5</a>.
6. Replaced "precedence" with updated terminology (DS Field) in
Sections <a href="#section-3.6">3.6</a> and <a href="#section-3.8.1">3.8.1</a>(with reference).
7. Added parenthetical guidance on minimizing the interval between
timestamp placement to send time in <a href="#section-3.6">Section 3.6</a>.
8. <a href="#section-3.7.2">Section 3.7.2</a> notes that some current systems perform host time
stamping on the network-interface hardware.
9. "instrument" replaced by the defined term "host" in
<a href="#section-3.7.3">Section 3.7.3</a> and <a href="#section-3.8.3">Section 3.8.3</a>.
10. Added reference to <a href="./rfc3432">RFC 3432</a> regarding periodic sampling
alongside Poisson sampling in <a href="#section-4">Section 4</a> and also noted that a
truncated Poisson distribution may be needed with modern
networks as described in the IPPM Framework update [<a href="./rfc7312" title=""Advanced Stream and Sampling Framework for IP Performance Metrics (IPPM)"">RFC7312</a>].
11. Added a reference to <a href="./rfc4737">RFC 4737</a> regarding reordering metrics in
the related discussion of "Methodologies (<a href="#section-4.6">Section 4.6</a>).
12. Modified the formatting of the example in <a href="#section-5.1">Section 5.1</a> to match
the original (issue with conversion to XML in this version).
13. Clarified the conclusions on two related points on harm to
measurements (recognition of measurement traffic for unexpected
priority treatment and attacker traffic which emulates
measurement) in "Security Considerations (<a href="#section-6">Section 6</a>).
14. Expanded and updated the material on Privacy and added cautions
on the use of measurements for reconnaissance in "Security
Considerations" (<a href="#section-6">Section 6</a>).
<a href="./rfc6390#section-5.4.4">Section 5.4.4 of [RFC6390]</a> suggests a common template for performance
metrics partially derived from previous IPPM and Benchmarking
Methodology Working Group (BMWG) RFCs, but it also contains some new
<span class="grey">Almes, et al. Standards Track [Page 23]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-24" ></span>
<span class="grey"><a href="./rfc7679">RFC 7679</a> A One-Way Delay Metric for IPPM January 2016</span>
items. All of the normative parts of [<a href="./rfc6390" title=""Guidelines for Considering New Performance Metric Development"">RFC6390</a>] are covered, but not
quite in the same section names or orientation. Several of the
informative parts are covered. Maintaining the familiar outline of
IPPM literature has both value and minimizes unnecessary differences
between this revised RFC and current/future IPPM RFCs.
The publication of [<a href="./rfc6921" title=""Design Considerations for Faster-Than-Light (FTL) Communication"">RFC6921</a>] suggested an area where this memo might
need updating. Packet transfer on Faster-Than-Light (FTL) networks
could result in negative delays and packet reordering; however, both
are covered as possibilities in the current text and no revisions are
deemed necessary (we also note that [<a href="./rfc6921" title=""Design Considerations for Faster-Than-Light (FTL) Communication"">RFC6921</a>] is an April 1st RFC).
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. References</span>
<span class="h3"><a class="selflink" id="section-8.1" href="#section-8.1">8.1</a>. Normative References</span>
[<a id="ref-RFC791">RFC791</a>] Postel, J., "Internet Protocol", STD 5, <a href="./rfc791">RFC 791</a>,
DOI 10.17487/RFC0791, September 1981,
<<a href="http://www.rfc-editor.org/info/rfc791">http://www.rfc-editor.org/info/rfc791</a>>.
[<a id="ref-RFC2119">RFC2119</a>] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>,
DOI 10.17487/RFC2119, March 1997,
<<a href="http://www.rfc-editor.org/info/rfc2119">http://www.rfc-editor.org/info/rfc2119</a>>.
[<a id="ref-RFC2330">RFC2330</a>] Paxson, V., Almes, G., Mahdavi, J., and M. Mathis,
"Framework for IP Performance Metrics", <a href="./rfc2330">RFC 2330</a>,
DOI 10.17487/RFC2330, May 1998,
<<a href="http://www.rfc-editor.org/info/rfc2330">http://www.rfc-editor.org/info/rfc2330</a>>.
[<a id="ref-RFC2678">RFC2678</a>] Mahdavi, J. and V. Paxson, "IPPM Metrics for Measuring
Connectivity", <a href="./rfc2678">RFC 2678</a>, DOI 10.17487/RFC2678, September
1999, <<a href="http://www.rfc-editor.org/info/rfc2678">http://www.rfc-editor.org/info/rfc2678</a>>.
[<a id="ref-RFC2679">RFC2679</a>] Almes, G., Kalidindi, S., and M. Zekauskas, "A One-way
Delay Metric for IPPM", <a href="./rfc2679">RFC 2679</a>, DOI 10.17487/RFC2679,
September 1999, <<a href="http://www.rfc-editor.org/info/rfc2679">http://www.rfc-editor.org/info/rfc2679</a>>.
[<a id="ref-RFC2780">RFC2780</a>] Bradner, S. and V. Paxson, "IANA Allocation Guidelines For
Values In the Internet Protocol and Related Headers",
<a href="https://www.rfc-editor.org/bcp/bcp37">BCP 37</a>, <a href="./rfc2780">RFC 2780</a>, DOI 10.17487/RFC2780, March 2000,
<<a href="http://www.rfc-editor.org/info/rfc2780">http://www.rfc-editor.org/info/rfc2780</a>>.
[<a id="ref-RFC3432">RFC3432</a>] Raisanen, V., Grotefeld, G., and A. Morton, "Network
performance measurement with periodic streams", <a href="./rfc3432">RFC 3432</a>,
DOI 10.17487/RFC3432, November 2002,
<<a href="http://www.rfc-editor.org/info/rfc3432">http://www.rfc-editor.org/info/rfc3432</a>>.
<span class="grey">Almes, et al. Standards Track [Page 24]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-25" ></span>
<span class="grey"><a href="./rfc7679">RFC 7679</a> A One-Way Delay Metric for IPPM January 2016</span>
[<a id="ref-RFC6576">RFC6576</a>] Geib, R., Ed., Morton, A., Fardid, R., and A. Steinmitz,
"IP Performance Metrics (IPPM) Standard Advancement
Testing", <a href="https://www.rfc-editor.org/bcp/bcp176">BCP 176</a>, <a href="./rfc6576">RFC 6576</a>, DOI 10.17487/RFC6576, March
2012, <<a href="http://www.rfc-editor.org/info/rfc6576">http://www.rfc-editor.org/info/rfc6576</a>>.
[<a id="ref-RFC7312">RFC7312</a>] Fabini, J. and A. Morton, "Advanced Stream and Sampling
Framework for IP Performance Metrics (IPPM)", <a href="./rfc7312">RFC 7312</a>,
DOI 10.17487/RFC7312, August 2014,
<<a href="http://www.rfc-editor.org/info/rfc7312">http://www.rfc-editor.org/info/rfc7312</a>>.
[<a id="ref-RFC7680">RFC7680</a>] Almes, G., Kalidini, S., Zekauskas, M., and A. Morton,
Ed., "A One-Way Loss Metric for IP Performance Metrics
(IPPM)", <a href="./rfc7680">RFC 7680</a>, DOI 10.17487/RFC7680, January 2016,
<<a href="http://www.rfc-editor.org/info/rfc7680">http://www.rfc-editor.org/info/rfc7680</a>>.
<span class="h3"><a class="selflink" id="section-8.2" href="#section-8.2">8.2</a>. Informative References</span>
[<a id="ref-IPPM-UPDATES">IPPM-UPDATES</a>]
Morton, A., Fabini, J., Elkins, N., Ackermann, M., and V.
Hegde, "Updates for IPPM's Active Metric Framework:
Packets of Type-P and Standard-Formed Packets", Work in
Progress, <a href="./draft-morton-ippm-2330-stdform-typep-02">draft-morton-ippm-2330-stdform-typep-02</a>,
December 2015.
[<a id="ref-RFC3168">RFC3168</a>] Ramakrishnan, K., Floyd, S., and D. Black, "The Addition
of Explicit Congestion Notification (ECN) to IP",
<a href="./rfc3168">RFC 3168</a>, DOI 10.17487/RFC3168, September 2001,
<<a href="http://www.rfc-editor.org/info/rfc3168">http://www.rfc-editor.org/info/rfc3168</a>>.
[<a id="ref-RFC4737">RFC4737</a>] Morton, A., Ciavattone, L., Ramachandran, G., Shalunov,
S., and J. Perser, "Packet Reordering Metrics", <a href="./rfc4737">RFC 4737</a>,
DOI 10.17487/RFC4737, November 2006,
<<a href="http://www.rfc-editor.org/info/rfc4737">http://www.rfc-editor.org/info/rfc4737</a>>.
[<a id="ref-RFC6390">RFC6390</a>] Clark, A. and B. Claise, "Guidelines for Considering New
Performance Metric Development", <a href="https://www.rfc-editor.org/bcp/bcp170">BCP 170</a>, <a href="./rfc6390">RFC 6390</a>,
DOI 10.17487/RFC6390, October 2011,
<<a href="http://www.rfc-editor.org/info/rfc6390">http://www.rfc-editor.org/info/rfc6390</a>>.
[<a id="ref-RFC6703">RFC6703</a>] Morton, A., Ramachandran, G., and G. Maguluri, "Reporting
IP Network Performance Metrics: Different Points of View",
<a href="./rfc6703">RFC 6703</a>, DOI 10.17487/RFC6703, August 2012,
<<a href="http://www.rfc-editor.org/info/rfc6703">http://www.rfc-editor.org/info/rfc6703</a>>.
[<a id="ref-RFC6808">RFC6808</a>] Ciavattone, L., Geib, R., Morton, A., and M. Wieser, "Test
Plan and Results Supporting Advancement of <a href="./rfc2679">RFC 2679</a> on the
Standards Track", <a href="./rfc6808">RFC 6808</a>, DOI 10.17487/RFC6808, December
2012, <<a href="http://www.rfc-editor.org/info/rfc6808">http://www.rfc-editor.org/info/rfc6808</a>>.
<span class="grey">Almes, et al. Standards Track [Page 25]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-26" ></span>
<span class="grey"><a href="./rfc7679">RFC 7679</a> A One-Way Delay Metric for IPPM January 2016</span>
[<a id="ref-RFC6921">RFC6921</a>] Hinden, R., "Design Considerations for Faster-Than-Light
(FTL) Communication", <a href="./rfc6921">RFC 6921</a>, DOI 10.17487/RFC6921,
April 2013, <<a href="http://www.rfc-editor.org/info/rfc6921">http://www.rfc-editor.org/info/rfc6921</a>>.
[<a id="ref-RFC7594">RFC7594</a>] Eardley, P., Morton, A., Bagnulo, M., Burbridge, T.,
Aitken, P., and A. Akhter, "A Framework for Large-Scale
Measurement of Broadband Performance (LMAP)", <a href="./rfc7594">RFC 7594</a>,
DOI 10.17487/RFC7594, September 2015,
<<a href="http://www.rfc-editor.org/info/rfc7594">http://www.rfc-editor.org/info/rfc7594</a>>.
Acknowledgements
For [<a href="./rfc2679" title=""A One-way Delay Metric for IPPM"">RFC2679</a>], special thanks are due to Vern Paxson of Lawrence
Berkeley Labs for his helpful comments on issues of clock uncertainty
and statistics. Thanks also to Garry Couch, Will Leland, Andy
Scherrer, Sean Shapira, and Roland Wittig for several useful
suggestions.
For this document, thanks to Joachim Fabini, Ruediger Geib, Nalini
Elkins, and Barry Constantine for sharing their measurement
experience as part of their careful reviews. Brian Carpenter and
Scott Bradner provided useful feedback at IETF Last Call.
<span class="grey">Almes, et al. Standards Track [Page 26]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-27" ></span>
<span class="grey"><a href="./rfc7679">RFC 7679</a> A One-Way Delay Metric for IPPM January 2016</span>
Authors' Addresses
Guy Almes
Texas A&M
Email: almes@acm.org
Sunil Kalidindi
Ixia
Email: skalidindi@ixiacom.com
Matt Zekauskas
Internet2
Email: matt@internet2.edu
Al Morton (editor)
AT&T Labs
200 Laurel Avenue South
Middletown, NJ 07748
United States
Phone: +1 732 420 1571
Fax: +1 732 368 1192
Email: acmorton@att.com
URI: <a href="http://home.comcast.net/~acmacm/">http://home.comcast.net/~acmacm/</a>
Almes, et al. Standards Track [Page 27]
</pre>
|