본문 바로가기
컴퓨터네트워크

[네트워크] Circuit switching vs Packet switching

by 유일리 2023. 10. 4.
Circuit switching

transmission dalay = (L/R)

 

Packet switching
  • transmission delay : 패킷의 비트들을 링크로 내보내는데 소요되는 delay

ex) L = 10 Kbits , R = 100 Mbps

L-bit packet transmission delay (sec) = 10 x 10^3 / 100 x 10^6 = 10^-4 = 0.1 msec

 

  • Store and forward

라우터는 하나의 패킷에 속하는 비트를 모두 다 받기까지 일단 일단 저장하며 기다렸다가 다음 라우터로 forward

transmission dalay = (L/R) x 2hops

  • queueing delay와 loss 발생

If arrival rate to link exceeds transmission rate of link for a period of time : 

packets will queue, and wait to be transmitted on output link, packets can be dropped (lost) if memory in router fills up

 

  • Two key network-core functions

Forwarding  : forwarding table을 보면서 각 라우터가 달고온 목적지 주소를 보고 output link로 전달

Routing : Forwarding table 작성

 

 

댓글