Issue metadata
Sign in to add a comment
|
Font intervention too invasive, "Slow network is detected" is too flaky |
||||||||||||||||||||||||
Issue descriptionThe quality of my browsing experience lately has degraded. I keep seeing pages that relayout after a bunch of seconds and change fonts. By inspecting the devtools console, I see the following --- [Intervention] Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: https://fonts.gstatic.com/s/sourcesanspro/v11/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7lujVj9w.woff2 --- Now, a bunch of considerations: 1) This is happening both from home (I have a 85 mbps DSL) or and office (1 gbits). Network shouldn't be *that* slow. 2) This intervention is really bad when a site uses the material design fonts. In many occasion the page becomes horrible and I see a bunch of "circle", "app_payment" text, which later becomes an actual icon. 3) These fonts come from google fonts CDN. Isn't that supposed to be cached (I visited the site before) Let me know if I can provide more data for debugging. It happens a bit of everywhere, right now on perfetto-ci.appspot.com (hosted on appengine)
,
Aug 7
primano, sorry for the bad experience. Couple of questions: 1. Do you see this on Linux platform as well? 2. Would you mind filing a in-app feedback when you see the error again? The in-app feedback would attach some UMA histograms which would make it easier to understand the problem. The algorithm has heuristics built in to detect slow-network vs. slow-host. On this host, I see some of the requests take more than 1 second to load which could be tripping the built-in heuristics. On Mac OS X, we do not have access to the TCP RTT samples from the kernel, and we rely on HTTP layer RTT values, and RTTs from QUIC connections (which may also not be available in some of the cases). This can cause the algorithm to incorrectly detect a slow-host as slow-network. Fixing Issue 823322 might solve some of these false positives: With access to HTTP2 ping timings, we should be able to more accurately distinguish between slow-connection and slow-host when TCP samples are unavailable.
,
Aug 7
Ooh, and the other possibility is Issue 678075 where the device may be incorrectly detected as offline by Chrome. In that case, the estimator returns network quality as OFFLINE which may trigger font intervention. Having access to metrics would help tease apart these cases.
,
Aug 7
,
Aug 8
> Would you mind filing a in-app feedback when you see the error again? In-app feedback done: https://support.google.com/chrome/answer/186850?visit_id=1-636693276089143613-4168679859&p=feedback_confirmation&rd=1 > 1. Do you see this on Linux platform as well? Can't tell sorry. I use my linux box only to ssh and build. I also manually attached histograms now that it happened again (but I had a chrome session going on for a while) Lemme know if I can help more providing traces/debug data. Unfortunately this is hard to repro and happens just randomly
,
Aug 30
Feedback report is here: http://shortn/_xSmHilIdXs (Sorry, google internal only).
,
Aug 30
I looked at the histograms attached with the feedback report. Some of the HTTP RTT samples were close to 500 msec (probably hanging GET requests or the server was slow). However, QUIC RTT samples were all low in value. I am duping this into Issue 834119 which tracks the work to make use of QUIC RTT samples to further improve accuracy of estimation.
,
Nov 22
Issue 869295 has been merged into this issue. |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by toyoshim@chromium.org
, Aug 7Components: Internals>Network>NetworkQuality
Owner: tbansal@chromium.org