caminanteblanco 46 minutes ago

To summarize for the uninitiated, I learned today that IPv6 supports packets of up to 4GB! Why you would ever need a packet within even an order of magnitude of that size is beyond my ken. (Also, I don't know what transit media even support packet sizes anywhere close to that size).

The only place I could see the layman ever getting close to using this would be loopback. But at that point, you have IPC.

  • Palomides 25 minutes ago

    I dunno, we've got 800Gb/s NICs with TCP offload now, you could send dozens of gigabyte jumbograms a second

    • andrewstuart2 17 minutes ago

      Is there really that much room for improvement by changing packet size? You're avoiding a little bit of overhead for the 40 byte packet header and you're also increasing the risk of that packet failing CRC and getting discarded which is a lot more expensive.

  • Pet_Ant 23 minutes ago

    > loopback

    I mean inter-container communication on a host?

    Also I assume it’s not a design goal to support 4GB but it probably just a result of a power of 2. They just probably declared 32 bit size field and this is the result. Trimming it to 30 bit to cap it at 1GB or something is more hassle then it’s worth

    • caminanteblanco 18 minutes ago

      I hadn't thought of that, that would be a potential use case for sure. And I agree that literal 4GB packets probably aren't what's in mind here, but I think it is an oddity that a confluence of other factors has it allowed by the RFC.

  • warkdarrior 20 minutes ago

    My prompts to Claude will finally fit in one packet.

  • riffic 20 minutes ago

    Transit media was addressed by RFC 6214 - avian carrier! Section 3.1 states that "an adult carrier can carry jumbograms [RFC2675]".

    A 4 GB microSD card is well within the carrying capacity of a pigeon.

    https://www.rfc-editor.org/rfc/rfc6214.html

    • caminanteblanco 14 minutes ago

      https://www.rfc-editor.org/info/rfc1149/ has more specific information in regard to the benefits of avian carriers. Particularly "because of the 3D ether space available to the carriers, in contrast to the 1D ether used by IEEE802.3."

      Thank you riffic for sharing this, this reminds me of the SIGBOVIK papers :)

theamk 56 minutes ago

maybe not everything needs to be IPv6?

No standard equipment can do 64K+ frames, so you are not going to be connecting to global internet soon.

Plus, why are you doing this at all?

If you are super-concerned with the overhead, you don't want IP stack anyway, with all its layers and tunables - you want something like RDMA which can work very close to metal.

And if you are OK with overhead, then why go with huge frames? Go with small ones and reassemble, your life would be much easier. (Normally reassembling is a pain because of possibility of lost or reordered packets, but if you are willing to go with such huge packet size, it must not be a concern with you)

(this reminds of the opposite direction: people stuffing IPv6 into sensor networks.. your frames are 32/64 _bytes_ and you want IPv6 headers in there???)

  • caminanteblanco 43 minutes ago

    That was my read on it. I had no idea this was part of the protocol (I saw it while reading the IPv6 Wikipedia article). Like I said in my sibling comment, maybe, maybe, you could use this for loopback, but I can't think of a single use case that actually justifies its existence.