/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} Problem 24 The Jacobson/Karels algorithm se... [FREE SOLUTION] | 91Ó°ÊÓ

91Ó°ÊÓ

The Jacobson/Karels algorithm sets TimeOut to be 4 mean deviations above the mean. Assume that individual packet round-trip times follow a statistical normal distribution, for which 4 mean deviations are \(\pi\) standard deviations. Using statistical tables, for example, what is the probability that a packet will take more than TimeOut time to arrive?

Short Answer

Expert verified
0.0793

Step by step solution

01

Identify the Given Information

The problem provides that 4 mean deviations are equal to \(\pi\) standard deviations. The distribution of packet round-trip times follows a normal distribution.
02

Calculate the Z-Score

The Z-score corresponds to how many standard deviations an observation is from the mean. Since 4 mean deviations equal to \(\pi\) standard deviations, the Z-score for the time-out value is \(\pi\).
03

Use the Z-Score to Find Probability

Using statistical tables (Z-tables), look up the cumulative probability that a packet will arrive within \(\pi\) standard deviations from the mean. The Z-score of \(\pi\) is approximately 1.41. The cumulative probability for Z = 1.41 is about 0.9207, which reflects the proportion of packets arriving within the time-out.
04

Calculate the Probability of Exceeding TimeOut

The probability of a packet taking more than the timeout time to arrive is the complement of the cumulative probability found in Step 3. It is given by \(\ 1 - 0.9207 = 0.0793 \).

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with 91Ó°ÊÓ!

Key Concepts

These are the key concepts you need to understand to accurately answer the question.

Normal Distribution
A normal distribution, also known as a Gaussian distribution, is a type of continuous probability distribution for a real-valued random variable. This distribution is symmetrical, centered around its mean, and characterized by its bell-shaped curve.

Key properties include:
  • The mean, median, and mode of the distribution are equal.
  • The curve is symmetrical around the mean.
  • Approximately 68% of the data falls within one standard deviation of the mean, 95% within two, and 99.7% within three.

In the context of packet round-trip times, we assume that these times are normally distributed. This assumption allows us to use standard statistical methods to make inferences about the likelihood of different outcomes.
Z-Score
A Z-score, or standard score, quantifies the number of standard deviations a data point is from the mean of its distribution. Calculating the Z-score is essential for understanding how extreme or typical a particular observation is within a dataset.

The formula for a Z-score is:
\ Z = \frac{(X - \mu)}{\sigma} \
where:
  • \(X\): the value of the observation
  • \(\mu\): the mean of the distribution
  • \(\sigma\): the standard deviation of the distribution

In this exercise, the Z-score for the timeout value is given by \ \pi \, which corresponds approximately to 1.41 standard deviations. This Z-score helps us determine how unusual or usual a packet's round-trip time is compared to the mean.
Cumulative Probability
Cumulative probability refers to the probability that a random variable will take on a value less than or equal to a specific value. It is the accumulation of probabilities up to that point and is obtained using the cumulative distribution function (CDF).

To find the cumulative probability for a Z-score, we use Z-tables. These tables provide the proportion of observations that lie below a given Z-score in a standard normal distribution.

In our scenario, we found that the Z-score of 1.41 corresponds to a cumulative probability of 0.9207. This means that 92.07% of packets will arrive within the timeout value set by the Jacobson/Karels algorithm.
Packet Round-Trip Time
Packet round-trip time (RTT) measures the time it takes for a packet to travel from a source to a destination and back. This metric is crucial in network performance assessment and impacts the setting of timeouts in protocols.

Factors affecting RTT include:
  • Network congestion and traffic levels.
  • Quality of the transmission medium.
  • Router and switch performance.

In the context of the Jacobson/Karels algorithm, RTT is assumed to be normally distributed, enabling the calculation of probabilities based on standard deviations. Setting timeouts effectively minimizes packet loss and improves network reliability.

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

If host \(\mathrm{A}\) receives two SYN packets from the same port from remote host \(\mathrm{B}\), the second may be either a retransmission of the original or else, if B has crashed and rebooted, an entirely new connection request. (a) Describe the difference as seen by host A between these two cases. (b) Give an algorithmic description of what the TCP layer needs to do upon receiving a SYN packet. Consider the duplicate/new cases above, and the possibility that nothing is listening to the destination port.

Consult Request for Comments 793 to find out how TCP is supposed to respond if a FIN or an RST arrives with a sequence number other than NextByteExpected. Consider both when the sequence number is within the receive window and when it is not.

Suppose that, when a TCP segment is sent more than once, we take SampleRTT to be the time between the original transmission and the ACK, as in Figure \(5.10(\mathrm{a}) .\) Show that if a connection with a 1-packet window loses every other packet (i.e., each packet is transmitted twice), then EstimatedRTT increases to infinity. Assume TimeOut = EstimatedRTT; both algorithms presented in the text always set TimeOut even larger. Hint: EstimatedRTT \(=\) EstimatedRTT \(+\beta \times(\) SampleRT \(-\) EstimatedRTT).

Suppose that, when a TCP segment is sent more than once, we take SampleRTT to be the time between the most recent transmission and the ACK, as in Figure \(5.10\) (b). Assume, for definiteness, that TimeOut \(=2 \times\) EstimatedRTT. Sketch a scenario in which no packets are lost but EstimatedRTT converges to a third of the true RTT, and give a diagram illustrating the final steady state. Hint: Begin with a sudden jump in the true RTT to just over the established TimeOut.

Read the man page (or Windows equivalent) for the Unix/Windows utility netstat. Use netstat to see the state of the local TCP connections. Find out how long closing connections spend in TIME_WAIT.

See all solutions

Recommended explanations on Computer Science Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.