Network Model (CS4226)
Published on November 30, 2020
In this document, you will find my summary for the Network Performance Model and Queueing Model content covered under CS4226: Internet Architecture course taught by Dr. Richard Ma. I compiled this document with the help of notes written by my good friend Matthew over here.
Performance metrics
Metric | Definition |
---|---|
Link Rate / Bandwidth | Theoretical maximum capacity; indirectly related to speed |
Throughput / Effective bandwidth | Actual data transfer rate between source and destination; directly related to speed; with end-to-end delay factored in |
End-to-end delay
For a given packet being sent over a link, end-to-end delay is made up of:
- Transmission delay: dependent on packet size and link rate :
- Propagation delay: dependent on distance and propagation speed
- Processing delay: dependent on
- Queueing delay: dependent on queue size and
Queueing delay
Little's Law
The long-term average number of customers in a stationary system is equal to the long-term average effective arrival rate multiplied by the average time that a customer spends in the system.
In the context of Internet Architecture:
- : Average number of packets in the system
- : Average packet arrival rate for the system
- where is the number of packets which arrived up to time
- : Average sojourn time
- where n is the number of packets and is the waiting/sojourn time for the th packet
Modelling arrival time
Given:
- : Arrival time of th packet
- : Inter-arrival time where
Model s using independent and identically distributed (i.i.d.) random variable which is exponentially distributed, with condition. Exponential distribution was chosen because of its memoryless property.
Properties:
- Memoryless property:
Merging Poisson processes
s are i.i.d. random variables distributed as with rate . This arrival pattern is called a Poisson process, in which starting time does not matter (memoryless property). Therefore, two Poisson proccesses can be merged to create a new Poisson process:
M/M/1 queueing model
- Single server with a queue of infinite length
- Exponential i.i.d. service time with rate
Definitions
- Utilization:
- Percentage of time whereby the server is busy (1 item in server)
- Alternatively, mean number of packets in the server
- Derived from where average service time =
- For server to be stable,
- Percentage of time whereby the server is busy (1 item in server)
- : Percentage of time or probability that there are exactly packets in the system
- Follows a Geometric distribution
M/M/1 Formulas
-
- Derived from
-
- Derived from
Burke's Theorem
Burke's theorem asserts that for a M/M/1 queue in the steady state with arrivals, a Poisson process with rate parameter :
- The departure process is a Poisson process with rate parameter .
- At time the number of packets in the queue is independent of the departure process prior to time .
Tandem queues
Given consecutive servers with queues in tandem:
Given 2 consecutive servers, and :
Jackson network
Jackson networks have multiple sources and feedback loops. By Burke's Theorem, merging and splitting of Poisson still apply to these networks.
To do so:
- Determine the utilization for each server
- Create product form solutions as in #tandem-queues