Advanced Computer Network

Chapter 2
Network Performance and Analytical Models

Post Graduate Program in Computer Science Engineering
Advanced Computer Network   •   Post Graduate

2. Network Performance and Analytical Models

Introduction and Context

A computer network is useful only when it delivers data with acceptable speed, predictability, reliability, and fairness. A link advertised at 10 Gb/s may still provide poor application performance if packets experience excessive delay, queues overflow, or competing flows receive unequal service. Network performance therefore cannot be represented by bandwidth alone. It must be analyzed as the interaction of capacity, traffic demand, propagation, processing, queuing, loss, and protocol behavior.

Performance analysis is important at several levels. An engineer may diagnose slow web responses, a cloud architect may size links between data centers, and a network manager may determine whether an upgrade should increase capacity or reduce latency. Analytical models provide a disciplined way to make such decisions before expensive deployment. They do not replace measurement, but they help explain measurements and predict the consequences of design choices.

This chapter develops the principal performance measures used in advanced networking and connects them with queueing theory, Little’s Law, bottleneck analysis, fairness, and capacity planning. The central theme is that performance is a system property: improving one metric may worsen another, and the best design depends on workload and service objectives.

Learning Objectives

After studying this chapter, the reader should be able to:

1. Distinguish bandwidth, throughput, goodput, latency, jitter, loss, and utilization.

2. Calculate transmission delay, propagation delay, bandwidth-delay product, and basic utilization measures.

3. Apply bottleneck analysis and Little’s Law to network systems.

4. Interpret common queueing models and understand their assumptions.

5. Evaluate fairness, congestion, and capacity-planning trade-offs.

6. Diagnose performance problems using measurements and analytical reasoning.

7. Explain the relevance of these models to cloud, wireless, data-center, and real-time networks.

Performance as a Multidimensional Property

Capacity, bandwidth, throughput, and goodput

Bandwidth commonly denotes the maximum rate at which a link can transmit bits, measured in bit/s. It is a capacity value, not a guarantee of application performance. Throughput is the actual rate at which data is delivered over a period:

Throughput = successfully delivered bits / observation time.

Goodput is the rate of useful application data, excluding headers, retransmissions, duplicated packets, and other protocol overhead. Thus, a 1 Gb/s link may produce lower goodput because of framing overhead, encryption, acknowledgements, or packet loss.

Capacity is often shared. If several flows compete for a bottleneck, the aggregate throughput may approach the bottleneck capacity, while each individual flow receives only a fraction. A high-capacity access link is consequently ineffective if a lower-capacity wireless or inter-site link lies downstream.

Latency and its components

Latency is the time between sending information and receiving it, or between an event and its observable response. End-to-end delay commonly includes:

  • Processing delay: time spent examining headers, checking errors, encrypting, or making forwarding decisions.
  • Transmission delay: time required to place all packet bits on the link, calculated as L/R, where L is packet length in bits and R is link rate.
  • Propagation delay: time for the signal to travel through the medium, calculated as d/v, where d is distance and v is propagation speed.
  • Queuing delay: time waiting in a buffer before transmission.

For a path, these components accumulate across links and devices. Transmission delay depends on packet size and rate; propagation delay depends primarily on distance and medium. Increasing bandwidth reduces transmission delay but does not necessarily reduce propagation delay. This distinction explains why a faster transoceanic link may improve bulk transfer while leaving the physical round-trip time almost unchanged.

Round-trip time (RTT) is the time for a packet to reach a destination and for a response or acknowledgement to return. RTT is important to TCP, interactive applications, distributed coordination, and transaction processing. Median RTT may describe normal behavior, but high percentiles such as the 95th or 99th percentile reveal tail latency that often determines user experience.

Jitter and loss

Jitter describes variation in packet delay. A stream with a constant 40 ms delay may be acceptable for audio, whereas a stream whose delay alternates between 10 and 150 ms can produce interruptions even when its average delay is similar. Jitter is especially important for voice, video conferencing, industrial control, and synchronized distributed systems. Receivers may use buffers to absorb variation, but buffering adds delay.

Packet loss occurs when packets are corrupted, discarded, or dropped because buffers are full. Loss reduces goodput and may trigger retransmissions or congestion-control responses. In real-time media, retransmission may arrive too late to be useful; in reliable data transfer, it increases completion time. Loss must therefore be interpreted in relation to application requirements.

Fundamental Relationships and Analytical Measures

Utilization and offered load

