Logo/

Untitled Flashcards

Log in

Made with ScholarlyMake flashcards like these from your own notes

Untitled Flashcards

Questions and answers

11 cards
  1. Question:What does the source do if less than 50 of the packets had the congestion bit set in the last windows worth of packets?

    Answer:The source increases its congestion window by one packet.

  2. Question:What does the source do if 50 or more of the last windows worth of packets had the congestion bit set?

    Answer:The source decreases its congestion window to 0.875 times the previous value.

  3. Question:How does Random Early Detection (RED) notify the source of congestion?

    Answer:RED implicitly notifies the source of congestion by dropping one of its packets, leading to subsequent timeout or duplicate ACK.

  4. Question:Why does the gateway drop packets earlier than it would have to in RED?

    Answer:The gateway drops packets earlier than it would have to in RED to notify the source to decrease its congestion window sooner, aiming to prevent the need to drop numerous packets later on.

  5. Question:How does RED work with an explicit feedback scheme?

    Answer:RED could be adapted to work with an explicit feedback scheme by marking a packet instead of dropping it; each arriving packet may drop with a drop probability when the queue length exceeds a drop level, following the concept of early random drop.

  6. Question:What does the 1st RED compute in its algorithm?

    Answer:The 1st RED computes the average queue length (AvgLen) using the formula: AvgLen = (1 - Weight) * AvgLen + Weight * SampleLen, where Weight determines the time constant of the filter.

  7. Question:What are the two queue length thresholds in the 2nd RED and how do they trigger activity?

    Answer:The 2nd RED has two queue length thresholds: MinThreshold and MaxThreshold. When a packet arrives at the gateway, RED compares the current AvgLen with these thresholds to determine the activity: if AvgLen < MinThreshold, queue the packet; if MinThreshold < AvgLen < MaxThreshold, drop the arriving packet with a calculated probability (P) based on the thresholds.

  8. Question:Why does RED aim to distribute packet drops in time and avoid clustering of drops?

    Answer:RED aims to distribute packet drops in time to avoid clustering as closely spaced drops are less likely than widely spaced drops; clustering of drops could lead to multiple drops in a single connection, causing undesirable effects on the connection's window size.

  9. Question:What is the purpose of RED dropping a small percentage of packets when AvgLen exceeds MinThreshold?

    Answer:The purpose of RED dropping a small percentage of packets when AvgLen exceeds MinThreshold is to cause a few TCP connections to reduce their window sizes, subsequently reducing the rate of packets arriving at the router and avoiding congestion.

  10. Question:What is the significance of MaxThreshold in RED and how is it related to MinThreshold?

    Answer:MaxThreshold in RED is usually set to twice the size of MinThreshold. The probability of dropping packets is proportional to the bandwidth share a flow is getting, and MaxP is typically set to drop roughly one out of 50 packets when the average queue size is halfway between the two thresholds.

  11. Question:What is the concept of Source-Based Congestion Avoidance and how does it work with TCP Vegas?

    Answer:Source-Based Congestion Avoidance involves the source monitoring signs of congestion from routers, such as growing RTT and flattening sending rate. TCP Vegas picks up congestion by measuring BaseRTT when the flow is not congested, comparing ActualRate with ExpectedRate, and adjusting the congestion window linearly based on the difference.