Textbook language

Circuit switching and packet switching

The telephone network traditionally reserves a channel for the entire conversation, while the computer network shares lines between all data portions as they appear. Observe the failure when elementary channels are exhausted and the growth of the queue in the buffer.

Circuit Switching

Used in classic telephone networks. Before transmitting any data, the network goes through two mandatory steps: 1) establishment of a composite channel (sequential reservation of elementary channels — in telephony, the basic digital channel is 64 Kbps); 2) data transmission and subsequent release of resources. The physical line is divided by frequencies (FDM) or time slots (TDM).

  • Pros: constant guaranteed speed, minimal and stable delay (almost no jitter).
  • Cons: possible connection failure (busy signal), mandatory pause for establishment, inefficient idle bandwidth during pauses — extremely ineffective for bursty computer traffic.

Packet switching, buffering, and forwarding modes

Information is transmitted in independent portions (packets) with headers, without prior reservation of a physical line. Switches and routers have buffer memory to smooth out bursts and match speeds:

  • Store-and-Forward: an Ethernet frame is received entirely into the buffer, its FCS is checked, and then it is placed in the output queue (corrupted frames are discarded).
  • Cut-Through: forwarding begins immediately after reading the destination MAC — faster, but may pass a corrupted frame.
  • Buffer overflow: during sustained congestion, new packets are dropped (Packet Drop) — this is a normal property of a packet network (compensated for at higher layers, for example in TCP).

Three packet switching methods and a summary comparison

In packet transmission, the following models are encountered: 1) Datagram transmission (each packet is routed independently, delivery is best effort, packets may arrive via different paths); 2) With logical connection establishment (service frames for parameter negotiation + information frames are used); 3) Virtual Circuit (VC) (a single logical path is established, packets follow it strictly by label, but still share the common line bandwidth).

CriterionCircuit switchingPacket switching
Connection establishmentMandatory before exchangeNot mandatory (except for logical/VC)
Address in trafficNeeded only at the dialing stageDatagram carries an address, virtual circuit may use a label
Network refusal under loadRefusal to subscriber possible ("busy")Queue grows, packets are lost upon overflow
Bandwidth and latencyGuaranteed and constantNot guaranteed, change based on queue
Channel utilizationInefficient during pausesDynamic, high during bursts
Do not confuse: TCP connection establishment on hosts is layer 4 virtual logic over an IP datagram packet network; it does not reserve a physical channel!