Hot Downloads

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Range of PDU size

Range of PDU size 7 years 5 months ago #29843

  • longgone
  • longgone's Avatar
  • Offline
  • New Member
  • Posts: 6
  • Karma: 0
A LAN has a data rate of 4Mbps and a propagation delay between two stations at opposite ends of 20 micro secs. For what range of PDU sizes does stop-and-wait give an efficency of at least 50%?
The administrator has disabled public write access.

Re: Range of PDU size 7 years 5 months ago #29849

  • TheBishop
  • TheBishop's Avatar
  • Offline
  • Moderator
  • Posts: 1719
  • Thank you received: 8
  • Karma: 5
Is this a school question? If it is, tell us what you've done/thought of so far about how to approach it and we'll help you from there
The administrator has disabled public write access.

Re: Range of PDU size 7 years 5 months ago #29868

  • longgone
  • longgone's Avatar
  • Offline
  • New Member
  • Posts: 6
  • Karma: 0
yes, This is a class ?, here is what I have so far,
(L/B) / (L/B) + 20us = 50%
The administrator has disabled public write access.

Re: Range of PDU size 7 years 5 months ago #29877

  • S0lo
  • S0lo's Avatar
  • Offline
  • Moderator
  • Posts: 1577
  • Thank you received: 7
  • Karma: 3
I had a shot at it, lets hope it's correct.

Assuming that M in 4Mbps means 1000000. However, in computer terminology M could be 1024x1024 = 1048576. The question did not specify which so I'll use 1000000.

So what I understand from stop-and-wait is that the sender would send a data PDU and wait for an ACK message from the receiver. Once the ACK is received it will send the next PDU and wait again, and so on.

Lets define some variables:

t: The total time to transmit the data PDU (without waiting for ACK).
P: The size of the data PDU (That we need to find a range for)

We know that the Theoretical Speed = 4000000 bps = P / t bps

The total time to send a PDU and wait until we can send the next PDU = t + 20us + ACK time + 20us

The first 20us is obviously the propagation delay for sending the data PDU. The ACK time is not mentioned in the question :?, so the only way is to ignore it and assume it's equal to zero. the second 20us is the propagation delay of the ACK. The equation reduces to:

t + 40us

We know that efficiency = Actual Speed / Theoretical Speed

Actual Speed = P / (t + 40us) = 4000000t / (t + 40/1000000)

Theoretical Speed = 4000000

Dividing the two to get the efficiency = t / (t + 40/1000000)

The question wants the efficiency to be >= 50%. So

t / (t + 40/1000000) >= 0.5

Resolving the inequality math you will get:

t >= 40 us

But we don't want t. We want P right?. form above we know that P = 4000000 * t. So multiplying both sides of the inequality by 4000000

4000000 * t >= 40 * 4000000 us

P >= 160 bits

So the size of the PDU should be at least 160 bits to achieve an efficiency of 50% or more.


p.s. No guarantees. Please recheck ;)
Studying CCNP...

Ammar Muqaddas
Forum Moderator
www.firewall.cx
The administrator has disabled public write access.

PDU Range 7 years 5 months ago #29895

  • longgone
  • longgone's Avatar
  • Offline
  • New Member
  • Posts: 6
  • Karma: 0
Thanks S0lo, You have been a great help.
The administrator has disabled public write access.

Re: Range of PDU size 7 years 5 months ago #29896

  • S0lo
  • S0lo's Avatar
  • Offline
  • Moderator
  • Posts: 1577
  • Thank you received: 7
  • Karma: 3
Your always welcome longgone.
Studying CCNP...

Ammar Muqaddas
Forum Moderator
www.firewall.cx
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.089 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup