components/liveinstall: Shrink chunksize to 128KiB and raise to level 8 LZMA compression
It seems the larger chunk size seems to slow the start of images in low memory environments due to the ldconfig cache generator unit eating gigabytes of memory from mapping the chunks into memory. Attempt to work around this by lowering the chunk size while raising the compression level to attempt to maintain image sizes.
This commit is contained in:
1 parent
01b5342bb5
commit
b57a77e571
1 file changed
+8
-8
@@ -8,9 +8,9 @@
|
|||||||
<preferences profiles="LiveInstall" arch="x86_64">
|
<preferences profiles="LiveInstall" arch="x86_64">
|
||||||
<type image="iso"
|
<type image="iso"
|
||||||
publisher="Fedora Project" volid="Fedora_Linux" application_id="Fedora_Linux"
|
publisher="Fedora Project" volid="Fedora_Linux" application_id="Fedora_Linux"
|
||||||
primary="true" flags="dmsquash" filesystem="erofs" erofscompression="lzma,level=6" mediacheck="true"
|
primary="true" flags="dmsquash" filesystem="erofs" erofscompression="lzma,level=8" mediacheck="true"
|
||||||
firmware="uefi" efiparttable="gpt" efifatimagesize="30" kernelcmdline="quiet rhgb"
|
firmware="uefi" efiparttable="gpt" efifatimagesize="30" kernelcmdline="quiet rhgb"
|
||||||
fscreateoptions="-Eall-fragments,fragdedupe=inode -C 1048576"
|
fscreateoptions="-Eall-fragments,fragdedupe=inode -C 131072"
|
||||||
>
|
>
|
||||||
<bootloader name="grub2" grub_template="grub-x86.cfg.iso-template" console="console" timeout="10"/>
|
<bootloader name="grub2" grub_template="grub-x86.cfg.iso-template" console="console" timeout="10"/>
|
||||||
</type>
|
</type>
|
||||||
@@ -18,9 +18,9 @@
|
|||||||
<preferences profiles="LiveInstall" arch="aarch64">
|
<preferences profiles="LiveInstall" arch="aarch64">
|
||||||
<type image="iso"
|
<type image="iso"
|
||||||
publisher="Fedora Project" volid="Fedora_Linux" application_id="Fedora_Linux"
|
publisher="Fedora Project" volid="Fedora_Linux" application_id="Fedora_Linux"
|
||||||
primary="true" flags="dmsquash" filesystem="erofs" erofscompression="lzma,level=6" mediacheck="true"
|
primary="true" flags="dmsquash" filesystem="erofs" erofscompression="lzma,level=8" mediacheck="true"
|
||||||
firmware="uefi" efiparttable="gpt" efifatimagesize="30" kernelcmdline="quiet rhgb"
|
firmware="uefi" efiparttable="gpt" efifatimagesize="30" kernelcmdline="quiet rhgb"
|
||||||
fscreateoptions="-Eall-fragments,fragdedupe=inode -C 1048576"
|
fscreateoptions="-Eall-fragments,fragdedupe=inode -C 131072"
|
||||||
>
|
>
|
||||||
<bootloader name="grub2" grub_template="grub-arm.cfg.iso-template" console="console" timeout="10"/>
|
<bootloader name="grub2" grub_template="grub-arm.cfg.iso-template" console="console" timeout="10"/>
|
||||||
</type>
|
</type>
|
||||||
@@ -28,9 +28,9 @@
|
|||||||
<preferences profiles="LiveInstall" arch="riscv64">
|
<preferences profiles="LiveInstall" arch="riscv64">
|
||||||
<type image="iso"
|
<type image="iso"
|
||||||
publisher="Fedora Project" volid="Fedora_Linux" application_id="Fedora_Linux"
|
publisher="Fedora Project" volid="Fedora_Linux" application_id="Fedora_Linux"
|
||||||
primary="true" flags="dmsquash" filesystem="erofs" erofscompression="lzma,level=6" mediacheck="true"
|
primary="true" flags="dmsquash" filesystem="erofs" erofscompression="lzma,level=8" mediacheck="true"
|
||||||
firmware="uefi" efiparttable="gpt" efifatimagesize="30" kernelcmdline="quiet rhgb"
|
firmware="uefi" efiparttable="gpt" efifatimagesize="30" kernelcmdline="quiet rhgb"
|
||||||
fscreateoptions="-Eall-fragments,fragdedupe=inode -C 1048576"
|
fscreateoptions="-Eall-fragments,fragdedupe=inode -C 131072"
|
||||||
>
|
>
|
||||||
<bootloader name="grub2" grub_template="grub-riscv64.cfg.iso-template" console="console" timeout="10"/>
|
<bootloader name="grub2" grub_template="grub-riscv64.cfg.iso-template" console="console" timeout="10"/>
|
||||||
</type>
|
</type>
|
||||||
@@ -38,9 +38,9 @@
|
|||||||
<preferences profiles="LiveInstall" arch="ppc64le">
|
<preferences profiles="LiveInstall" arch="ppc64le">
|
||||||
<type image="iso"
|
<type image="iso"
|
||||||
publisher="Fedora Project" volid="Fedora_Linux" application_id="Fedora_Linux"
|
publisher="Fedora Project" volid="Fedora_Linux" application_id="Fedora_Linux"
|
||||||
primary="true" flags="dmsquash" filesystem="erofs" erofscompression="lzma,level=6" mediacheck="true"
|
primary="true" flags="dmsquash" filesystem="erofs" erofscompression="lzma,level=8" mediacheck="true"
|
||||||
firmware="ofw" kernelcmdline="quiet rhgb"
|
firmware="ofw" kernelcmdline="quiet rhgb"
|
||||||
fscreateoptions="-Eall-fragments,fragdedupe=inode -C 1048576"
|
fscreateoptions="-Eall-fragments,fragdedupe=inode -C 131072"
|
||||||
>
|
>
|
||||||
<bootloader name="grub2" grub_template="grub-ppc.cfg.iso-template" console="console" timeout="10"/>
|
<bootloader name="grub2" grub_template="grub-ppc.cfg.iso-template" console="console" timeout="10"/>
|
||||||
</type>
|
</type>
|
||||||
|
|||||||
Reference in new issue
Block a user