390 likes | 616 Views
Switching. ดร. อนันต์ ผลเพิ่ม Anan Phonphoem, Ph.D. anan@cpe.ku.ac.th http://www.cpe.ku.ac.th/~anan Computer Engineering Department Kasetsart University, Bangkok, Thailand. Switching. Point-to-point connection (Mesh) wasteful Multipoint connection (Bus) Distance (collision Domain)
E N D
Switching ดร. อนันต์ ผลเพิ่ม Anan Phonphoem, Ph.D. anan@cpe.ku.ac.th http://www.cpe.ku.ac.th/~anan Computer Engineering Department Kasetsart University, Bangkok, Thailand
Switching • Point-to-point connection (Mesh) • wasteful • Multipoint connection (Bus) • Distance (collision Domain) • Number of devices • Switch
Switching Methods Circuit switching Packet switching Message switching
Switch Creates a temporary connection between input/output
Switching Methods Circuit switching Packet switching Message switching Space-division Time-division
Space-Division Switches:Crossbar Switches • Using electronic micro-switches (transistors) • Low efficiency (<25% use)
Multistage Switch • More efficiency • Blocking
Switching path • Also provide multiple paths
Switching Methods Circuit switching Packet switching Message switching Space-division Time-division
Space VS. Time-Division • Space-division switching + Instantaneous - # of cross points • Time-division switching + No cross point - Create delay
Time-space-time (TST) switch Other combinations: TSST, STTS, etc.
Switching Methods Circuit switching Packet switching Message switching Datagram Virtual circuit SVC PVC
Circuit switching weakness • Design for voice (telephone) • Non-voice transmission is bursty • Data rate • Assume a single data rate for both ends • Inflexibility • Same path (no adaptation)
Datagram approach Each packet is treated independently Packet is called Datagram
Multiple channels in datagram approach B A X B Y
Switching Methods Circuit switching Packet switching Message switching Datagram Virtual circuit SVC PVC
Virtual Circuit • Same route – choose at start • PVC (Permanent VC) • Leased Line • SVC (Switched VC) • Dial-up
Circuit-switched connection Virtual-circuit connection Circuit-switched VS. Virtual-circuit connection • Path VS. route • Dedicated VS. sharing
Switching Methods Circuit switching Packet switching Message switching