NFV benefits and challenges
Clear, exam-focused study notes on Network Functions Virtualisation (NFV): definitions, benefits, challenges, formulas, worked examples, common mistakes and exam guidance.
Drafted with Aria, reviewed by the AiCanCode.org team · Updated . How we write and check our notes. Spotted an error? Use Give Feedback at the bottom of the page.
Why it matters
Network Functions Virtualisation (NFV) lets network services that used to run on special-purpose hardware now run as software on general servers. Engineers use NFV to reduce cost, increase deployment speed and enable flexible scaling of network services (firewalls, load balancers, routers) in data centres and clouds, often together with SDN (see SDN vs NFV and SDN controllers).
Key ideas
Start from the basic meaning of terms before using them.
Network Functions Virtualisation (NFV) — the practice of implementing network functions (for example firewall, NAT, DPI) as software called virtual network functions instead of on purpose-built hardware middleboxes. NFV separates software from specific network hardware.
Virtual Network Function (VNF) — a single network function implemented in software running inside a virtualised environment (virtual machine or container). A VNF can be chained with other VNFs to make a service.
Management and Orchestration (MANO) — the set of software components that manage lifecycle of VNFs: instantiate, scale, heal, and connect them (orchestrate). MANO is responsible for placement, networking and configuration. In the ETSI NFV reference architecture, MANO is split into the NFV Orchestrator (NFVO), VNF Manager (VNFM), and Virtualised Infrastructure Manager (VIM); the compute, storage and network resources they control are the NFV Infrastructure (NFVI).
Hypervisor — software that creates and runs virtual machines (examples: KVM, Xen). A similar concept for containers is the container runtime (Docker, containerd).
Service Function Chaining (SFC) — connecting VNFs in a required order so traffic flows through them (e.g., firewall → DPI → NAT). Also called chaining.
Elasticity — the ability to change the number or size of VNF instances automatically based on load. Two common modes: scale‑up (vertical scaling: give more CPU/memory to the same instance) and scale‑out (horizontal scaling: add more instances).
CAPEX and OPEX — CAPEX (capital expenditure) is money spent to buy physical hardware; OPEX (operational expenditure) is ongoing cost to operate (power, cooling, maintenance, licences). NFV aims to reduce CAPEX and OPEX by using commodity servers and automation.
Why NFV brings benefits (simple chain of reasoning):
- Commodity servers are cheaper and more general-purpose than specialised appliances → lower CAPEX per function.
- Software VNFs can be updated and deployed faster than changing hardware → faster feature delivery and reduced time-to-market.
- Virtualisation and orchestration (MANO) enable automation → reduced manual configuration and lower OPEX.
- Elastic scaling allows using resources only when needed → higher resource utilisation and lower cost.
- Chaining VNFs in software makes it easier to place functions near demand (edge/cloud) → potential latency and bandwidth benefits for some services.
Why NFV has challenges (each challenge stated and explained):
- Performance: Commodity servers and virtualization add overhead. Packet processing at high line-rate needs careful optimisation (DPDK, SR‑IOV, GPU/FPGA accelerators). Assume VNFs may need specialised tuning to match hardware boxes.
- Deterministic latency and jitter: Virtual environments and multi-tenant servers introduce variability. Real-time services (voice, 5G user plane) require tight bounds — NFV must be designed to meet SLAs.
- Stateful VNF scaling and migration: Some functions keep per-flow state. Moving or scaling such VNFs requires state transfer or consistent hashing; these are complex to implement and can cause service interruption if not handled correctly.
- Reliability and availability: Need orchestration for failover and redundancy. Traditional appliances often had built-in redundancy; in NFV the operator must implement redundancy across compute nodes and networks.
- Management complexity and interoperability: Many vendors implement different VNF images and APIs. MANO and standards aim to reduce vendor lock-in but interoperability remains a challenge.
- Security and multi-tenancy: Running VNFs from different tenants or vendors on shared hardware raises threats (side channels, misconfiguration). Isolation (hypervisor, containers, secure hardware) and network segmentation are required.
- Resource placement and optimisation: Placing VNFs to meet latency, bandwidth and compute costs is an NP-hard combinatorial problem in the general case (placement + chaining). Practical solutions use heuristics.
Diagrams to draw for exams (describe exactly):
- Single-diagram of NFV architecture: Draw a stack with (top) VNF instances (boxes labeled VNF A, VNF B, VNF C) connected by arrows for chaining; below them draw Virtualisation layer (hypervisor/container runtime); below that draw Physical Servers (compute, storage) and Physical Network. At the side draw MANO with arrows to VNFs and to the virtualisation layer. Label arrows: "instantiate", "monitor", "configure".
- Redundancy diagram: two servers each with VNF active instances, arrows showing traffic switching on failure. Label primary/backup and show heartbeat link.
Formulas
A = MTTF / (MTTF + MTTR) — Availability of a single component (unitless fraction between 0 and 1).
- A: availability (no unit)
- MTTF: mean time to failure (hours)
- MTTR: mean time to repair (hours)
- Applies when failures are repairable and times are averaged over long run.
A_parallel = 1 - Π_i (1 - A_i) — Availability of parallel redundant components (assuming statistically independent failures and no common-cause faults; failover does not itself add downtime).
- A_parallel: availability with redundancy (no unit)
- A_i: availability of i-th component (no unit)
- For n identical components,
A_parallel = 1 - (1 - A)^n.
ρ = λ / μ — Utilisation of a service (queuing notation) when λ is arrival rate and μ is service rate.
- ρ: utilisation (no unit; stability for an M/M/1 requires ρ < 1)
- λ: arrival rate (packets per second or flows per second)
- μ: service capacity (packets per second or flows per second per instance)
- Apply when modelling a VNF as a single‑server M/M/1 queue; if ρ ≥ 1 the queue is unstable (backlog grows without bound).
N = ceil(R_req / C_inst) — Number of VNF instances required for throughput.
- N: integer count of instances (no unit)
- R_req: required throughput including safety margin (Gb/s)
- C_inst: throughput capacity per instance (Gb/s)
Note: these formulas are simplifying models. Real placement and latency constraints require more elaborate network graphs and constraints.
Worked examples
Example 1 — Availability with redundancy (numerical) Question: A VNF instance has MTTF = 2000 hours and MTTR = 4 hours. Compute single-instance availability and the availability if two identical instances are deployed in parallel (active-active) so traffic continues while one fails.
Steps:
- Single-instance availability formula:
A = MTTF / (MTTF + MTTR). - Substitute numbers:
A = 2000 / (2000 + 4) = 2000 / 2004 ≈ 0.998003992. - Two identical parallel instances:
A_parallel = 1 - (1 - A)^2. - Compute:
1 - (1 - 0.998003992)^2 = 1 - (0.001996008)^2 ≈ 1 - 3.984e-6 = 0.999996016.
Final answer: Single-instance availability ≈ 0.9980 (99.80%), two-instance parallel availability ≈ 0.999996 (99.9996%).
Example 2 — Capacity planning (numerical) Question: A VNF instance can process 1.0 Gbit/s. Expected steady traffic is 4.5 Gbit/s. Operator wants 10% spare capacity for bursts. How many instances are needed (scale-out)?
Steps:
- Required throughput including margin:
R_req = 4.5 * (1 + 0.10) = 4.95 Gbit/s. - Instances needed:
N = ceil(4.95 / 1.0) = ceil(4.95) = 5.
Final answer: 5 instances.
Example 3 — Model exam answer (theory) Question: Explain two major benefits and two major challenges of NFV, referring to resource usage and reliability.
Model answer (short): NFV reduces CAPEX because commodity servers cost less than specialised appliances and increases resource utilisation by allowing multiple VNFs to share compute and scale dynamically (benefit). NFV shortens deployment time because software images can be instantiated automatically by MANO (benefit). Challenges include ensuring performance comparable to hardware appliances since virtualization adds overhead; packet processing frameworks (e.g., DPDK, SR-IOV) are needed to bridge this gap. Reliability is another challenge: VNFs may be stateful and require careful design for failover and state transfer; operators must design redundancy and orchestration policies to meet SLAs (challenge).
A full exam answer expands each point with an example and mentions mitigation techniques (hardware acceleration, state replication, proper orchestration).
Common mistakes
- Forgetting to include safety margin when calculating instances for bursts and scaling delays.
- Assuming stateful VNFs can be migrated without explicit state transfer; students often ignore state management complexity.
- Ignoring network bandwidth and latency when placing VNFs; placement is not only compute capacity.
For your exam
Question types you will see:
- Definitions and short notes: define NFV, VNF, MANO, elasticity, CAPEX/OPEX.
- Long answers/theory: explain benefits and challenges, draw NFV architecture diagram, compare NFV with traditional appliances and with SDN (refer to SDN vs NFV).
- Numerical questions: availability calculations, capacity planning (instances required), simple utilisation problems using ρ = λ/μ.
- Design/diagram questions: draw NFV architecture with MANO, show redundancy and chaining, explain stateful VNF migration steps.
What full-marks answers include:
- Clear definitions (bold the terms if asked), a simple architecture diagram labelled as described above, step-by-step derivations for any formula used, units on numerical answers, safety margins and assumptions stated, and a brief mitigation strategy for each challenge mentioned (e.g., DPDK for performance, active-active redundancy for availability, secure isolation for security).
Quick check
- What is a VNF?
- Give the availability formula using MTTF and MTTR.
- If each VNF instance can process 0.8 Gbit/s, how many instances are needed for 3.2 Gbit/s with 25% spare capacity?
Answers: 1) A software-implemented network function running in a virtualised environment. 2) A = MTTF / (MTTF + MTTR). 3) Required = 3.2*(1+0.25)=4.0 Gbit/s; instances = ceil(4.0 / 0.8) = ceil(5.0) = 5.
Finished this topic? Mark it so your progress, study plan and readiness keep up.
Stuck on something here?