Two hosts simultaneously send data through the network with a capacity of 1 Mbps. Host A uses UDP and transmits 100-byte packets every 1 ms. Host B generates data with a rate of 600 kbps and uses TCP. Which host will obtain higher throughput and why? Explain your answer.
Added by Matthew H.
Step 1
Host A sends 100-byte packets every 1 ms. First, convert bytes to bits (since 1 byte = 8 bits): 100 bytes/packet × 8 bits/byte = 800 bits/packet. Since Host A sends one packet every 1 ms, it sends 1000 packets per second (as 1 second = 1000 ms). Therefore, the Show more…
Show all steps
Your feedback will help us improve your experience
Akash M and 91 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Two hosts, one on the East (host A) and one on the west coast (host B) of the USA, are exchanging data. Suppose A is sending a large file to B. The file is split into packets of size 8000 bits. The hosts are using a stop-and-wait protocol. Therefore, A has to wait for an Ack before sending the next packet. They are connected by a 1 Gbps link. Assume that the round trip delay between them is 30 ms. Thus, the packet leaves A, reaches B, and then an acknowledgement leaves B and reaches A. This round-trip takes 30 ms. Calculate the throughput and link utilization.
Aarya B.
a) A router has a single queue (buffer) that receives and transmits packets from multiple users to an output link. The link speed is 10 Mbps (10 x 10^6), the average packet arrival rate is 1,200 packets/sec, and the average packet size is 512 bytes. Assuming a basic queuing model, what is the average service rate in packets/sec? What is the traffic intensity? b) A router uses an IP packet size of 512 bytes and has a link speed of 100 Mbps (100 x 10^6). What is the efficiency for the standard IP packet header size? What is the link goodput?
Akash M.
Suppose you transfer 16 bytes of data in each Ethernet packet on your 10 Mbit/s network. What will be your effective data rate if you can use all the bandwidth yourself? Group of answer options: 10 Mbit/s 5 Mbit/s 2.5 Mbit/s Since an Ethernet packet must have a minimum size, I cannot send packets with so little data.
Sri K.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD