Hacker News new | ask | show | jobs
by theamk 18 days 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???)

2 comments

It's more convenient if there's a standard layer available. It means you can introduce new things at L1/L2 and they'll still work with all existing software, and also you can introduce new things at L4+ and they'll work with any L1/2 tech, so long as you make your new thing map to L3 in the middle.

AKA: https://en.wikipedia.org/wiki/Hourglass_model

> (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???)

You mean like in 6LoWPAN, which uses header compression to get them down to 2 bytes? While still working with regular TCP- or UDP-using software?

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.