JUL
26
2006

Slashing startup time, again

In a thread filled with complaints about problems with (sw)suspend in Linux I found a link to CryoPID - A Process Freezer for Linux.

If you know this, forgive me. Let's look at slashing KDE apps startup time. Again. I am referring to topics covered in this thread.

What's (relatively) new?

From the project page:

"CryoPID allows you to capture the state of a running process in Linux and save it to a file. This file can then be used to resume the process later on, either after a reboot or even on another machine."

Example improvement for KMail startup time could be obvious (but may be a nonsense for this app after moving to Akonadi's storage backend, but who knows). CryoPID authors mention a case for other mail program:

"mutt - You have a huge inbox with 30000 emails that you don't want to have to close mutt and reopen to check your email. You also don't want to leave it running in the interests of memory consumption. Ensure you sync your mutt before saving it to a file, and the just resume it later. Et voila."

Other use case could be to implement saving sessions for Konqueror (with all tabs and contents) as it's available for Mozilla with the Tab Extension. Using the CryoPID there is even no need to re-render the web pages, although these can be outdated after the resume...

RFC...

Comments

That sounds awesome! It's like a golden key to improve start up times to almost zero.

But, how well does it work? How stable is it, how maintainable the code?

The long term idea could be to use it in a way that various applications are not closed anymore but just frozen and unfrozen again to work with them.
This could be used to freeze whole sessions and up to half of the operating system :)


By liquidat at Wed, 07/26/2006 - 22:34