Utilization is the fraction of service capacity being used. For a link with average arrival rate λ packets per second and service rate μ packets per second, utilization is commonly represented as ρ = λ/μ. For a link of rate R carrying an average offered bit rate A, utilization is A/R.

Utilization near zero indicates unused capacity, while utilization near one indicates a heavily loaded system. High utilization is not automatically desirable. As a queue approaches saturation, small traffic fluctuations can cause rapidly increasing delay and loss. Practical capacity planning therefore reserves headroom for bursts, failures, routing changes, and demand growth.

Offered load is the traffic presented to a system, whereas carried load is the traffic successfully served. When offered load exceeds capacity, queues grow until packets are dropped or traffic is controlled. A network can show high link utilization but poor application performance because delay and retransmission overhead have become excessive.

Bandwidth-delay product

The bandwidth-delay product (BDP) is:

BDP = bandwidth × propagation or round-trip delay.

It estimates the amount of data that can be in transit before an acknowledgement returns. For a 100 Mb/s path with an RTT of 80 ms:

BDP = 100,000,000 × 0.08 = 8,000,000 bits = 1,000,000 bytes.

A sender whose congestion window is much smaller than this value cannot fully utilize the path, even though the link has available capacity. High-BDP networks therefore require suitable window sizes, buffering strategies, and congestion-control behavior. BDP is not a queue-size recommendation: excessive buffering can create bufferbloat, where throughput remains high but latency becomes unacceptable.

Bottleneck capacity and end-to-end throughput

For a path containing links with capacities C1, C2, ..., Cn, the ideal end-to-end throughput cannot exceed the smallest relevant capacity:

Cpath ≤ min(C1, C2, ..., Cn).

The narrowest link is the bottleneck, but the effective bottleneck may also be a server, network interface, CPU, wireless channel, routing policy, or protocol window. In a multi-flow system, the bottleneck is a shared resource, and its capacity must be allocated among flows according to scheduling and congestion-control rules.

A useful diagnostic method is to compare utilization at successive points in the path. A saturated downstream link with an underutilized upstream link indicates a forwarding bottleneck. Conversely, low link utilization with high response time may indicate server processing, DNS, application serialization, or propagation delay rather than insufficient network capacity.

Little’s Law

Little’s Law relates the average number of items in a stable system to arrival rate and average time in the system:

N = λT.

In networking, N may represent packets or bytes in a queue and T their average delay. If a queue contains an average of 500 packets and packets arrive at 1,000 packets per second, the average time in the queue and system represented by those measurements is 0.5 seconds.

The law is powerful because it does not require a particular probability distribution. It does require a stable system over the observation interval: the average arrival rate must equal the average departure rate, and the measured population and time must refer to the same system boundary. Misapplying units or mixing queue-only measurements with end-to-end delay produces misleading results.

Little’s Law also exposes the cost of buffering. At a fixed throughput, doubling the amount of data in flight doubles average delay. This provides a conceptual basis for diagnosing bufferbloat and for evaluating whether additional buffers improve utilization enough to justify their latency cost.

Queueing Models for Network Analysis

Queueing theory models systems in which jobs arrive, wait, receive service, and depart. In a network, jobs may be packets, flows, requests, or transactions. A model is an abstraction; its value depends on how closely its assumptions represent the system.

The M/M/1 model

The M/M/1 model assumes Poisson arrivals, exponentially distributed service times, and one server. For utilization ρ < 1, the mean number of items in the system is:

L = ρ/(1 − ρ),

and the mean time in the system is:

W = 1/(μ − λ).

As ρ approaches one, both quantities increase sharply. This illustrates a general networking principle: operating continuously at near-maximum utilization creates disproportionate delay. Real packet transmissions are not exponential, and arrivals may be bursty or correlated, so numerical predictions should not be treated as exact forecasts. Nevertheless, the model is valuable for sensitivity analysis.

Finite-buffer systems

Routers and switches have finite buffers. When a buffer is full, arriving packets are discarded, producing loss. Finite-buffer models make the relationship among offered load, queue occupancy, delay, and loss explicit. Tail-drop queues discard packets only after the buffer fills, often causing synchronized losses and global TCP window reductions. Active queue management attempts to signal congestion before complete exhaustion of the buffer.

Priority and scheduling models

Networks may use first-come, first-served, priority queues, weighted fair queuing, deficit round robin, or other schedulers. Priority can protect latency-sensitive traffic but may starve lower-priority traffic. Fair schedulers distribute service more predictably, although fairness may be defined by packets, bytes, flows, users, or contractual classes. The scheduling policy is therefore part of the performance model, not merely an implementation detail.

