Q1Computer Networks
Question
Q.1. (a) Define mathematical models for M/M/1 and M/M/infinity. [8]
(b) Define Little's formula. [8]
Answer
Mathematical Models for M/M/1 and M/M/infinity, and Little's Formula
The M/M/1 queueing model describes a single-server queueing system in which customer (packet) arrivals follow a Poisson process with average arrival rate lambda, service times are exponentially distributed with average service rate mu, and there is a single server with an infinite-capacity waiting line. This model is the most fundamental and widely used queueing model in computer network performance analysis, since it closely approximates the statistical behavior of packet arrivals and service (transmission) times at a single network link or router queue under many practical traffic conditions.
For the M/M/1 model, the utilization factor rho = lambda/mu must remain strictly less than 1 for the system to be stable (otherwise the queue grows without bound). The steady-state probability of finding exactly n customers in the system follows a geometric distribution, P(n) = (1-rho)*rho^n. From this distribution, the key performance measures are derived: the average number of customers in the system L = rho/(1-rho), the average number waiting in the queue Lq = rho^2/(1-rho), the average time a customer spends in the system W = 1/(mu-lambda), and the average waiting time in the queue Wq = rho/(mu-lambda).
M/M/infinity Model
The M/M/infinity model describes a queueing system with an unlimited (infinite) number of servers, meaning every arriving customer is immediately assigned its own dedicated server and never has to wait in a queue at all - this model is useful for representing situations such as a very large pool of parallel resources (or, in some analytical approximations, a self-service system where waiting is negligible). Because every arriving customer receives immediate service, the number of customers currently being served follows a Poisson distribution with mean lambda/mu, P(n) = ((lambda/mu)^n/n!)*e^(-lambda/mu), directly analogous to the Poisson arrival process itself. Since no queueing delay occurs, the average time in system W simply equals the average service time 1/mu, and the average number in the system L = lambda/mu (with no separate queue length, since Lq = 0 always in this model).
Little's Formula
Little's formula (or Little's Law) is a remarkably general and powerful relationship stating that the average number of customers (or packets) in any stable queueing system, L, equals the average arrival rate lambda multiplied by the average time W that each customer spends in the system: L = lambda*W. This relationship holds true regardless of the specific arrival process distribution, service time distribution, number of servers, or queueing discipline used, making it one of the most broadly applicable results in all of queueing theory, and it can be applied equally to the entire system (relating L and W) or to just the waiting queue portion alone (relating Lq and Wq), since Little's law holds for any well-defined subsystem of a larger queueing network as long as the subsystem itself is stable (arrival rate equals departure rate in steady state).
In computer network performance analysis, Little's formula is frequently used to relate a router or link's average queue length (an easily measurable quantity from network monitoring) to the average packet delay experienced (a quantity often much harder to measure directly, since it requires tracking individual packets from arrival to departure), allowing network engineers to estimate one quantity from the other without needing to directly measure both, provided the arrival rate lambda is also known or measurable.
These queueing models find direct application in analyzing router buffer performance, network link capacity planning, and server-farm resource provisioning, since the arrival of packets at a network device closely resembles a Poisson process under many realistic traffic conditions, and Little's formula in particular provides a universally applicable sanity-check relationship that network engineers use to cross-validate measured queue length, arrival rate, and delay statistics against one another.
It is also worth noting that while the M/M/1 and M/M/infinity models assume perfectly memoryless (exponential) service and interarrival times, real network traffic frequently deviates from this idealized memoryless assumption (exhibiting self-similar or heavy-tailed statistical behavior instead), meaning these classical Markovian queueing models, while foundational and analytically tractable, are best understood as first-order approximations providing useful qualitative insight into network buffer and delay behavior, rather than as exact predictors of real-world network performance under all traffic conditions.
Beyond their use in queue-length and delay prediction, these models also underpin capacity-planning decisions such as determining the minimum service rate mu a network device must provide to keep the average queueing delay below a specified target for an expected arrival rate lambda, directly informing hardware sizing and provisioning decisions for routers, servers, and other shared network resources.
The distinction between M/M/1 (single, finite-capacity server, queue can form) and M/M/infinity (effectively unlimited parallel service capacity, no queue ever forms) also usefully brackets the two extremes of resource provisioning philosophy: heavily provisioned, elastic-capacity systems (such as modern cloud auto-scaling infrastructure) behave more like M/M/infinity, largely avoiding queueing delay at the cost of provisioning more capacity than average demand strictly requires, while tightly provisioned, fixed-capacity systems behave more like M/M/1, accepting some queueing delay in exchange for more efficient average resource utilization.
Both models are also frequently combined into hierarchical or hybrid capacity planning studies, where an M/M/1 model might characterize queueing at a single bottleneck link while an M/M/infinity approximation is applied to a downstream, well-provisioned server farm stage of the same overall network path, illustrating that real network performance analysis rarely relies on a single queueing model in isolation but rather combines several appropriately matched models across the different resource-constrained stages of an end-to-end data path.
Together, the M/M/1, M/M/infinity, and Little formula results discussed above constitute the essential quantitative foundation for network performance and capacity analysis coursework.
This closes out the full treatment of both parts of the question at the depth required.
End of answer.
A network engineer applying these two models in practice would typically begin by measuring or estimating the average arrival rate lambda for the traffic stream under study (for example, the average packet arrival rate at a specific router interface), then compare this against the interface's known service rate mu (its transmission capacity divided by average packet size) to compute the utilization rho, from which every other M/M/1 performance measure directly follows via the formulas derived above, giving a quick, analytically tractable first estimate of expected queueing delay and buffer occupancy without requiring detailed packet-level simulation.