Faster booting

New features which should be implemented in Porteus; suggestions are welcome. All questions or problems with testing releases (alpha, beta, or rc) should go in their relevant thread here, rather than the Bug Reports section.
tome
Contributor
Contributor
Posts: 675
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Russia is causing the immense damage to humanity
Contact:

Faster booting

Post#1 by tome » 27 Jul 2013, 08:36

I have this in my mind:
Hibernate to swap (once) and resume from hibernate (every time) by means of a new entry in bootloader config (resume=). The same data in swap (partition or compressed file) would be used (the same machine) for fast always fresh mode. Furthermore there aren't needed base modules (if copy2ram is used), but maybe should be used physical write protected pendrive with swap and nohd, noauto cheatcodes. Some settings (guest and root folders or desktop files) could be saved in other place (no pendrive) and loaded by paths.xzm (links) module after mounting disk.
Well, my questions:
1. Is this good way for fast booting (ca. 2 times faster for older machines)?
2. If yes can I do it more liberally (without physically protected pendrive) - how can I load data from disk and prevent at the same time swap (and partition with base modules) from changes (noswap doesn't work with resume cheatcode)?
You have mind and feelings. Be wise and clever.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Faster booting

Post#2 by fanthom » 27 Jul 2013, 12:47

interesting idea but i see one big disadvantage:
- you wont be able to run hibernated porteus on different PC as hardware differs and kernel is never initialized when waking up.

if you want to use this method on the same PC then it should work.
how can I load data from disk and prevent at the same time swap (and partition with base modules) from changes (noswap doesn't work with resume cheatcode)?
i think this is not possible although you could change 'swappiness' to reduce swap usage:
http://en.wikipedia.org/wiki/Swappiness
Please add [Solved] to your thread title if the solution was found.

Post Reply