Open and closed systems

An open queueing system receives work from outside and releases it externally. An access router is often modeled this way. A closed system contains a fixed population circulating among resources, as in a controlled cluster of clients repeatedly issuing requests. Closed-system behavior differs because increased response time may reduce the rate at which clients generate new work. Choosing the wrong system boundary can lead to incorrect capacity conclusions.

Fairness and Resource Sharing

Throughput alone does not show whether resources are shared equitably. A common measure is Jain’s fairness index:

F = (Σxi)² / (nΣxi²),

where xi is the allocation to flow i and n is the number of flows. The index ranges from 1/n to 1. A value of 1 indicates equal allocations; lower values indicate inequality. Equal throughput is not always the correct objective. A weighted or utility-based policy may intentionally give different rates to traffic classes with different requirements.

Fairness can be considered across flows, users, organizations, geographic regions, or applications. Per-flow fairness may allow one user running many flows to obtain more capacity than another user running one flow. Thus, the unit of fairness must be selected explicitly. In professional networks, service-level agreements and business priorities often define fairness more meaningfully than a purely mathematical index.

Capacity Planning and Trade-offs

Capacity planning begins with demand characterization rather than a simple forecast of average traffic. Engineers examine peak rates, burst duration, flow sizes, concurrency, geographic distribution, failure scenarios, and service objectives. A design based only on daily average utilization may fail during short but important peaks.

Several trade-offs recur:

  • Capacity versus cost: more links and faster equipment reduce congestion but increase capital and operational expenditure.
  • Buffering versus latency: larger buffers absorb bursts but can increase queuing delay.
  • Redundancy versus utilization: spare capacity improves resilience but may remain unused during normal operation.
  • Aggregation versus isolation: statistical multiplexing improves average efficiency, while dedicated capacity provides predictability.
  • Compression versus processing: compression may reduce bandwidth demand but consume CPU and add delay.
  • Encryption versus overhead: security processing and headers consume resources, although hardware acceleration can reduce the impact.
  • Centralization versus proximity: centralized services may simplify management, while edge placement reduces propagation and congestion.

A useful planning workflow is to define service-level objectives, measure current demand, identify bottlenecks, model normal and failure conditions, estimate growth, and validate the result with controlled testing. The objective is not maximum utilization; it is acceptable performance at a sustainable cost and risk level.

Measurement, Telemetry, and Automation

Analytical models must be paired with observability. Useful measurements include link counters, packet and byte rates, queue occupancy, packet drops, RTT distributions, retransmissions, flow completion time, CPU utilization, and application-level response time. Active probes generate test traffic, while passive telemetry observes production traffic. Both are necessary: probes provide controlled comparisons, whereas passive data reveals actual user behavior.

Modern networks use streaming telemetry, programmable data planes, and automated anomaly detection to identify congestion and latency changes. Machine-learning systems can classify traffic patterns or predict capacity demand, but their outputs depend on representative data and carefully defined objectives. Automation should not conceal uncertainty. A model trained on normal traffic may fail during a routing incident, attack, or workload transition.

Performance data also has governance implications. Flow records and user-level measurements may reveal sensitive information. Collection should follow data-minimization, access-control, retention, and applicable privacy requirements. Operators should distinguish measurement from surveillance and document how performance data is used.

Illustrative Case Study: Latency in a Distributed Learning Platform

Background

Consider an illustrative university learning platform deployed across a cloud region and used by students from several cities. The platform has a 1 Gb/s Internet connection, and average utilization is only 35 percent. Nevertheless, users report slow page loads during examination periods.

Situation and analysis

Initial monitoring shows a median RTT of 45 ms but a 99th-percentile RTT of 420 ms. Packet loss is low on average, yet queue drops increase during short bursts. Application traces show that a page request generates many parallel API calls. The database is not consistently saturated, but the front-end service occasionally waits for network responses.

The team calculates that the Internet link is not the only relevant resource. A 200 Mb/s virtual firewall interface is the effective bottleneck during bursts. In addition, a large buffer in the firewall absorbs packets rather than dropping them immediately. Little’s Law indicates that the increased number of bytes in the buffer corresponds to hundreds of milliseconds of additional waiting time. Average utilization had hidden the burst and tail-latency problem.

Approach and solution

