I decided to make a single partition VHD of 3 GB, to test the time required to load it in Ram (using the UEFI grub4dos from previous post), and booting first with a1ve's grub2 and chainloading to G4E to load and boot the VHD:
10x64-LZX-3.vhd (NTFS) 3GB Grub2 + grub4dos >>> 33.82 sec.
10x64-LZX-3.vhd.lz4 (NTFS) 3GB Grub2 + grub4dos >>> 25.43 sec.
10x64-LZX-3.vhd.lz4 is 1.67 GB, it is an improvement of 8.39 seconds in the time used to load it on Ram (24.8 % less time), but it is not so notorious as on this case, when testing a RamOS (installed on Wimboot mode) using same WIM file, and UEFI grub4dos 2020-12-15, that was last version at the time of testing:
From: http://reboot.pro/to...-10#entry217481
Secure Boot = Disabled CSM = Auto
Mini-10-UEFI-WB.vhd (FAT-32+NTFS) 1330 MB Grub2 >>> 28.94 sec.
Mini-10-UEFI-WB.vhd (FAT-32+NTFS) 1330 MB Grub2 + grub4dos >>> 15.08 sec.
Mini-10-UEFI-WB.vhd (FAT-32+NTFS) 1330 MB grub4dos >>> 15.00 sec.
Mini-10-UEFI-WB.vhd.lz4 (FAT-32+NTFS) 1330 MB Grub2 + grub4dos >>> 4.28 sec.
Mini-10-UEFI-WB.vhd.lz4 (FAT-32+NTFS) 1330 MB grub4dos >>> 4.31 sec.
I will take both as 4.30 sec., as the difference may be just my finger response.
Here the lz4 compression helps a lot to improve the time (71.48 % less time) as the Wimboot VHD has a lot of free space.
We can conclude lz4 compression makes a big difference on the time required to load on Ram a Wimboot VHD (installed on Wimboot mode), but not so much on a Compact LZX VHD (installed on Compact LZX mode). 71.48 % vs. 24.8 % less time.
alacran