Open Bug 2072265 Opened 2 months ago Updated 2 months ago

Fenix with DoH: TRR lookups take 500ms+ on busy news sites, people.com, usatoday.com, etc

Categories

(Core :: Networking: DNS, defect, P2)

defect

Tracking

()

People

(Reporter: acreskey, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged])

On Android with DoH enabled, TRR lookups on ad-heavy news pages (people.com, detroitnews.com, usatoday.com) regularly take 500ms and sometimes over 1s, versus about 30ms on the same connection when the page is quiet.

Profiles:

These pages open connections to 100+ hosts within seconds and hit the Android global connection cap of 128. At the cap, MakeNewConnection sends GOAWAY on active H2 sessions to make room, which includes the DoH connection. Rebuilding it takes about 1s and every pending TRR request queues behind it. In the detroitnews profile the DoH connection was evicted twice within one second.

Fixes to consider: keep TRR connections out of the eviction loop, and raise the Android connection cap (dependent bug).

Depends on: 2072267
Depends on: 2072262
Blocks: 1801530
Severity: -- → S3
Priority: -- → P2
Whiteboard: [necko-triaged]
Depends on: 2073063
You need to log in before you can comment on or make changes to this bug.