Thanks Alexander, that's useful data. What this shows is that it's the
chromium executable that is taking a very long time to start up on cold
boot, there doesn't seem to be any significant overhead from snapd and
wrapper scripts.
Next thing to try is:
snap run --strace="-vvr" chromium 2> chromium.trace
and attach the resulting chromium.trace file. This should give us more
information about what is taking so long when running the chromium
executable for the first time after a cold boot.
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/1900783
Title:
[snap] On Groovy, Chromium snap takes much longer to load the first
time after reboot
Status in chromium-browser package in Ubuntu:
Incomplete
Bug description:
I upgraded from Focal to Groovy, and now the first launch of the
Chromium snap after a reboot is taking much longer than before. On my
main home laptop it takes over 30 seconds, while under Focal I don't
remember it taking more than 10 seconds.
I tried another computer I could erase. On Groovy that computer takes
nearly a minute to launch the Chromium snap after rebooting. Then I
clean installed Focal on the same machine, and the Chromium snap takes
just under 10 seconds to launch after a reboot. For both I installed
all updates, and I let the computer sit idle for a few minutes after
rebooting to try to rule out other activity.
I haven’t noticed the change for any other snap, although I don’t use
any that I ever noticed as much of a launch delay as Chromium. (VS
Code for one doesn’t seem slower — certainly not taking nearly a
minute — but I haven't done a real comparison like for Chromium.)
ProblemType: Bug
DistroRelease: Ubuntu 20.10
ProcVersionSignature: Ubuntu 5.8.0-25.26-generic 5.8.14
Uname: Linux 5.8.0-25-generic x86_64
ApportVersion: 2.20.11-0ubuntu50
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Tue Oct 20 21:29:20 2020
InstallationDate: Installed on 2020-04-01 (202 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200331)
Snap: chromium 87.0.4280.20 (latest/beta)
SnapSource: ubuntu/+source/chromium-browser
UpgradeStatus: Upgraded to groovy on 2020-10-17 (3 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1900783/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp