0% found this document useful (0 votes)
67 views8 pages

Task 1

This document summarizes an experiment comparing the performance of switches and hubs in a local area network. The experiment was conducted using NetSim software and measured throughput, delay, and packet collisions for each device. The results showed that switches had higher throughput, lower delay, and no packet collisions, while hubs had lower throughput, much higher delay, and many packet collisions. Therefore, the conclusion is that switches make networks perform better than hubs in terms of throughput and delay.

Uploaded by

vinay bharthu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
67 views8 pages

Task 1

This document summarizes an experiment comparing the performance of switches and hubs in a local area network. The experiment was conducted using NetSim software and measured throughput, delay, and packet collisions for each device. The results showed that switches had higher throughput, lower delay, and no packet collisions, while hubs had lower throughput, much higher delay, and many packet collisions. Therefore, the conclusion is that switches make networks perform better than hubs in terms of throughput and delay.

Uploaded by

vinay bharthu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

COMPUTER COMMUNICATION ( ECE 4008)

LAB SLOT : L37 + L38


NAME : BHARTHU.VINAY
REG NO : 17BEC0334
EXPERIMENT 1
Performance and Analyze of a set of Local Area Networks
Interconnected by Switches and Hubs

Aim: To study and compare the performance of Switch and


Hub.

Tools Required: NETSIM 10.2.10

Theory:

HUB:

HUB is just a connector. It connects the wires coming from different branches.
Hub is a collision point where signals coming from different stations collide. It does
not affect the performance of network seriously. It is cheaper. It does not have
mechanisms such as Collision Detection and retransmission of packets. It passes
packet to all connected nodes. It does not have any mechanism to reduce network
Traffic.

SWITCH:

Switch is a device which provides communication link between nodes


connected to its input and output line. In Switch each line has full access of
Bandwidth. It will collect the packets from its input link and forward them to its
destination from its output link. It will start buffering its input packets if output lines
are not free. In such case it will wait till output line becomes free and then it will
start forwarding packets.
Block Diagram:

HUB :
SWITCH:
Important Formulae

Payload Received = Packet Received * Packet Size

𝑃𝑎𝑦𝑙𝑜𝑎𝑑 𝑅𝑒𝑐𝑒𝑖𝑣𝑒𝑑∗8
Throughput (Mbps) =
𝑆𝑖𝑚𝑢𝑙𝑎𝑡𝑖𝑜𝑛 𝑇𝑖𝑚𝑒∗ 106

When Packet Size=1000 bytes; Inter-arrival time=3200 sec


Hub (Complete Table)

Sour Destina Packet Packet Payload Payload Throughput( Delay(micr


ce Id tion Id Transmitted Received Transmitted Received Mbps) osec)
2 10 3124 3115 3124000 3115000 2.492 51766.829
92
3 11 3124 2742 3124000 2742000 2.1936 742589.06
37
4 12 3124 1185 3124000 1185000 0.948 3117042.4
38
5 13 3124 884 3124000 884000 0.7072 3927318.8
38
6 14 3124 685 3124000 685000 0.548 3335204.1
48
7 15 3124 596 3124000 5960000 0.4768 4055690.9
8
8 16 3124 468 3124000 468000 0.3744 4116274.3
69
9 17 3124 421 3124000 421000 0.3368 4067812.5
91
Sum= Sum=
8.0768 23413699.
26
Switch (Complete Table)
Sour Destina Packet Packet Payload Payload Throughput Delay(mic
ce Id tion Id Transmitted Received Transmitted Received (Mbps) rosec)
2 10 3124 3124 3124000 3124000 2.4992 237.50871
3
3 11 3124 3124 3124000 3124000 2.4992 467288.86
45
4 12 3124 3124 3124000 3124000 2.4992 224.18989
1
5 13 3124 3124 3124000 3124000 2.4992 237.50871
3
6 14 3124 3124 3124000 3124000 2.4992 237.51670
9
7 15 3124 3124 3124000 3124000 2.4992 250.83768
2
8 16 3124 3124 3124000 3124000 2.4992 244.18042
2
9 17 3124 3124 3124000 3124000 2.4992 251.02920
6
Sum= Sum=
19.9936 468971.63
58

Hub and Switch Comparative Table

Component Total Throughput Delay (µsec) Packets Collided


(Mbps)
Hub 8.0768 23413699.26 3368
Switch 19.9936 468971.6358 0
Inference:
On comparing the performance of HUB and SWITCH we can observe that
the throughput of switch is higher than that of hub. Delay in hub is much higher
when compared to switch. And Packet collision is negligible in switch whereas in
hub , the packet collision is high.

Result:
Switch makes a network perform better in terms of Throughput and Delay. In
HUB, there is inefficient way of communication. HUB is also not a self – configured
device and there is a starting delay. Switch is SMART device compared to Hub. It
serves the several dedicated links independent of each other. This feature improves
the throughput of network. Network downtime is less in case of Switch and because
of this it reduces the delay. Therefore, we conclude that SWITCH makes the network
Better in terms of Throughput and Delay when compared to HUB.

You might also like