Lurker News
My browser just started connecting to Hacker News over IPv6 today:

  $ host news.ycombinator.com
  news.ycombinator.com has address 209.216.230.207
  news.ycombinator.com has IPv6 address 2606:7100:1:67::26
Both IP addresses share the same ASN (M5 Computer Security): https://bgp.he.net/ip/209.216.230.207 https://bgp.he.net/ip/2606:7100:1:67::26

The raw IP address correctly redirects to HN: http://[2606:7100:1:67::26]
Good job so far! Please don't pull a Reddit and turn it off again.

Comments (374) 27 threads

Earlier comments
rumdz11 replies#
Does ipv6 result in higher latencies? I could see larger addresses increasing latency, but then again I could also see a more efficient protocol resulting in lower net latency. I should probably read a book describing the differences.
imoverclocked1 reply#
The address space has very little effect in the real world. Other latencies far outweigh anything measurable by having slightly more bits in the address.

Eg: Sometimes IPv6 is faster due to routing differences.

rumdz2 replies#
That makes sense. I'm very curious about real-world studies. As a gamer, I'm especially interested in the affect ipv6 has on UDP for real time gaming applications. That's an area where even 5ms can have an enormous affect on the experience.
tsimionescu3 replies#
That's a very interesting case, as UDP is very reliant on MTU. If the IPv6 headers take out more space from the ethernet frame, that leaves less space for the UDP payload. Which means that a UDP payload which was at the limit for IPv4 on the typical MTU needs to be fragmented into two IPv6 packets, which will likely increase latency quite significantly.

However, this will depend on each specific game, if they are using all the available space or not. If they're sending 200 byte datagrams, they shouldn't see any difference.
On the flipside, IPv6 has a larger minimum MTU than IPv4, so it could happen that your maximum UDP payload actually goes up when switching to IPv6. So, if the game previously had to send 5 packets to do an update, it might be able to send only 3 when it can rely on IPv6, so maybe latency actually significantly improves.

Continue this thread — 3 replies

acdha#
It could but there have been some reports of lower latency, too:

https://www.youtube.com/watch?v=An7s25FSK0U
This is an area you want to measure carefully because some of the older reports about IPv6 being slower were artifacts of old hardware limitations or under-optimized software which are no longer relevant.

meindnoch1 reply#
>I could see larger addresses increasing latency

???

rumdz1 reply#
Several additional bytes over millions of packets where the data frame is ~10bytes seems potentially significant. I'm less interested in HTTP
p1mrx#
20 bytes / 1 Gbps = 160 ns per hop. That's 0.016 ms additional latency over 100 hops.

On the internet, most links are faster than 1 Gbps and most paths are shorter than 100 hops, so that's a conservative estimate.
If you're sending lots of 10-byte payloads, then IPv6 requires (40+10)/(20+10)=166% as much network capacity, but are you really filling up an expensive link with VoIP traffic?

bqmjjx0kac2 replies#
Verizon Fios recently rolled out IPv6 last year and I swear IPv6 traffic is deprioritized. Sometimes it just cuts out entirely.
ale421 reply#
Sounds like a technical problem. I don't see any reason they should de-prioritize IPv6 traffic...
bqmjjx0kac1 reply#
Agreed, I don't think it's intentional. It feels like at peak times, some component of their IPv6 infra gets maxed out.

Continue this thread — 1 reply

patmorgan23#
IIRC they disabled it again because the ONTs they have deployed have a firmware bug.
lmm#
In theory, any impact from longer addresses would be outweighed by the benefit of the shorter non-CIDR routing table (and in turn that should be outweighed by avoiding NAT, and that should be outweighed by avoiding CGNAT). (Plus with most systems being natively 64-bit these days, that impact should be 0 - the routable part of an IPv6 address is 64 bits, and comparing a 64-bit value is no harder than comparing a 32-bit value).

In practice IPv6 is newer, which has good and bad sides; IPv6 routing paths are more likely to be using newer (and therefore faster) equipment, but there's also a bigger risk of someone making a mistake that messes up your routing/latency, particularly if your ISP hasn't been doing IPv6 for very long.

kalleboo#
Real-world latency is impacted by configuration and hardware (e.g. your ISP may have different routes for IPv6 that can be either better or worse, it can be handled by different routers with different performance, IPv4 traffic may be going through CGNAT, PPPoE concentrators, etc) that dwarf any theoretical differences.

Google's IPv6 stats also measure latency compared to IPv4 and in most countries IPv6 has lower latency (e.g. in the US on average you get 10ms lower latency with IPv6). When this chart was new it was mostly the other way around, with early IPv6 implementations being poor https://www.google.com/intl/en/ipv6/statistics.html#tab=per-...

toast0#
Real world performance differences between v4 and v6 are more likely to be influenced by different routing and network manipulation for v4 vs v6 than the larger address size.

If your v4 goes through NAT and v6 doesn't, that's a big thing.
If you have different peering and transit providers in v4 and v6, that's a big thing.
If overhead from address sizes was really a big deal, we'd see work to push larger MTUs and working MTU discovery, but that kind of stalled a while ago. 1500 works for a lot of people, and many major sites drop effective MTU by 20 or so and that makes more things work, and then it gets swept under the rug. (OTOH, I think Android may have finally gotten MTU probing enabled after many years of shipping it disabled; Apple has had very effective probing, at least on iOS for a long time)

viraptor#
Possibly due to routing differences on the path to your service, but not due to the protocol itself. Definitely not due to the address size. Beyond your local equipment, that switching normally happens in hardware.
Ekaros#
It shouldn't. There is no checksum in header so that is one thing that doesn't need to be calculated, even if it can be done in hardware. And more efficient routing should mean smaller tables to lookup things from so being faster.
patmorgan23#
NAT44 has a much larger effect on latency than 16 byte addresses.
p-e-w1 reply#
> My browser just started connecting to Hacker News over IPv6 today

If you don't mind me asking, how did you notice that?

p1mrx#
IPvFoo turned green.
miyuru2 replies#
Does anyone know why the TTL is set to 1 on both A and AAAA?
mike_hearn1 reply#
The usual reason for that is DNS load balancing.
miyuru#
HN seem to be served from a single IPv4 and IPv6, so it might not be the case.
psz#
Maybe they like paying AWS. ¯\_(ツ)_/¯

Load more comments