Sei sulla pagina 1di 7

Module –I

Basic Experiment
Performance and Analyze of a set of Local Area Networks
Interconnected by Switches and Hubs

Aim:

Tools Required:

Block Diagram:

Important Formulae

Payload Received = Packet Received * Packet Size

Payload Received∗8
Throughput (Mbps) = Simulation Time∗106
Case-1
(When Packet Size= 1460 bytes; Inter-arrival time= 20000s)

Hub (Complete Table)


Sourc Destinati Packet Packet Payload Payload Throughput(Mb Delay(micros
e Id on Id Transmitt Receive Transmitt Received ps) ec)
ed d ed
2 3 4999 4989 7298540 7283940 0.582715 8404.978633
4 5 4999 4997 7298540 7295620 0.58365 8491.495217
6 7 4999 4996 7298540 7294160 0.583533 8339.239712
8 9 4999 4996 7298540 7294160 0.583533 8386.539952
10 11 4999 4996 7298540 7294160 0.583533 8373.951001
12 13 4999 4990 7298540 7285400 0.582832 8429.419479
14 15 4999 4990 7298540 7285400 0.582832 8377.401523
16 17 4999 4993 7298540 7289780 0.583182 8398.37885
Sum= 4.66581 Sum=
67201.40437

Switch (Complete Table)


Sourc Destina Packet Packet Payload Payload Throughput( Delay(micro
e Id tion Id Transmitted Received Transmitted Received Mbps) sec)
2 3 4999 4999 7298540 7298540 0.583883 301.806985
4 5 4999 4999 7298540 7298540 0.583883 45999.6375
2
6 7 4999 4999 7298540 7298540 0.583883 309.809386
8 9 4999 4999 7298540 7298540 0.583883 295.805185
10 11 4999 4999 7298540 7298540 0.583883 297.810782
12 13 4999 4999 7298540 7298540 0.583883 297.812126
14 15 4999 4999 7298540 7298540 0.583883 293.81227
16 17 4999 4999 7298540 7298540 0.583883 297.814815
Sum= Sum=
4.671064 48094.3090
7

Hub and Switch Comparative Table


Component Total Throughput Delay (microsec) Packets Collided
(Mbps)
Hub 4.66581 67201.4 53351
Switch 4.671064 48094.31 0

Thoughput (Mbps)
4.67
4.67
4.67
Throughput (Mbps)

4.67
4.67 Thoughput (Mbps)

4.67
4.67
4.67
4.66
4.66
Hub Switch
Delay (microsec)
80000
70000
60000
Delay (Microsec)

50000
Delay (microsec)
40000
30000
20000
10000
0
Hub Switch

Packets Collided
60000
Packets Collided

40000 Packets Collided

20000
0
Hub Switch

Task -1
(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 3 31249 31210 31249000 31210000 2.4968 54320.710
75
4 5 31249 23896 31249000 23896000 1.91168 12757879.
1
6 7 31249 13423 31249000 13423000 1.07384 28412355.
62
8 9 31249 9230 31249000 9230000 0.7384 35282787.
56
10 11 31249 7379 31249000 7379000 0.59032 37456144.
36
12 13 31249 5870 31249000 5870000 0.4696 39975724.
6
14 15 31249 5150 31249000 5150000 0.412 41408523.
49
16 17 31249 4498 31249000 4498000 0.35984 40995999.
23
Sum= Sum=
8.05248 236343734
.7

Switch (Complete Table)


Sour Destina Packet Packet Payload Payload Throughput( Delay(micr
ce Id tion Id Transmitted Received Transmitted Received Mbps) osec)
2 3 3124 3124 3124000 3124000 2.4992 237.50871
3
4 5 3124 3124 3124000 3124000 2.4992 467288.86
45
6 7 3124 3124 3124000 3124000 2.4992 224.18989
1
8 9 3124 3124 3124000 3124000 2.4992 237.50871
3
10 11 3124 3124 3124000 3124000 2.4992 237.51670
9
12 13 3124 3124 3124000 3124000 2.4992 250.83768
2
14 15 3124 3124 3124000 3124000 2.4992 244.18042
2
16 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.05248 236 34417
Switch 19.9936 0.468971 0

Thoughput(Mbps)
25

20
Throughput (Mbps)

15 Thoughput(Mbps)

10

0
Hub Switch

Delay (sec)
250

200

150 Delay (sec)


Delay (sec)

100

50

0
Hub Switch
Packets Collided
40000
35000
30000
25000
Packets Collided
Packets

20000
15000
10000
5000
0
Hub Switch

Inference:

Potrebbero piacerti anche