Calculate Networking Speed for 1500KB Packet

In summary, the time it takes to send a packet of size 1500 kilobytes from point A to point D, crossing three links of lengths 1000m, 2000m, and 3000m respectively with bandwidths of 100 KB/s, 1000 KB/s, and 500 KB/s, is approximately 45*(2+0.0000067) seconds, taking into account a 1 second congestion delay at each intermediate router. This is calculated based on the assumption that a bit travels at half the speed of light and a router must have the entire packet before it can process it.
  • #1
Cyborg31
38
0

Homework Statement



I would like to send a packet of size 1500 kilobytes from point A to
point B. There are a total of 3 links that it has to cross, of length 1000,
2000, 3000m respectively. The bandwidth on those links is 100, 1000,
and 500 kilobytes/second. Assume that there is no processing time,
but they have to wait about 1 second at each intermediate router due
to congestion. Assuming that a bit travels at about half the speed of
light in the medium, and that a router must have the entire packet
before it can process it, how long must I wait to get my packet?

Homework Equations





The Attempt at a Solution



I'm just trying to see if I'm understanding this correctly.

If Router A to Router B has a 1000m physical link with a bandwidth of 100 KB per second, then it takes 1 second to push 100 KB of data on to the physical line (of 1000m length). Once it is pushed on the physical line, and I have calculated that one bit takes 0.0000067 seconds to travel 1000m, that 100 KB of data takes 0.0000067 seconds to travel to Router B (which is 1000m away).

There is 1 second in congestion delay so it'd take 2 seconds (one second to push it on the line and one second in queue) + 0.0000067 seconds of physical travel tie for every 100 KB of data from Router A to Router B. So total time from A to B is 15 * (2 + 0.0000067) seconds.
 
Physics news on Phys.org
  • #2
To get from Router B to Router C, it has a 2000m physical link with a bandwidth of 1000 KB per second. So it takes 1/1000th of a second to push 1 KB of data on the line (of 2000m length). Once it is pushed on the physical line, and I have calculated that one bit takes 0.0000067 seconds to travel 2000m, that 1000 KB of data takes 0.0000067 seconds to travel to Router C (which is 2000m away).There is 1 second in congestion delay so it'd take 2 seconds (one second to push it on the line and one second in queue) + 0.0000067 seconds of physical travel tie for every 1000 KB of data from Router B to Router C. So total time from B to C is 15 * (2 + 0.0000067) seconds.Finally to get from Router C to Router D, it has a 3000m physical link with a bandwidth of 500 KB per second. So it takes 1/500th of a second to push 1 KB of data on the line (of 3000m length). Once it is pushed on the physical line, and I have calculated that one bit takes 0.0000067 seconds to travel 3000m, that 500 KB of data takes 0.0000067 seconds to travel to Router D (which is 3000m away).There is 1 second in congestion delay so it'd take 2 seconds (one second to push it on the line and one second in queue) + 0.0000067 seconds of physical travel tie for every 500 KB of data from Router C to Router D. So total time from C to D is 15 * (2 + 0.0000067) seconds.The total time from A to D is 45 * (2 + 0.0000067) seconds.
 
  • #3


To calculate the networking speed, we need to divide the size of the packet (1500 KB) by the total time it takes to travel through the network, including the congestion delays. So the networking speed would be 1500 KB / (15 * (2 + 0.0000067)) seconds, which is approximately 66.666 KB per second.
 

1. How do I calculate the networking speed for a 1500KB packet?

To calculate the networking speed for a 1500KB packet, you can use the formula: speed = packet size / time. First, convert the packet size from kilobytes (KB) to bits by multiplying by 8. Then, divide the result by the time it takes for the packet to be transmitted in seconds. This will give you the speed in bits per second (bps).

2. What is the standard size for a networking packet?

The standard size for a networking packet is typically 1500 bytes (or 1500KB). This is also known as the Maximum Transmission Unit (MTU) and is the largest amount of data that can be transmitted in a single packet.

3. How does packet size affect networking speed?

The larger the packet size, the longer it takes to transmit the data and therefore the lower the networking speed. This is because larger packets require more time to be processed and transmitted than smaller packets. However, larger packets can also increase efficiency by reducing the number of packets that need to be transmitted.

4. Can the networking speed vary for a 1500KB packet?

Yes, the networking speed can vary for a 1500KB packet depending on factors such as network congestion, distance between devices, and the quality of the network infrastructure. These variables can affect the time it takes for the packet to be transmitted and therefore impact the overall networking speed.

5. How can I improve the networking speed for a 1500KB packet?

To improve the networking speed for a 1500KB packet, you can try optimizing your network infrastructure, reducing network congestion, and decreasing the distance between devices. You can also consider using technologies such as Quality of Service (QoS) to prioritize network traffic and ensure the timely transmission of packets.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
2
Views
6K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
2K
  • Programming and Computer Science
Replies
15
Views
1K
  • Electromagnetism
Replies
5
Views
876
Replies
21
Views
4K
Replies
6
Views
2K
  • Special and General Relativity
Replies
13
Views
1K
  • Introductory Physics Homework Help
Replies
10
Views
1K
Replies
31
Views
6K
  • Cosmology
Replies
4
Views
1K
Back
Top