ArticleslgStudy

science

Go-Back-N ARQ

Go-Back-N ARQ is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Go-Back-N ARQ rather than just read about it. In short: Go-Back-N ARQ is a specific instance of the automatic repeat request (ARQ) protocol, in which the sending process continues to send a number of frames specified by a window size even without receiving an acknowledgement (ACK) packet from the receiver. It is a special case of the general sliding window protocol with a transmit window size of N and receive window size of 1.

Key takeaways

  • Go-Back-N ARQ belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Go-Back-N ARQ to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Go-Back-N ARQ from memory before moving on to harder problems.

Reference excerpt

Go-Back-N ARQ is a specific instance of the automatic repeat request (ARQ) protocol, in which the sending process continues to send a number of frames specified by a window size even without receiving an acknowledgement (ACK) packet from the receiver. It is a special case of the general sliding window protocol with a transmit window size of N and receive window size of 1. It can transmit N frames to the peer before requiring an ACK. The receiver process keeps track of the sequence number of the next frame it expects to receive. It will discard any frame that does not have the exact sequence number it expects (either a duplicate frame it already acknowledged, or an out-of-order frame it expects to receive later) and will send an ACK for the last correct in-order frame. Once the sender has sent all of the frames in its window, it will detect that all of the frames since the first lost frame are outstanding, and will go back to the sequence number of the last ACK it received from the receiver process and fill its window starting with that frame and continue the process over again. Go-Back-N ARQ is a more efficient use of a connection than Stop-and-wait ARQ, since unlike waiting for an acknowledgement for each packet, the connection is still being utilized as packets are being sent. In other words, during the time that would otherwise be spent waiting, more packets are being sent. However, this method also results in sending frames multiple times – if any frame was lost or damaged, or the ACK acknowledging them was lost or damaged, then that frame and all following frames in the send window (even if they were received without error) will be re-sent. To avoid this, Selective Repeat ARQ can be used.

Pseudocode These examples assume an infinite number of sequence and request numbers.

N := window size Rn := request number Sn := sequence number Sb := sequence base Sm := sequence max

function receiver is Rn := 0 Do the following forever: if the packet received = Rn and the packet is error free then Accept the packet and send it to a higher layer Rn := Rn + 1 else Refuse packet Send a Request for Rn

function sender is Sb := 0 Sm := N + 1 Repeat the following steps forever: if you receive a request number where Rn > Sb then Sm := (Sm − Sb) + Rn Sb := Rn if no packet is in transmission then Transmit a packet where Sb ≤ Sn ≤ Sm. Packets are transmitted in order.

Choosing a window size (N) There are a few things to keep in mind when choosing a value for N:

The sender must not transmit too fast. N should be bounded by the receiver’s ability to process packets. N must be no larger than half the number of sequence numbers (e.g. for an 8-bit sequence number, N must be no larger than 2 8 ÷ 2 = 128 {\displaystyle 2^{8}\div 2=128} ) so the receiver can disambiguate between a duplicate of an earlier packet and an out-of-order receipt of a later packet. Given the bounds presented in (1) and (2), choose N to be the largest number possible.

References

See also Reliable Data Transfer Pipeline (software) Automatic repeat request Computer networking Selective Repeat ARQ

External links Go-Back-N ARQ demonstration in a Java applet

Worked examples

Example 1 — a first encounter with Go-Back-N ARQ

Start with the simplest possible case. Write down what Go-Back-N ARQ claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Go-Back-N ARQ before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Go-Back-N ARQ ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Go-Back-N ARQ

In research
Go-Back-N ARQ appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Go-Back-N ARQ in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Go-Back-N ARQ is common in secondary-school and first-year university syllabi. It links to neighbouring topics Error detection and correction, Logical link control, so understanding it makes those chapters shorter.
In everyday life
Look for Go-Back-N ARQ outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Go-Back-N ARQ in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Go-Back-N ARQ means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Go-Back-N ARQ out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Go-Back-N ARQ in simple terms?

Go-Back-N ARQ is a specific instance of the automatic repeat request (ARQ) protocol, in which the sending process continues to send a number of frames specified by a window size even without receiving an acknowledgement (ACK) packet from the receiver. It is a special case of the general sliding win…

Why does Go-Back-N ARQ matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Go-Back-N ARQ?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Go-Back-N ARQ.

Tags

  • Error detection and correction
  • Logical link control

Keep exploring