Hacker News

RFC 2675: IPv6 Jumbograms

14 points by caminanteblanco ago | 12 comments

caminanteblanco |next [-]

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.

riffic |root |parent |next [-]

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 |root |parent [-]

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 :)

Pet_Ant |root |parent |next |previous [-]

> loopback

I mean inter-container communication on a host?

Also I assume it’s not a design goal to support 4GB but it is just a result of a power of 2. They are basically just doubling the size from 16 to 32 bits. Trimming it to 30 bit to cap it at something "reasonable" 1GB or something is more hassle then it’s worth.

I just cannot imagine the error correction on those packets. I mean if anything goes wrong that's a lot to toss away.

caminanteblanco |root |parent [-]

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.

Palomides |root |parent |next |previous [-]

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

andrewstuart2 |root |parent [-]

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.

pixl97 |root |parent [-]

I mean over the standard 1500 byte packet, for sure. I'd assume that you'd probably find an optimal spot at 1 to 8Mb on super fast networks. Also networks at these speeds tend to have very low retry rates. It's the buffer sizes that start to get crazy though.

warkdarrior |root |parent |previous [-]

My prompts to Claude will finally fit in one packet.

bflesch |next |previous [-]

(1999) is missing. Crazy how far ahead these folks were planning, I wonder what they work on today.

theamk |previous [-]

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 |root |parent [-]

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.