Escolar Documentos
Profissional Documentos
Cultura Documentos
The large change early in the simulation reflects the sensitivity of averages to
the relatively small number of samples collected. Towards the end of the
simulation, the average stabilizes. The curve starts settling after 3hr to 6hrs,
finally at around 1.42 sec i.e mean time average queue delay.
Graph: Time Average Queue Size: Simulation for 8hrs
Graphs of the mean queuing delay and the time-averaged queue size are very
similar. This is because of the large number of well-dispersed queue insertions
and removals that occur during the simulation, the difference between the
final values of the two statistics is negligible. The curve starts settling after 3hr
to 6hrs, finally at around 3.58 i.e mean queue time average size.
Ans 2. Node Model:
L required= 20
Note: This model is the sum of two Poisson (exponential arrival rates)
processes and the arrival rate for this sum is the sum of the two arrival
rates.
a)
L = /(1- ) = 20
=> = 20/21
= 28800/9000
= 3.2
eff = src + src2
= 2.5 + 1/t inter arrival src2
= eff/
On solving,
t inter arrival src2 = 1826.1 m sec
= 1.826 sec
b)
Graph: Time Average Queue Size: Simulation for 75hrs
My boss tells me that the average of 20 packets in the system and the
corresponding average time in the system is too high. He thinks we can reprogram the server so that it processes each fixed size 9000 bit packet in
9000/28500 seconds and this is fixed. To model this we need to change the
service rate of the server to 28,500 bit per second and change the packet
size to be constant.
Earlier packet size was exp(9000) meaning that the size of the generated
packets was exponentially distributed with mean size of 9k bits per packet.
And service capacity was 28800 bits/sec.
Thus, my boss is asking me to remodel for constant packet size & bit lower
service capacity.
Graph: Comparing Time Average Queue Size: Simulation for 75hrs
Red Curve: C=28500 bps & constant packet size -> The curve starts settling
after 56hr to 75hrs, finally at around 13.57 i.e mean time average queue
size
Blue Curve: C=28800 bps & exponential packet size -> The curve starts settling
after 56hr to 75hrs, finally at around 21.6 i.e mean time average queue size
Lets gauge the performance of both curves based on the number of bits
received by the sink in a fixed time. My taking this approach because when
packet size was exponential, we cannot comment on the performance just
based on the number of packets received.
As we can see that the blue curve settles with mean traffic (bps) of around
27500 bps while red curve settles with mean traffic (bps) of around 27450.
Thus, its advisable to keep packet size exponential rather than making it
constant.
Ans 3. Node Model: Tandem server or servers in series and can represent
two routers in sequence. Here, we
added another queue that takes
packets, the output from the original
server, as input to the new server,
Server_2. The attributes of the new
server are exactly the same as the
original server.
In a Tandem Queuing System packet
must visit both servers before service is completed. For cases in which
packet arrives according to Poisson process and service time in each station
is exponential.
Therefore,
Total Average Time in System = average times at individual stations
Graph: Time Average Queue Size: Simulation for 75hrs
Red Curve: Mean time average queue size for server2 is approx 5.6
Blue Curve: Mean time average queue size for server is approx 21.6
As we can infer from the graph that the time average queue size of server2 is
almost constant while time average queue size of server varies & settles
when it gets full. Until server is full, the sources will push packets into it at
the rate in which they generate which is variable (starting of curve). But
server2 always gets packets at constant rate from server which is
transmission from server to link + propagation.