Summary of "Lec-18: Packet Switching In Computer Networks | Imp for GATE and UGC NET"
Main ideas / concepts covered (Packet Switching vs. Circuit Switching)
1) What “packet switching” means
- In packet switching, data is not transmitted as a continuous stream.
- Instead, data is divided into small units called packets.
- If A wants to send data to B, that data is split into packets such as Packet 1, Packet 2, Packet 3, Packet 4, and then sent through the network.
- This contrasts with circuit switching, where once a connection is established, the system carries a continuous flow without segmenting into packets.
2) Layered architecture where packet switching operates
The lecture references layering concepts such as OSI layers / TCP/IP layers.
Data flow concept:
- Data originates at the Application layer
- Then passes through the Transport layer
- Then the Network layer
- Finally reaches the Physical layer output
Data Link layer role:
- Divides continuous data into packets (or segments) to send over the network.
Key point (GATE/UGC NET important):
- Packet switching is discussed in terms of which layers it applies to:
- Data Link layer and Network layer (as relevant for the service-type distinction)
3) Two types of packet switching / service models
Packet switching is described in two modes:
- Datagram service
- Works on the Network layer
- Marked as important and included in the syllabus
- Virtual circuit
- Mentioned as working on the Data Link layer
The lecture also notes (exam-memory style) that circuit switching is associated with behavior above the physical layer / above the layer stack (as stated in the subtitles).
4) Store-and-forward mechanism (core packet-switching advantage & cost)
- Packet switching uses store-and-forward.
- Since no connection setup is established first (unlike circuit switching):
- A creates packets and sends them directly to the first switch (e.g., S1).
- Each switch (e.g., S1, S3, etc.) must:
- Store the arriving packet in a buffer
- Use routing tables to decide where/how to forward the packet
- Then forward the packet
Contrast with circuit switching:
- In circuit switching (telephone-network analogy):
- A connection is established first
- Then data flows continuously without store-and-forward at each switch
Advantages and delays (trade-off)
Efficiency:
- Circuit switching is less efficient because it reserves dedicated resources even during “silence”/idle time.
- Packet switching is more efficient because resources are not held end-to-end.
Delay:
- Packet switching delay is higher due to:
- time spent buffering
- time spent processing
- time consulting routing tables
- Circuit switching delay is described as lower because store-and-forward is not used.
- However, packet switching delay increases as packets traverse more switches.
5) Pipelining to improve performance
- Packet switching uses pipelining.
- Core idea:
- While Switch S1 forwards Packet 1 onward (e.g., to S3),
- A can simultaneously send Packet 2 (and then further packets).
- This is not strictly “send one packet, then wait”—pipelining overlaps work to increase efficiency and reduce delay.
6) Time components / how overall time is computed
Packet switching overall time is given as:
- Total time = transmission time + propagation time
Key timing distinction:
- In packet switching, a packet is forwarded by multiple switches, with steps involving transmission/processing at each.
- Overall transmission impact increases with the number of switches:
- Roughly: n × (transmission-related time)
- where n = number of switches the packet traverses
Circuit switching timing:
- Includes setup time and tear-down time
- After setup, transmission proceeds without repeated store-and-forward steps at each switch.
7) Closing / what comes next
- The lecture concludes by indicating that datagram and virtual circuit details will be discussed next (datagram mentioned as “next video”).
- The current content is presented as “basics of packet switching.”
Instruction / methodology-style bullet points (as presented)
- When sending data A → B using packet switching:
- Split the message into packets: Packet 1, Packet 2, Packet 3, Packet 4, etc.
- Send packets directly to the first switch (no connection setup first).
- At each switch (e.g., S1, S3, …):
- Store the packet in a buffer
- Use the routing table to decide the outgoing path
- Forward the packet
- Apply pipelining for performance:
- While one packet is forwarded by a switch,
- the sender can inject the next packet concurrently.
- Total delay includes:
- buffering/processing at switches (store-and-forward)
- plus transmission and propagation components
- Expect delay/overall transmission time to increase with the number of switches traversed.
Speakers / sources featured
- Speaker (implied): “Gate’s Messler” / the channel/lecturer introducing the lecture (“Hello friends welcome to Gates Messer…”).
- No other distinct named speakers or external sources are explicitly featured in the subtitles.
Category
Educational
Share this summary
Is the summary off?
If you think the summary is inaccurate, you can reprocess it with the latest model.
Preparing reprocess...