New issue
Advanced search Search tips

Issue 837864 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Compat

Blocked on:
issue 757440



Sign in to add a comment

7 seconds spent in BlinkGCMarking

Reported by glen1...@gmail.com, Apr 28 2018

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/65.0.3325.181 Chrome/65.0.3325.181 Safari/537.36

Example URL:
https://mail.google.com

Steps to reproduce the problem:
To clarify: this problem shows only in google-chrome ("Google Chrome 66.0.3359.139") problem. It works in chromium-browser ("Chromium 65.0.3325.181 Built on Ubuntu , running on Ubuntu 17.10") and it also works in Firefox.

That fact alone I find strange.

1. Go to Gmail
2. click on any email to show content, or Inbox, or to open or start a chat. A few times per minute there will be a "hang" for a few seconds, during which any keystrokes are correctly buffered.

We're reproduced this on three machines reliably 

What is the expected behavior?
There should not be any multi-second delays using Gmail as normal.

When using other browsers there are aren't any such delays.

What went wrong?
Temporary hangs for a few seconds, several times per minute.

Does it occur on multiple sites: N/A

Is it a problem with a plugin? No 

Did this work before? Yes don't know precisely--during 2017 anyway

Does this work in other browsers? Yes

Chrome version: 66.0.3359.139  Channel: n/a
OS Version: Linux 4.13.0-39-generic #44-Ubuntu SMP Thu Apr 5 14:25:01 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Flash Version: 

This is AMD Threadripper machine.

$ cat /proc/cpuinfo    (showing first result only out of 32)
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 23
model           : 1
model name      : AMD Ryzen Threadripper 1950X 16-Core Processor
stepping        : 1
microcode       : 0x8001129
cpu MHz         : 2067.413
cache size      : 512 KB
physical id     : 0
siblings        : 32
core id         : 0
cpu cores       : 16
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid amd_dcm aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_l2 mwaitx hw_pstate retpoline retpoline_amd vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf xsaveerptr arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca
bugs            : sysret_ss_attrs null_seg spectre_v1 spectre_v2
bogomips        : 6799.51
TLB size        : 2560 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm hwpstate eff_freq_ro [13] [14]
 
Labels: Needs-Bisect Needs-Triage-M66
Cc: susan.boorgula@chromium.org
Components: Blink
Labels: Triaged-ET Needs-Feedback
glen1111@ Thanks for the issue.

Tested this issue on Ubuntu 17.10 and Windows 10 on the reported version 66.0.3359.139 and the latest Beta 67.0.3396.18 and unable to reproduce the issue.

1. Launched Chrome and logged into gmail account
2. Cannot observe any hang on Chrome when clicking on a mail thread, opening a chat, and scrolling through a mail.
Attached is the screen cast for reference.

Request you to retry the issue on a new chrome profile without any flags/extensions and update the thread with the observations.

Thanks..
837864.webm
11.1 MB View Download

Comment 3 by e...@chromium.org, Apr 30 2018

Components: -Blink Blink>Input

Comment 4 by glen1...@gmail.com, May 2 2018

Thanks Susan for attempting to reproduce.

There is something there--we built three of these identical AMD
Threadripper machines MSI m/b with three different user setups and all
three showed this delay. One user went back to Firefox, I went to Chromium,
and one just reads gmail on his Mac instead. So I know there is a problem,
but it doesn't surprise me that it's only for some rare combination that we
triggered with this configuration.
Project Member

Comment 5 by sheriffbot@chromium.org, May 2 2018

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: TE-NeedsTriageFromMTV
glen1111@ Thanks for the update.

As this issue is reproduced on AMD Threadripper machine and this setup is not available at TE end to test further, adding 'TE-NeedsTriageFromMTV' label and requesting someone from MTV team to look into the issue and help in further triaging.

Thanks..

Comment 7 by bokan@chromium.org, May 3 2018

Cc: bokan@chromium.org
Hi glen1111@, it would be helpful if you could take a trace of the delays in action and attach it here. Instructions: https://www.chromium.org/developers/how-tos/submitting-a-performance-bug

Please use all categories in the left column and add just the "renderer.scheduler" category on the right side.
Labels: -TE-NeedsTriageFromMTV
Labels: TE-Hardware-Dependency
As per comment #6, issue seems to be reproducible on a AMD Threadripper machine and the system is not available at inhouse or MTV team. Hence, adding label TE-Hardware-Dependency.

Thanks...!!
Wasn't sure how to login into the bug system, so attaching it here.

I got a good one! < 10 seconds long and with a clear delay showing.

Actions:

- started tracing
- clicked on my Gmail tab
- clicked around for a few seconds on different things, no problem
- clicked to compose new email, started typing in my "To:" address
- HANG! (for about 3 seconds)
Unfortunately it seems email attachments don't work. If you could upload it to Google Drive or Dropbox or equivalent and share the link that would work too.

Comment 13 by bokan@chromium.org, May 10 2018

Components: -Blink>Input Blink>MemoryAllocator>GarbageCollection
Summary: 7 seconds spent in BlinkGCMarking (was: Frequent (four/minute) multi-second delays in arbitrary actions (click, typing text) in google-chrome (works in chromium-browser))
Thanks for the trace. Attached here. Looks like an extremely long GC in the renderer. Over to MemoryAllocator team.
trace_chrome.type.delay.json.gz
2.7 MB Download

Comment 14 by glen1...@gmail.com, May 10 2018

Great, excellent that you folks are taking it seriously. Thanks for that!

It's frustrating to buy a 16-core (32-thread) machine and have your UI
thread stall for seconds in the middle of typing, while I imagine the other
31 threads are idle. Not cool!

Just to clarify and hone in your debug efforts--this occurs for me on this
AMD desktop machine ONLY in google-chrome, never in chromium-browser or
firefox.

Comment 15 by bokan@chromium.org, May 10 2018

One other useful question: does this happen only in Gmail or on any other pages?

Comment 16 by glen1...@gmail.com, May 10 2018

Ah, great question. I have noticed it only in Gmail, but that is my
dominant activity in the browser.

It is possible it's Gmail specific.
Blockedon: 757440
Status: Available (was: Unconfirmed)
Such long marking pauses will be gone once we land incremental marking.

Comment 18 by glen1...@gmail.com, May 21 2018

Just my feedback: I don't know how many people are seeing this, but if it's
any substantial fraction then this should be P0. It's a total showstopper
for me using the product. Super annoying as it happens multiple times per
minute where my typing just stops going to the screen, or a click doesn't
work.

Sign in to add a comment