The team first establishes service objectives: page-response latency at the 95th percentile, acceptable loss for interactive requests, and minimum capacity during a component failure. It then upgrades the virtual firewall interface, configures active queue management, limits unnecessary parallel requests, and adds edge caching for static content. Telemetry is changed from average utilization alone to include percentile latency, queue occupancy, drops, and flow-completion time.

Outcome

The design reduces queue residence time and improves tail latency without requiring a fourfold increase in the Internet link. Caching lowers repeated traffic, while request consolidation reduces burstiness. The case demonstrates that a capacity upgrade at the wrong point may have little effect; identifying the effective bottleneck and the latency cost of buffering is more important than observing average link utilization.

Learning points

1. Average utilization can conceal short periods of severe congestion.

2. The bottleneck may be a virtual appliance or software interface rather than a physical link.

3. Tail latency and queue occupancy are essential for interactive services.

4. Application behavior can create network bursts that infrastructure alone cannot solve.

5. Performance objectives should be expressed in service terms, not only in bandwidth.

Challenges, Limitations, and Common Mistakes

Analytical models simplify reality. Traffic is often self-similar, bursty, adaptive, and correlated; routes change; wireless capacity varies; and applications react to delay and loss. Consequently, model results should be treated as approximations and validated against measurements.

Common mistakes include confusing bandwidth with throughput, using average latency without percentiles, ignoring protocol overhead, measuring only the access link, assuming all loss is caused by congestion, and applying Little’s Law across inconsistent system boundaries. Another mistake is adding buffers to eliminate packet loss without checking the resulting latency. Engineers may also optimize aggregate throughput while harming short flows or real-time traffic.

Security events create additional complications. Denial-of-service traffic changes arrival distributions, and encrypted traffic limits some forms of classification. Performance mechanisms must not weaken authentication, confidentiality, or integrity merely to simplify measurement or optimization.

Current Developments and Best Practices

High-speed data centers increasingly use programmable switches, congestion notification, and application-aware transport mechanisms to control incast and tail latency. Wide-area networks use software-defined routing, traffic engineering, multipath transport, and edge computing to exploit alternate paths and reduce distance. Wireless systems must account for variable channel quality, scheduling, mobility, and shared-medium contention.

Best practice is to:

  • define latency, loss, throughput, and availability objectives together;
  • measure distributions and tail values, not only averages;
  • identify the true bottleneck before upgrading capacity;
  • maintain headroom for bursts, failures, and growth;
  • use Little’s Law and BDP with consistent units and boundaries;
  • test under realistic workloads and failure conditions;
  • evaluate fairness at the correct level, such as user or service rather than merely flow;
  • combine analytical models with telemetry and controlled experiments;
  • document assumptions, uncertainty, and change effects; and
  • protect performance data through appropriate governance and access controls.

Chapter Summary

Network performance is multidimensional. Bandwidth describes potential capacity, while throughput and goodput describe delivered service. Latency consists of processing, transmission, propagation, and queuing components; jitter describes delay variation, and loss represents unsuccessful delivery. Utilization indicates offered load relative to capacity, but very high utilization can cause rapidly increasing queues and delay.

The bandwidth-delay product estimates the data required to keep a path busy, while bottleneck analysis establishes an upper bound on end-to-end throughput. Little’s Law, N = λT, connects population, rate, and time and provides a powerful way to reason about queues and bufferbloat. Queueing models clarify how load affects delay and loss, although their assumptions must be checked. Fairness measures such as Jain’s index help evaluate resource allocation, but the relevant unit of fairness must be chosen deliberately.

Effective capacity planning combines demand measurement, modeling, service objectives, resilience analysis, and cost evaluation. Contemporary practice relies on telemetry and automation, but analytical judgment remains necessary to interpret data, manage uncertainty, and preserve security and privacy.

Key Terms

Bandwidth: Maximum nominal rate of a communication channel.

Throughput: Rate of data successfully delivered over an interval.

Goodput: Rate of useful application data excluding overhead and retransmissions.

Latency: Time required for data or a transaction to obtain a response.

Jitter: Variation in packet or transaction delay.

Packet loss: Failure of packets to reach the intended receiver.

Transmission delay: Time to place a packet’s bits onto a link.

Propagation delay: Signal travel time through the communication medium.

Queuing delay: Time a packet waits before receiving service.

Utilization: Fraction of a resource’s service capacity being used.

Offered load: Traffic presented to a network resource.

Bottleneck: Resource that constrains aggregate system performance.

