We have completed analysis on cloud instances. We have not managed to
reproduce the drastic "firefox startup went from 15s to 6s (!) on Igors
reference hardware" result. Most of our results are within insignificant
low single % differences, with some improved results, and with some good
improvements on very beefy machines.

What is "Igors reference hardware"?

Overall there is nothing negative observed (OOM, extreme memory usage,
failure to boot small instances).

We can consider to change the config in Kinetic, hwe, and oem kernels.
This will cover majority of client/desktop/laptop/cloud instances.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1980861

Title:
  Please enable CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU

Status in Snappy:
  New
Status in linux package in Ubuntu:
  Incomplete

Bug description:
  The snapd/desktop/advocacy team are investigating the startup
  performance of running snaps.

  While doing this and comparing various distros (fedora, opensuse,
  ubuntu) on Igors reference hardware we noticed that fedora is
  substantially faster at starting snaps.

  After some research it turns out that they use the
  CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU=y option when we use
  CONFIG_SQUASHFS_DECOMP_SINGLE.

  I build^Whacked a test kernel in my ppa:mvo/tmp PPA that just changes
  this one option (https://paste.ubuntu.com/p/NvS4GQjnSp/) and with that
  the first run firefox startup went from 15s to 6s (!) on Igors
  reference hardware. Given the dramatic performance improvements we
  would like to get this option switched.

  However we need to be careful and double check that the results from
  https://bugs.launchpad.net/snappy/+bug/1636847 are no longer an issue
  - back in 2016 the kernel team swtich to _DECOMP_SINGLE because just
  mounting a snap would use up 131Mb or memory(!).

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1980861/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to