You have 3 free guides left 😟
Unlock your guides
You have 3 free guides left 😟
Unlock your guides

3.1 Packet Switching Principles

3 min readjuly 22, 2024

switching revolutionizes data transmission by breaking information into smaller units called packets. This method allows for efficient use of network resources, better scalability, and improved compared to traditional circuit switching.

Key aspects of packet switching include vs cut-through switching, the impact of packet size on performance, and the role of . These factors influence network efficiency, , and overall system performance in modern communication networks.

Packet Switching Fundamentals

Fundamentals of packet switching

Top images from around the web for Fundamentals of packet switching
Top images from around the web for Fundamentals of packet switching
  • Breaks data into smaller, manageable units called packets for transmission across a network
    • Packets contain a portion of the original data and control information (source/destination addresses, sequence numbers)
    • Independently routed through the network and reassembled at the destination
  • Efficiently utilizes network resources (bandwidth, buffers) by sharing among multiple users and applications
    • Enables better scalability and flexibility compared to circuit switching
  • Provides robustness and fault tolerance
    • Packets can be rerouted through alternative paths if a link or node fails
    • Ensures data delivery even in the presence of network failures (power outages, cable cuts)
  • Offers cost-effectiveness by eliminating the need for dedicated circuits between communicating parties
    • Reduces infrastructure costs and enables more efficient use of network resources

Store-and-forward vs cut-through switching

  • Store-and-forward switching completely receives and stores each packet before forwarding to the next hop
    • Performs error checking and processing on the entire packet before forwarding
    • Introduces higher due to storage and processing time at each hop (routers, switches)
    • Ensures data integrity by detecting and discarding corrupted packets
  • Cut-through switching forwards packets as soon as the destination address is read from the packet header
    • Minimizes processing time at each network device, reducing latency
    • Two main types:
      1. : forwards the packet after the first 64 bytes are received to ensure a clear collision domain
      2. : forwards the packet immediately after reading the destination address, without error checking
    • Provides lower latency but may propagate corrupted packets through the network

Impact of packet size

  • Affects transmission delay: time required to transmit a packet over a link
    • Calculated as packet_size/link_bandwidthpacket\_size / link\_bandwidth
    • Larger packets result in higher transmission delays
  • Affects overhead: additional bits added to the packet for control and management (headers, trailers, error correction codes)
    • Smaller packets have a higher overhead-to- ratio, reducing efficiency
  • Trade-offs in choosing packet size:
    • Smaller packets offer lower transmission delay and better responsiveness for interactive applications (VoIP, online gaming)
      • Higher overhead and increased processing requirements
    • Larger packets provide better efficiency due to lower overhead
      • Suitable for bulk data transfers and -sensitive applications (file sharing, video streaming)

Role of statistical multiplexing

  • Allows multiple data streams to share the same network resources (bandwidth, buffers)
    • Based on the assumption that not all users or applications require peak bandwidth simultaneously
    • Enables more efficient utilization of network resources compared to fixed resource allocation
  • Improves network efficiency
    • Unused bandwidth from one user or application can be allocated to others, increasing overall utilization
    • Enables more users and applications to share the same network infrastructure
  • Offers better resource allocation
    • Network resources are dynamically allocated based on actual demand
    • Prevents over-provisioning and wastage of resources
  • Provides cost-effectiveness
    • Reduces the need for dedicated resources for each user or application
    • Lowers infrastructure costs and improves scalability
  • Challenges and considerations:
    • Potential for congestion and performance degradation during peak usage periods (holidays, major events)
    • Requires effective congestion control and traffic management mechanisms
    • Demands careful capacity planning and monitoring to ensure adequate performance for all users and applications
© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.


© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.

© 2024 Fiveable Inc. All rights reserved.
AP® and SAT® are trademarks registered by the College Board, which is not affiliated with, and does not endorse this website.
Glossary
Glossary