subject
Computers and Technology, 22.02.2021 19:20 kaytek1

There are two hosts A and B that are connected by a path of Z links (and Z1 switches), each with a link capacity of B bps and a propagation delay of 2ms. There
are no queuing delays. Assume that A wants to send a M-bit file to B, with a header
of size h (Assume that the M-bit file could be contained in a single packet). Answer
the following questions:
a. (3pts) Derive an equation showing how long it takes A to send an M-bit file to B over
this network, assuming the network is packet-switched with store-and-forward switches.
b. (3pts) ‘Cut through routing’ is an alternative to store-and-forward where a switch
waits for the first h bits of a packet to arrive, and then begins transmitting the packet
on the next link immediately (even if the last bits of the packet haven’t arrived yet).
Derive an equation showing how long it takes A to send an M-bit file to B over this
network, assuming the network is packet-switched with cut-through switches.
c. (3pts) Let’s assume our network uses circuit switching. When A wants to send
a file to B, it first sends one ‘setup’ packet of exactly k bits (including both header and
payload) to B (requesting as much capacity as possible) and all of the switches act like
normal store-and-forward switches. After B receives the setup packet, a ‘circuit’ has
been established and the switches no longer use store-and-forward: a bit coming
in on a switch immediately moves to the output port at the switch. B sends the k bit
packet back to A, and then A is free to begin transmitting her file with no headers
attached. Derive an equation showing how long it takes A to sends an M-bit file to B
over this network, which is circuit switched.
d. (4 pts) Let k=100 bytes, Z = 8, B = 50 Mbps, and h= 50 bytes.
(1) (2pts) Which of the above networks will transmit a 250-byte file fastest?
(2) (2pts) Which of the above networks will transmit a 29.5-Mbyte file fastest?
Note: 1 byte = 8 bits and 1 ms = 10−3
s


There are two hosts A and B that are connected by a path of Z links (and Z1

switches), each with

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 06:00
Which statement is true of web-based social media? a.they allow consumers to interact with and update content. b.they cannot be updated easily, as compared to print media. c.they are expensive to produce and maintain, as compared to print and television. d.they can exist independent of the internet.
Answers: 1
question
Computers and Technology, 23.06.2019 07:50
Apython programming question: assume s is a string of lower case characters. write a program that prints the number of times the string 'bob' occurs in s. for example, if s = 'azcbobobegghakl', then your program should print number of times bob occurs is: 2
Answers: 3
question
Computers and Technology, 24.06.2019 08:30
Why might you choose to create a functional resume
Answers: 1
question
Computers and Technology, 24.06.2019 11:00
Each row in a database is a set of unique information called a(n) ? a.) table. b.) record. c.) object. d.) field.
Answers: 2
You know the right answer?
There are two hosts A and B that are connected by a path of Z links (and Z1 switches), each with a...
Questions
question
Mathematics, 20.09.2020 07:01
question
Chemistry, 20.09.2020 07:01
question
English, 20.09.2020 07:01
Questions on the website: 13722363