Question

Nagle's algorithm A.What is the purpose of Nagle's algorithm? B.Do delayed acknowledgements and Nagle's algorithm interfere?...

Nagle's algorithm

A.What is the purpose of Nagle's algorithm?

B.Do delayed acknowledgements and Nagle's algorithm interfere?

C. Are there situations where Nagle's algorithm is not desirable?

D. Can you disable Nagle's algorithm on your machine? Describe the operating system you

are using to answer this question.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

A.

1. The Nagle's algorithm was created by John Nagle

2. It helps in improving the efficiency of TCP/IP network by solving the congestion created by small packets on the network

3. The algorithm detects small sized packets over the network and accumulates them into large TCP packets.This method is called nagling.

4. It efficiently uses the bandwidth of the network.

5. Nagle's Algorithm was published in RFC 896 in 1984

B.

If the Client uses a technique of Delayed Acknowledgement and send s a request to Server.The Server sends a full-sized packet and a small sized packet.Then the Client can delay the acknowledgement as it has to send acknowledgement for two full-sized packet .At the server's side Nagle's algorithm doesnot allow the server to send data unless acknowledgement is received .Thus this creates a deadlock scenario.

C.The situation where Nagle's Algorithm is not desirable :

1. Nagle's Algorithm is only suitable for TCP,other protocols don't support it.

2. It is not benefited for fast transmission of data

D.

To disable,

1. type in RUN Regedit

2.open Registry settings.

3. Select from the drop down menu

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interface.

4.Select the IP Address of the label DhcpIPAddress

5.To check the IP Address use WIN KEY + X > Control Panel > Network and Internet > Network and Sharing Center > Connections > Details > IPv4 Address.

6.Right-click New > DWORD (32-bit) Value.

7.This will , create two DWORD Values; name one TcpAckFrequency and the other TCPNoDelay.

8.Finally, double-click on each one and set their parameters to 1.

This will disable the Nagle's algorithm

Add a comment
Know the answer?
Add Answer to:
Nagle's algorithm A.What is the purpose of Nagle's algorithm? B.Do delayed acknowledgements and Nagle's algorithm interfere?...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Dijkstra's Algorithm Using the following graph, please answer each question below. ​ Dijkstra's Algorithm 5) Consider...

    Dijkstra's Algorithm Using the following graph, please answer each question below. ​ Dijkstra's Algorithm 5) Consider the following graph: 80 70 90 60 10 Use Dijkstra's algorithm to find the costs of the shortest paths from A to each of the other vertices. Show your work at every step. a. b. Are any of the costs you computed using Dijkstra's algorithm in part (a) incorrect? Why or whynot? Explain how you can use Dijkstra's algorithm the recover the actual paths...

  • Question 6 Let G be the weighted graph (a) Use Dijkstra's algorithm to find the shortest path from A to F. You can...

    Question 6 Let G be the weighted graph (a) Use Dijkstra's algorithm to find the shortest path from A to F. You can do all the work on a single diagram, but, to show that you have used the algorithm correctly, if an annotation needs updating do not erase itjust put a line through it and write the new annotation above that b) In what order are the vertices added to the tree? (c) Notice that the algorithm does not,...

  • Please help me with this answer. Performance Comparison for Dijkstra Algorithm and Bellman-Ford Algorithm Problem Description...

    Please help me with this answer. Performance Comparison for Dijkstra Algorithm and Bellman-Ford Algorithm Problem Description The shortest path problem is one of most important problems in graph theory and computer science in general. Shortest path problem is one of typical optimization problems. Given a graph G = (V,E), the goal is to nd a minimum cost path from s → t, s,t ∈ V . This variant is called one-to-one shortest path problem. Other variants are one-to-all (compute shortest...

  • Here is a recursive algorithm that answers the same question as posed on Group HW3, finding...

    Here is a recursive algorithm that answers the same question as posed on Group HW3, finding the number of people who are taller than everyone before them in line. NumCanSeeRec(a1,... , an : list of n 2 1 distinct heights) (a) ifn -1 then (b return 1 (c) c= ŅumCanSeeRee(a1, , an-1) d) for i:- 1 ton- 1 (e) if a, an then return c (g) return c+1 Answer the following questions about this algorithm. Please show your work. (a)...

  • D Question 3 5 pts a) Describe the purpose of a growth chart. b) Explain the...

    D Question 3 5 pts a) Describe the purpose of a growth chart. b) Explain the techniques used to measure infants and how the results are evaluated. c) What can a parent expect to learn by using a growth chart and how is "normal" growth measured?

  • (a) Your company participates in a competition and the fastest algorithm wins. You know of two...

    (a) Your company participates in a competition and the fastest algorithm wins. You know of two different algorithms that can solve the problem in the competition. • Algorithm I solves problems by dividing them into five subproblems of half the size, recursively solving each subproblem, and then combining the solutions in linear time. • Algorithm 2 solves problems of size n by dividing them into 16 subproblems of size n/4, recursively solving each subproblem, and then combining the solutions in...

  • You are given an algorithm that uses T(n) a n2b.3" basic operations to solve a problem...

    You are given an algorithm that uses T(n) a n2b.3" basic operations to solve a problem of size n, where a and b are some real non-negative constants. Suppose that your machine can perform 400,000,000 basic operations per second (a) If a = b = 1, how long does it take for your algorithm to solve problems of size n = 10, 20, 50. For each size of n, include the time in seconds and also using a more appropriate...

  • The DFT is a sampled version of the DTFT of a finite-length sequence; i.e., N-1 (P9.25-1) Furthermore, an FFT algorithm...

    The DFT is a sampled version of the DTFT of a finite-length sequence; i.e., N-1 (P9.25-1) Furthermore, an FFT algorithm is an efficient way to compute the values X Now consider a finite-length sequence xin] whose length is N samples.We want to evaluate X(z) the z-transform of the finite-length sequence, at the following points in the z-plane where ris a positive number. We have available an FFT algorithm (a) Plot the points z in the z-plane for the case N-8...

  • When you are asked to develop an algorithm, you can provide either pseudocode or actual C++...

    When you are asked to develop an algorithm, you can provide either pseudocode or actual C++ code. D 1. Assume you have a singly-linked list named L. The list header contains only one pointer, to the front of the list. Write an algorithm that displays each node starting with the first. Enter answer... 2. In words, describe an approach to displaying the list L in reverse order. Remember that L's header contains only a pointer to the first node. Enter...

  • 1. Exercise 3.7 of the textbook. An algorithm prints the following pattern: * * * *...

    1. Exercise 3.7 of the textbook. An algorithm prints the following pattern: * * * * * * * * * * * * * * * A. What are the basic operations performed by the algorithm that you would count towards its running time? B. Count the number of these basic operations for the specific output shown above. C. The number of lines printed in the preceding pattern is 5. Assume that the algorithm can extend this pattern for...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT