Closed Bug 1741094 Opened 3 years ago Closed 2 years ago

H3/IPv4 from CloudFlare is slower than H3/IPv6 and H2

Categories

(Core :: Networking: HTTP, defect)

x86_64
Linux
defect

Tracking

()

RESOLVED MOVED
Tracking Status
firefox96 --- affected

People

(Reporter: heftig, Unassigned)

References

(Blocks 1 open bug, )

Details

I occasionally suffer from slow transfers (~200-300 KB/s) from CloudFlare, which seem to disappear once I disable http3.

Firefox Nightly,
Linux, WiFi,
ISP: Deutsche Telekom

I've been able to reproduce this with the bare neqo-client, using the patches from https://github.com/mozilla/neqo/pull/1262.

Slow (H3/IPv4, 23.15 seconds):

> /usr/bin/time target/debug/neqo-client --output-dir foo https://derpicdn.net/img/view/2018/11/20/1886618.jpg -4
<snip>
3.45user 0.34system 0:23.15elapsed 16%CPU (0avgtext+0avgdata 13348maxresident)k
0inputs+12752outputs (0major+728minor)pagefaults 0swaps

Fast (H3/IPv6, 2.4 seconds):

> /usr/bin/time target/debug/neqo-client --output-dir foo https://derpicdn.net/img/view/2018/11/20/1886618.jpg -6
<snip>
1.26user 0.11system 0:02.40elapsed 57%CPU (0avgtext+0avgdata 13412maxresident)k
0inputs+12792outputs (0major+777minor)pagefaults 0swaps

Faster (Curl H2, 0.7 seconds):

> /usr/bin/time curl -s -4 --http2 https://derpicdn.net/img/view/2018/11/20/1886618.jpg >/dev/null
0.02user 0.01system 0:00.75elapsed 5%CPU (0avgtext+0avgdata 10084maxresident)k
0inputs+0outputs (0major+734minor)pagefaults 0swaps
> /usr/bin/time curl -s -6 --http2 https://derpicdn.net/img/view/2018/11/20/1886618.jpg >/dev/null
0.02user 0.01system 0:00.68elapsed 4%CPU (0avgtext+0avgdata 10180maxresident)k
0inputs+0outputs (0major+733minor)pagefaults 0swaps

This definitely needs to be filed in the neqo github repo, I think. Filed https://github.com/mozilla/neqo/issues/1266.

Dragana, should we just close this here?

Flags: needinfo?(dd.mozilla)

We will follow this issue on the gihub repo for neqo.

Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(dd.mozilla)
Resolution: --- → MOVED
You need to log in before you can comment on or make changes to this bug.