Lecture 2: 1st October 2019 Flashcards
Network QoS
What does it mean for a network service to be best-effort?
Best effort refers to a network service that attempts to deliver messages to their intended destinations but which does not provide any special features that retransmit corrupted or lost packets. Thus, there are no guarantees regarding delivery. It does not provide any guarantee that data is delivered or that delivery meets any quality of service. An analogy can be made to the postal service.
What are the consequences of the simplicity of IP?
It is best-effort: can’t guarantee packets will be delivered, nor any QoS on the IP network (Internet).
What is an autonomous system?
A network or a collection of networks that are all managed and supervised by a single entity or organization. They use a single routing mechanism to connect to the Internet.
What is the Internet?
A global system of interconnected computer networks that use the Internet protocol suite (TCP/IP) to link end-user devices.
What is a transit network?
A transit network is a network that bridges a connection between two other networks, as well as passes traffic for its own network.
What is a transit AS?
Essentially an AS that acts as a transit network for two or more other ASes. An AS that provides connections through itself to other networks. That is, network A can use network B, the transit AS, to connect to network C. If one AS is an ISP for another, then it is considered a transit AS. An example would be a backbone provider.
What is a distribution network?
Computer networks in the Internet which sit between the core network and access networks. They have a low level of multiplexing and more traffic than in access networks, towards the network edge, and less than the core network. They act to make content and services available to end users.
What is the Internet’s core network?
Backbone infrastructure which acts to route IP packets across the Internet. It is composed of IXPs and NAPs, where ISPs and different geographic locations peer to each other on the Internet.
How heterogeneous is the Internet?
Very
What is the purpose of routers?
To move inbound packets to the next hop, 1 step closer to their destination.
What should the scheduling algorithms in routers consider?
The priority of different flows and data types and the performance they require
What is FCFS?
First Come, First Served = simple scheduling algorithm that processes packets in a single queue and in chronological order.
What are the problems with FCFS in routers?
It fails to consider the lengths of packets and their purposes. This means it won’t wait for a large packet that has partially arrived before processing a smaller packet which started arriving later but has now fully arrived. This changes the delay between each packet in the flow, causing jitter.
What would a universal IP packet size fix in FCFS?
The jitter arising from having different sizes. A size too large would make packets slow to transmit individually and make it slower to transmit an amount of data < the max payload but would make it quicker to transmit more data and reduce the amount of traffic. The tradeoff is needless when you can just adapt for diff sizes.
What is delay?
How long it takes for a bit of data to travel across the network from one communication endpoint to another.
What is jitter?
Variation in the lengths of the delays between incoming packets in a flow. It indicates a disruption in the normal sequence of sending data packets.
What is data rate?
The amount of data sent over a flow per unit time. data rate, r = data sent / time = window size (sum of data size in each packet) / RTT
What are some sources of delay?
propagation; end-system processing; transmission; buffering and queueing in rotuers; transmission
What are some sources of jitter?
FCFS queueing; traffic aggregating; high load on routers; mixed traffic; dynamic changes in paths from sender to receiver
What is RTO?
RTO = retransmission timeout = the maximum amount of time to wait after sending a packet for its acknowledgment before resending the packet.
How do you calculate RTO?
RTO = B * RTT est
RTT est = [A * last RTT est] + [measured RTT * (1 - A)]
B = 2 A = 0.9
What is loss?
When one or more packets of data travelling across a computer network fail to reach their destination.
How do real-time and non-real-time applications respond to jitter?
Non-real-time applications can simply buffer and wait for packets to arrive to fill gaps but real-time applications will need to compensate for jitter, e.g. Skype skipping dropped frames.
How do real-time and non-real-time applications respond to delay?
Both would just buffer and play at a delay.