Git Product home page Git Product logo

Comments (5)

marten-seemann avatar marten-seemann commented on June 23, 2024

We might not need #4519 (or at the very least reduce the number of flake attempts) once we have this.

from quic-go.

bt90 avatar bt90 commented on June 23, 2024

Loss of a single probe packet will make the MTU discoverer believe that it has reached the path's MTU. This is unnecessarily aggressive.

I think this even violates RFC 8899:

The PL is REQUIRED to be robust in the case where probe packets are lost due to other reasons (including link transmission error, congestion).

The RFC seems to recommend up to 3 probes before giving up: https://datatracker.ietf.org/doc/html/rfc8899#name-constants

This paper by the RFC 8899 authors looks quite interesting:

https://www.hb.fh-muenster.de/opus4/frontdoor/deliver/index/docId/14965/file/dplpmtudQuicPaper.pdf

from quic-go.

marten-seemann avatar marten-seemann commented on June 23, 2024

Thank you @bt90! I wasn't aware of this paper, and I'm not sure I understand how they deal with packet loss: Every time a probe packet is lost, you have the choice to either re-probe the same size, or reduce the probe size by a little and probe a slightly smaller size.

I don't think it hugely matters, PMTUD is cheap, so going for something simple might be the better answer than hunting for the most optimal solution.

from quic-go.

bt90 avatar bt90 commented on June 23, 2024

Every time a probe packet is lost, you have the choice to either re-probe the same size, or reduce the probe size by a little and probe a slightly smaller size.

That one is covered by the RFC:

https://datatracker.ietf.org/doc/html/rfc8899#name-probing-for-a-larger-plpmtu

tl;dr: the search only stops after multiple probes failed

from quic-go.

marten-seemann avatar marten-seemann commented on June 23, 2024

@bt90 I implemented an algorithm that should be more resilient to packet loss in #4545. Would you mind taking a look?

from quic-go.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.