]> git.proxmox.com Git - pve-kernel.git/commitdiff
d/rules: kconfig: enable SQUASHFS_DECOMP_MULTI_PERCPU
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 22 Sep 2021 08:03:30 +0000 (10:03 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 22 Sep 2021 08:03:32 +0000 (10:03 +0200)
Debian did so since 5.10~rc7-1~exp1 and ubuntu only disabled it due
some concerns about "high" memory usage on many-core systems[0], high
is to be seen relative here as its 26 MiB on 208 cores[1] and only
matters for ubuntu as due to their snaps they may have a lot of
active squashfs mounts.

Proxmox projects do not use snaps, or other things that uses squashfs
instances a tall besides the installer. While some users may use a
few it is unlikely to cause much problems (a few 100 MiB should not
be a big problem on a server with hundreds of online cores.

Any how, to speed up decompression in our installer and use a similar
setting as Debian, the distro we're most similar too, enable this
Kconfig knob.

[0]: https://bugs.launchpad.net/snappy/+bug/1636847
[1]: https://bugs.launchpad.net/snappy/+bug/1636847/comments/21

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/rules

index aa7d21c558b61590896a94cc9e2bb372d8170c6c..49d3c3680eacaf7844435808102582201dc8ad5f 100755 (executable)
@@ -35,6 +35,7 @@ PVE_CONFIG_OPTS= \
 -m CONFIG_HFS_FS \
 -m CONFIG_HFSPLUS_FS \
 -e CIFS_SMB_DIRECT \
+-e CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU \
 -e CONFIG_BRIDGE \
 -e CONFIG_BRIDGE_NETFILTER \
 -e CONFIG_BLK_DEV_SD \