GATE Exam  >  GATE Questions  >  We have three stations P, Q, R connected in s... Start Learning for Free
We have three stations P, Q, R connected in serial manner. P is connected to Q through a 3Gbps fibre optic link and length is 500Km. Q is connected to R through 60Mbps link and length is 15Km.All the links are full duplex in nature. A file is sent from station A to C. Packet size is 1KB.We use sliding window protocol such that SWS=RWS. Find the optimal SWS packets.
    Correct answer is '32'. Can you explain this answer?
    Verified Answer
    We have three stations P, Q, R connected in serial manner. P is connec...
    First we have to calculate RTT.
    RTT= Transmission period + 2*propagation delay
    = (8192/3*109) +(8192/60 *106) + 2*(5*105/2*108)(15*103/2*108)
    = 5.29 ms.
    Number of packets to be sent =5.29 *60 Mbps =31.74≈32 packets.
    View all questions of this test
    Most Upvoted Answer
    We have three stations P, Q, R connected in serial manner. P is connec...

    Analysis of the network:
    - Link P-Q: 3Gbps, 500Km
    - Link Q-R: 60Mbps, 15Km
    - Packet size: 1KB
    - Sliding Window Size (SWS) = Receiver Window Size (RWS)

    Calculating transmission time:
    - Time taken to transmit 1 packet on P-Q link = Packet size / Link speed = 1KB / 3Gbps = 8 microseconds
    - Time taken to transmit 1 packet on Q-R link = Packet size / Link speed = 1KB / 60Mbps = 133.33 microseconds

    Calculating propagation delay:
    - Propagation delay on P-Q link = Distance / (speed of light in fiber) = 500Km / (2 * 10^5 Km/s) = 2.5 milliseconds
    - Propagation delay on Q-R link = 15Km / (2 * 10^5 Km/s) = 0.075 milliseconds

    Calculating round-trip time (RTT):
    - RTT = 2 * (Propagation delay on P-Q link + Propagation delay on Q-R link) = 2 * (2.5ms + 0.075ms) = 10.15 milliseconds

    Calculating bandwidth-delay product (BDP):
    - BDP = Bandwidth * RTT = 3Gbps * 10.15ms = 30.45Mb

    Calculating optimal SWS:
    - Optimal SWS = BDP / Packet size = 30.45Mb / 1KB = 30,450 packets
    - As SWS should be a power of 2, the closest power of 2 to 30,450 is 2^15 = 32,768 packets
    - Therefore, the optimal SWS packets that can be sent is 32.
    Explore Courses for GATE exam

    Similar GATE Doubts

    We have three stations P, Q, R connected in serial manner. P is connected to Q through a 3Gbps fibre optic link and length is 500Km. Q is connected to R through 60Mbps link and length is 15Km.All the links are full duplex in nature. A file is sent from station A to C. Packet size is 1KB.We use sliding window protocol such that SWS=RWS. Find the optimal SWS packets.Correct answer is '32'. Can you explain this answer?
    Question Description
    We have three stations P, Q, R connected in serial manner. P is connected to Q through a 3Gbps fibre optic link and length is 500Km. Q is connected to R through 60Mbps link and length is 15Km.All the links are full duplex in nature. A file is sent from station A to C. Packet size is 1KB.We use sliding window protocol such that SWS=RWS. Find the optimal SWS packets.Correct answer is '32'. Can you explain this answer? for GATE 2024 is part of GATE preparation. The Question and answers have been prepared according to the GATE exam syllabus. Information about We have three stations P, Q, R connected in serial manner. P is connected to Q through a 3Gbps fibre optic link and length is 500Km. Q is connected to R through 60Mbps link and length is 15Km.All the links are full duplex in nature. A file is sent from station A to C. Packet size is 1KB.We use sliding window protocol such that SWS=RWS. Find the optimal SWS packets.Correct answer is '32'. Can you explain this answer? covers all topics & solutions for GATE 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for We have three stations P, Q, R connected in serial manner. P is connected to Q through a 3Gbps fibre optic link and length is 500Km. Q is connected to R through 60Mbps link and length is 15Km.All the links are full duplex in nature. A file is sent from station A to C. Packet size is 1KB.We use sliding window protocol such that SWS=RWS. Find the optimal SWS packets.Correct answer is '32'. Can you explain this answer?.
    Solutions for We have three stations P, Q, R connected in serial manner. P is connected to Q through a 3Gbps fibre optic link and length is 500Km. Q is connected to R through 60Mbps link and length is 15Km.All the links are full duplex in nature. A file is sent from station A to C. Packet size is 1KB.We use sliding window protocol such that SWS=RWS. Find the optimal SWS packets.Correct answer is '32'. Can you explain this answer? in English & in Hindi are available as part of our courses for GATE. Download more important topics, notes, lectures and mock test series for GATE Exam by signing up for free.
    Here you can find the meaning of We have three stations P, Q, R connected in serial manner. P is connected to Q through a 3Gbps fibre optic link and length is 500Km. Q is connected to R through 60Mbps link and length is 15Km.All the links are full duplex in nature. A file is sent from station A to C. Packet size is 1KB.We use sliding window protocol such that SWS=RWS. Find the optimal SWS packets.Correct answer is '32'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of We have three stations P, Q, R connected in serial manner. P is connected to Q through a 3Gbps fibre optic link and length is 500Km. Q is connected to R through 60Mbps link and length is 15Km.All the links are full duplex in nature. A file is sent from station A to C. Packet size is 1KB.We use sliding window protocol such that SWS=RWS. Find the optimal SWS packets.Correct answer is '32'. Can you explain this answer?, a detailed solution for We have three stations P, Q, R connected in serial manner. P is connected to Q through a 3Gbps fibre optic link and length is 500Km. Q is connected to R through 60Mbps link and length is 15Km.All the links are full duplex in nature. A file is sent from station A to C. Packet size is 1KB.We use sliding window protocol such that SWS=RWS. Find the optimal SWS packets.Correct answer is '32'. Can you explain this answer? has been provided alongside types of We have three stations P, Q, R connected in serial manner. P is connected to Q through a 3Gbps fibre optic link and length is 500Km. Q is connected to R through 60Mbps link and length is 15Km.All the links are full duplex in nature. A file is sent from station A to C. Packet size is 1KB.We use sliding window protocol such that SWS=RWS. Find the optimal SWS packets.Correct answer is '32'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice We have three stations P, Q, R connected in serial manner. P is connected to Q through a 3Gbps fibre optic link and length is 500Km. Q is connected to R through 60Mbps link and length is 15Km.All the links are full duplex in nature. A file is sent from station A to C. Packet size is 1KB.We use sliding window protocol such that SWS=RWS. Find the optimal SWS packets.Correct answer is '32'. Can you explain this answer? tests, examples and also practice GATE tests.
    Explore Courses for GATE exam
    Signup for Free!
    Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
    10M+ students study on EduRev