INFX 540 Assignment
INFX 540 Assignment
C00481669
CSCE 513 & INFX 540
Assignment 1
1.
Access Technology Transmission Rate (TR) Comment
2. Consider two hosts, A and B, connected by a single link of rate R bps. Suppose that the two
hosts are separated by m meters, and suppose the propagation speed along the link is s meters/
sec. Host A is to send a packet of size L bits to Host B. (15pts)
Answers:
rate = R bps; d = m meters, propagation speed = s meters/ sec; Length = L bits; N=1
d) If dprop = 0, the last bit of the packet would be at Host B at time t = dtrans. However, if
dprop = m/s, the last bit of the packet would just be leaving Host A at time t = dtrans.
e) If dprop > dtrans, the first bit of the packet will still be in the link at time t = dtrans.
f) If dprop < dtrans, the first bit would at Host B at time t = dtrans.
8
g) s= 2.5*10
L =120 bits
3
R =56 kbps = 56*10 bps
dprop = dtrans => m/s = L/R => m = (sL)/R
8 3
m = (2.5*10 x 120) / (56*10 )
5
m = 5.4 *10 meters
3. length = L bits
number of links, N = 3
link i, i = 1,2,3 (meaing that the values for i is the same for the other two links)
distance = di
propagation speed = si
R=Ri
dproc = dproc
dqueue=0
In terms of di, si, Ri, (i=1,2,3), and L, the total end-to-end delay for the packet is:
dend-to-end = (N-1)dproc + (N)dtrans + (N)dprop
dend-to-end = (2)dproc + (3)(L/Ri) + (3)(di/si)
dend-to-end = dproc + dproc + L1/R1 + L2/R2 + L3/R3 + d1/s1 + d2/s2 + d3/s3
Suppose:
Recall: k = 1,...M
Maximum throughput all paths, M = [min{R1k, R2k,..., RNk}]/M
7. number of links, N = 2
number of packets, n = 2
size of packets L, L1=L2=L
total dprop = N(dprop) = 2(dprop)
7 8
a) dprop = d/s = (2*10 ) / (2.5*10 ) = 0.08 secs
6 5
bandwidth-delay product, R dprop = (5*10 ) * (0.08) = 4*10 bits
b) L= 8*105 bits
maximum number of bits that will be in the link at any given time = R
dprop
6
maximum number of bits that will be in the link at any given time = (5*10 ) * (0.08)
5
maximum number of bits that will be in the link at any given time = 4*10 bits
d) The width of one bit in the link, L = s/R = (2.5*108 ) / (5*106) = 50m/bit
Since the length of a football field is 105 meters and the length of 1 bit is 50 meters, a bit is
not longer than a football field.
a) Time to move the message from the source host to the first packet switch = dtrans = 0.2 secs
dend-to-end = (N)dtrans = 3(0.2) = 0.6 secs