From b77e82cce855dcd04dc1858f49f2edcfd61b5039 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 22 Sep 2021 10:03:30 +0200 Subject: [PATCH] d/rules: kconfig: enable SQUASHFS_DECOMP_MULTI_PERCPU 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 --- debian/rules | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/rules b/debian/rules index aa7d21c..49d3c36 100755 --- a/debian/rules +++ b/debian/rules @@ -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 \