ÉCOLE POLYTECHNIQUE FÉDÉRALE DE LAUSANNE The Transport Layer: TCP and UDP ������������������� ��������� � Contents �� ���������������������������������������� �� �������!��"����������������# $� ���%�&������� '� (���(�����������#�� )� (&*������� +� (&*,��������� � 1
1. Error Recovery � -�����������,�%��"������������� %����� ������������������������������ %���� � -�����������������"����%��.�%��%������������ ��% ���������!���!������ �������-����������������� � The Philosophy of Errors in a Layered Model � (�����#��������#������������!������#�������"����/ �����������%�#�� ��!�����������������0�123�� -�"��!�����������#���������������"�������#�������������������� �������#� &���������� 4����#������2�5�&,�����������#��!�����12���������������� 4��������2� ≥ &,����#��12�����������6 � 0�123�7���/ &82��������������,�%����6 � 0�3� 9�������#9�/ ����. � 0�3�/ 0��/ ��3���. � 0��/ �3 � (���(&*8-*�������������� ������� 1���#���#��� ≥ ���""�������������"��� �����������������������#��:� ;<=� ���������������������%������������������������� � 1>�!���:� 4&���#�� ?�� 6�%���������1�������������������%�%������������������1�������� ?�� ?�� ?�� "��!���������!��������������������������������%��������"��!��� ���� ���������������%����&2&���������� �������!������� �"������� ?�����#����������1�����������������!��� ?� ?� ?� solution � 2
The Layered Model Transforms Errors into Packet Losses � *�������������������������� � (����"���,���������������!������� ���������� �����������������#� 4&� � (��������������������.���������"����� ��""�� ����"��%��������.������� "����%��.� ������.��� : ������� ���������� :������4��������������������� @������>�����������������!�#� ��������������"������"����������������� ��������� ������������������"���4����������.���� ?� .������!���>�!���� ?� ?� ?� ����!�����.������ ��������#����:�����#��������%�������� �����A��� solution �������������������������%������������ ��������������>��������� A R1 R2 B R2 B A R1 *� *� *� *� *� *� *� *� *� *� *$ *$ *� *� *' *$����!�����. *' *$ *' *$ *' *$����!�����. *' *$ *' *$ *$ *$ � The Case for End-to-end Error Recovery � (�����������.�!��������"����� �"����������������������.#��(��� ��#%������������ ��!���>��# :� (���(&*8-*���������������������������������!��������#���!�������!���� �������������6����#������������������#�!���������A����"������������� ��!��������� B����������!�!������!����"��!����������������#��������"��%��7�����!���� ���������.����������� B���������������������������������#�������������������!�������7�����!���� !�!��#���C����� -*���������!�#�"����%���������������,�������������!��������%���������#� �����������#�� 2����������#�$������"������������������������������2��"����������!������ 7 6 5 4 3 2 1 B R2 A R1 R4 R3 � 3
The Case for Hop-By-Hop Error Recovery � (����������������.�!��������"����� �"�������#�����������.#��(�� ��������������!,�%��%������������"����%��.�������� &������#��"���������������� :��������������������%�������������2������ ��������������������������������������������!��4���!������������������� ������������#,������������������������������������ ∈ D�,�E��(����������#���� 2 × 0���3��������8���� (����!���������������������,�"����>�!���,������������������ �8�������������������������������"� ��F�%�����������!���G� �8���"����"�������� (��������������������0*�23�����������������"��!��������������������0�123����"����%�,��"����� �����������������������������,������"���������"���������������.������������: *�2�9���/ 0��/ �123 � � The Capacity of the End-to-End Path � links A B R1 R1 R1 R1 R1 R1 Loss probability � � ���������%���!����������������#��"��������������������%��������� �������������#�������.����� 4���!������:���!�������������������������������H���!����!����������2�� ����������������������� ?� ��!����������������#�%�������������������%���������#����������� ?� ?� ?� �������#� solution � 4
Recommend
More recommend