Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: snapd software slow to load

  1. #1
    Join Date
    Jul 2020
    Beans
    6

    snapd software slow to load

    Hi,
    I installed chromium that is a snapd software. And also leafpad that is a very light editor. But both are slow especially during loading. For example to open leafpad I need 7 seconds.
    Why chromium is installed by snap ? And how can I make them quick ?

  2. #2
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    4,761

    Re: snapd software slow to load

    The snap programs are stored in compressed files. These need to be decompressed to run, which takes a few seconds. If you close then relaunch in the same session, the time to opening is reduced in my experience.

  3. #3
    Join Date
    Jan 2006
    Location
    Sunny Southend-on-Sea
    Beans
    7,903
    Distro
    Kubuntu 18.04 Bionic Beaver

    Re: snapd software slow to load

    Quote Originally Posted by oceanbottle View Post
    Why chromium is installed by snap ?
    https://ubuntu.com/blog/chromium-in-...nap-transition
    None but ourselves can free our minds

  4. #4
    Join Date
    Jul 2020
    Beans
    6

    Re: snapd software slow to load

    As I know if I close something and I reopen it, it's more fast because it's already cached in ram.

  5. #5
    TenPlus1's Avatar
    TenPlus1 is offline Grande Half-n-Half Cinnamon Ubuntu
    Join Date
    May 2005
    Location
    Scotland, UK
    Beans
    842
    Distro
    Lubuntu

    Re: snapd software slow to load

    I removed snap from my lubuntu system and install chromium browser from this source instead (chromium and chromium codecs) https://launchpad.net/~canonical-chr...tage/+packages

  6. #6
    Join Date
    Sep 2011
    Location
    Pennsylvania, U.S.A.
    Beans
    2,927
    Distro
    Ubuntu Development Release

    Re: snapd software slow to load

    Quote Originally Posted by Dennis N View Post
    The snap programs are stored in compressed files. These need to be decompressed to run, which takes a few seconds. If you close then relaunch in the same session, the time to opening is reduced in my experience.
    I installed the Okular snap. The first time I launched it took 10 sec.+. The next time was instantaneous. Log out and back in still instantaneous. The only time I find snap app launch a little slow is after a restart.

  7. #7
    Join Date
    May 2010
    Beans
    566

    Re: snapd software slow to load

    How long do they take to launch?

  8. #8
    Join Date
    Jul 2020
    Beans
    6

    Re: snapd software slow to load

    @ TenPlus1
    Yes, but there are a lot of app that now are in the snap store. For example cherrytree, leafpad, chromium, gtk themes.

    @kurt18947
    As I said the app is cached in ram then it's obvious that is more fast the second time.

    @ActionParsnip
    it take 2 or 3 times the time of original.

  9. #9
    Join Date
    May 2010
    Beans
    566

    Re: snapd software slow to load

    I see. TBH I use very few applications and most of my system use is in a terminal. It's interesting to see how people use and experience Ubuntu though. From what I've heard this is normal for the first run of snap apps.

  10. #10
    Join Date
    Jan 2006
    Location
    Sunny Southend-on-Sea
    Beans
    7,903
    Distro
    Kubuntu 18.04 Bionic Beaver

    Re: snapd software slow to load

    Quote Originally Posted by oceanbottle View Post
    As I said the app is cached in ram then it's obvious that is more fast the second time.
    It's not that the application is cached, which is true of all applications.

    As far as the snapped application is concerned, it's running on a perfectly normal Ubuntu install. Even if it's being run on a different distro. Even if it's not running on Linux at all.

    The setup of all the environment things that the application expects in its sandbox is what takes the time. The setup time for a relatively self-contained server application is much lower than for a graphical application that expects all kinds of libraries in particular places.

    Not having to do all of that again is what saves the time on the second run.
    None but ourselves can free our minds

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •