Throughput calculation in Statistical Multiplexing scenario

This is a discussion on Throughput calculation in Statistical Multiplexing scenario within the Networking/Device Communication forums, part of the General Programming Boards category; I found this particular homework question a bit confusing. Q) We have two communication sessions. Host A sends unlimited data ...

  1. #1
    Registered User
    Join Date
    Sep 2011
    Location
    Hong Kong
    Posts
    18

    Throughput calculation in Statistical Multiplexing scenario

    I found this particular homework question a bit confusing.

    Q) We have two communication sessions. Host A sends unlimited data to Host A' and Host B also sends unlimited amount of data to Host B'. Two sessions go through a shared link b/w router 1 and 2. Maximum transmission rate on shared link is 1Mbps which is also the bottleneck link.
    Suppose this is a packet-switched network implementing statistical multiplexing on shared link. Host A generates data at a rate of 2Mbps for 20% of the time while Host B generates data at a rate of 5Mbps for 5% of the time. The rest is idle time. Calculate the average throughput of Session A-A' and B-B'.

    My answer:
    19% of the time when A transmits data it will get the 1Mbps transmission speed (bottleneck).. 4% of the time B will get 1Mbps speed and 1% of the time each will get 0.5Mbps speed..Considering the time when host is busy: A-A' av throughput is = (19/100 + 1/100*0.5) / 0.2 = 0.975Mbps... B-B' av throughput is = (4/100 + 1/100*0.5) / 0.05 = 0.90Mbps..

    I have a feeling that the logic that I am applying is indeed correct but just wanted to confirm it..Thanks a lot!

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,592
    > Host A generates data at a rate of 2Mbps for 20% of the time
    Given your previous statement, this suggests to me that this would use 40% of the bandwidth of the link.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User
    Join Date
    Sep 2011
    Location
    Hong Kong
    Posts
    18
    So this means that Host B would then use 25% of bandwidth of the link = 0.25Mbps.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Challenging scenario - need help from Gurus
    By startingc in forum C Programming
    Replies: 12
    Last Post: 05-29-2010, 10:39 AM
  2. lock needed in this scenario?
    By George2 in forum C# Programming
    Replies: 1
    Last Post: 05-25-2008, 07:22 AM
  3. multiplexing help
    By kaijuu in forum C Programming
    Replies: 1
    Last Post: 04-11-2008, 09:22 AM
  4. multiplexing
    By kaijuu in forum C Programming
    Replies: 0
    Last Post: 03-29-2008, 06:47 AM
  5. logical progression of scenario
    By Leeman_s in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 12-10-2003, 06:53 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21