Changes are copied into the memory
Posted: 19 Apr 2018, 21:03
First I want to congratulate the Porteus team for creating such a fantastic OS. With my bug reports I want only to help it to be better not to criticize the developers' work. I found a few ones, so I think I create a different bug report for all.
When saving the changes, the changes are copied into the
memory
I use Porteus LXDE 4.0rc4 64bit version. (I am glad that you made LXDE version too, wich is the fastest and most user-friendly DE ever.) The content of ISO was copied into boot/porteus/Porteus-LXDE-v4.0rc4-x86_64 directory of my internal HDD (with only 1 partition). I boot Porteus with GRUB2. The menuentries in the grub/grub.cfg file:
While using persistence, I used also Wine which created about 500M size directory in home. Then I observed that my available memory significantly decreased. The reason was that the changes directory was not loop mounted but directly copied into the RAM. If this is the normal behaviour of Porteus, this is not a bug report. But if so, I will use Porteus always in live mode.
Boot with persistence, using boot/porteus/v4.0-rc4_c1/changes directory:
Boot in live mode:
The shared memory difference is: 70-24=46 : the size of changes directory. Meantime I deleted the big wine directory from home, but this also shows that the changes are directly copied into the RAM.
When saving the changes, the changes are copied into the
memory
I use Porteus LXDE 4.0rc4 64bit version. (I am glad that you made LXDE version too, wich is the fastest and most user-friendly DE ever.) The content of ISO was copied into boot/porteus/Porteus-LXDE-v4.0rc4-x86_64 directory of my internal HDD (with only 1 partition). I boot Porteus with GRUB2. The menuentries in the grub/grub.cfg file:
Code: Select all
menuentry 'Porteus LXDE 4.0rc4 64b 20180212 live config k:hu,ro,us' {
set OS=boot/porteus/Porteus-LXDE-v4.0rc4-x86_64
linux /$OS/boot/syslinux/vmlinuz from=$OS noswap zram=33% \
extramod=boot/porteus/modules nomagic norootcopy kmap=hu,ro,us \
cliexec=/mnt/sda1/boot/porteus/config/por_cli.sh \
guiexec=/mnt/sda1/boot/porteus/config/por_gui.sh login=root
initrd /$OS/boot/syslinux/initrd.xz
}
menuentry 'Porteus LXDE 4.0rc4 64b 20180212 live k:hu,ro,us' {
set OS=boot/porteus/Porteus-LXDE-v4.0rc4-x86_64
linux /$OS/boot/syslinux/vmlinuz from=$OS noswap zram=33% \
nomagic base_only norootcopy kmap=hu,ro,us login=root
initrd /$OS/boot/syslinux/initrd.xz
}
menuentry 'Porteus LXDE 4.0rc4 64b 20180212 per-e k:hu,ro,us' {
set OS=boot/porteus/Porteus-LXDE-v4.0rc4-x86_64
linux /$OS/boot/syslinux/vmlinuz from=$OS noswap zram=33% \
changes=EXIT:boot/porteus/v4.0-rc4_c1 \
extramod=boot/porteus/modules kmap=hu,ro,us login=root
initrd /$OS/boot/syslinux/initrd.xz
}

Boot with persistence, using boot/porteus/v4.0-rc4_c1/changes directory:
Code: Select all
# mount
...
tmpfs on /mnt/live/memory/changes type tmpfs (rw,relatime,size=2307128k)
...
# free -m
total used free shared buff/cache available
Mem: 3755 197 3127 70 430 3093
Swap: 1239 0 1239
# du -sm /mnt/sda1/boot/porteus/v4.0-rc4_c1
43 /mnt/sda1/boot/porteus/v4.0-rc4_c1
Code: Select all
# free -m
total used free shared buff/cache available
Mem: 3755 169 3300 24 285 3215
Swap: 1239 0 1239