Bandwidth-delay product: Amount of data that can occupy a path during a delay interval.

Round-trip time: Time for a packet and its return response to traverse a path.

Little’s Law: Relationship N = λT between population, arrival rate, and time.

Bufferbloat: Excessive latency caused by oversized or persistently occupied buffers.

Fairness: Degree to which resource allocation conforms to a selected equity criterion.

Queueing model: Mathematical abstraction of arrivals, waiting, service, and departures.

Tail latency: High-percentile delay, such as the 95th or 99th percentile.

Capacity planning: Process of sizing resources to meet demand and service objectives.

Review Questions

Short Answer Questions

1. Distinguish throughput from goodput.

2. What are the four principal components of end-to-end delay?

3. Why can increasing bandwidth fail to reduce propagation delay?

4. State Little’s Law and define its variables.

5. What does a bandwidth-delay product represent?

Long Answer Questions

1. Explain how utilization affects queueing delay and packet loss as a system approaches saturation.

2. Discuss bottleneck analysis and explain why the physical link is not always the effective bottleneck.

3. Compare the usefulness and limitations of the M/M/1 queueing model in network analysis.

4. Explain the trade-off between buffer size, packet loss, and latency.

5. Discuss how fairness should be defined and measured in a shared network.

Analytical / Application Questions

1. A 200 Mb/s path has an RTT of 50 ms. Calculate its bandwidth-delay product and explain the implication for sender windows.

2. A queue contains an average of 240 packets and receives 800 packets per second. Use Little’s Law to estimate the average time in the system.

3. A service has low average utilization but very high 99th-percentile latency during bursts. Propose a measurement and capacity-planning investigation, identifying at least three possible causes.

22. Multiple Choice Questions with Answers

Question 1

Which measure excludes protocol headers and retransmitted data?

A. Bandwidth

B. Throughput

C. Goodput

D. Utilization

Correct Answer: C. Goodput

Question 2

A 100 Mb/s path has an RTT of 80 ms. What is its bandwidth-delay product?

A. 80,000 bits

B. 800,000 bits

C. 8,000,000 bits

D. 80,000,000 bits

Correct Answer: C. 8,000,000 bits

Question 3

Which delay component is calculated as packet length divided by link rate?

A. Propagation delay

B. Transmission delay

C. Processing delay

D. Queuing delay

Correct Answer: B. Transmission delay

Question 4

If a system contains 500 packets and packets arrive at 1,000 packets per second, Little’s Law gives an average system time of:

A. 0.05 seconds

B. 0.5 seconds

C. 2 seconds

D. 500 seconds

Correct Answer: B. 0.5 seconds

Question 5

What generally happens to an M/M/1 queue as utilization approaches one?

A. Mean delay approaches zero

B. Mean queue size decreases

C. Mean delay increases sharply

D. Packet arrivals stop automatically

Correct Answer: C. Mean delay increases sharply

Question 6

Which situation best illustrates bufferbloat?

A. Low bandwidth with no buffering

B. High delay caused by persistently occupied oversized buffers

C. Packet corruption caused by electromagnetic interference

D. Equal allocation among competing flows

Correct Answer: B. High delay caused by persistently occupied oversized buffers

Question 7

A path contains links of 1 Gb/s, 200 Mb/s, and 500 Mb/s. Ignoring other constraints, its maximum aggregate throughput is bounded primarily by:

A. 200 Mb/s

B. 500 Mb/s

C. 1 Gb/s

D. 1.7 Gb/s

Correct Answer: A. 200 Mb/s

Question 8

Why is average latency alone inadequate for interactive-service evaluation?

A. It cannot be measured in networks

B. It hides high-percentile or tail delays

C. It always equals propagation delay

D. It measures only bandwidth

Correct Answer: B. It hides high-percentile or tail delays

Question 9

Jain’s fairness index is closest to one when:

A. One flow receives all capacity

B. Allocations are approximately equal

C. Utilization is zero

D. Packet loss is maximal

Correct Answer: B. Allocations are approximately equal

Question 10

In the illustrative learning-platform case, the most appropriate first response to high tail latency was to:

A. Increase only the Internet link based on average utilization

B. Ignore queue measurements because average loss was low

C. Identify the effective virtual-firewall bottleneck and queue behavior

D. Disable encryption to reduce all processing overhead

Correct Answer: C. Identify the effective virtual-firewall bottleneck and queue behavior

Advanced Computer Network
Chapter 2 of 15