Re: Suspend on swapdisk possible?

Nils Philippsen (nils@rhlx01.rz.fht-esslingen.de)
Wed, 8 Apr 1998 01:03:40 +0200 (MET DST)


Hello,

First I should point out that I don't have an exact clue about the inner
workings of the kernel in general (I'm rather an application programmer, you
know).

On Tue, 7 Apr 1998, Magnus Redin wrote:

> Hi!
>
> I hope this isent a two wierd speculation.

Well - this feature has been announced for NT5.0 so why shouldn't we have it
(first? - as soon as I hack the kernel by myself I'll do such kind
of statements :-), they call it "hibernation", a good name, if you ask me -
the guys in Redmond must have a whole department sitting there just thinking
about names :-)

>
> Would it be possible to store all or most of a "living image" of a
> running system on disk and shut down and boot it nearly instantly?

As far as I can say that should clearly be possible.

> Some laptops can do such things but they have special hardware for it.
> Is there any theoretical way to kind of swap out all processes and

The thought would be to just store the "state" of the processes on disk, i.e.
the memory of the processes pluss program counter, registers, etc. (well -
digging in my memory of OS and computer technics lessons), the code might be
derived from the swapping code was my first though on that...

> then load them back with a modified kernel and continue to run them?
> The system clock will change under the processes feet and most network

Have a system with high load, low RAM and huge swap - most of the processes
will wait minutes if not longer for being serviced - read: this shouldn't be
a problem for the processes (in fact they're expected to work at switch
to/from daylight savings time, too).

> sockets would die but it could stil be usefull and very, very
> impressive.

If we got it earlier than the borgs.

Any comments of someone who has a real clue about this?

Bye, Nils

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nils Philippsen                  @college: nils@rhlx01.rz.fht-esslingen.de
Vogelsangstrasse 115             @home:    nils@wombat.dialup.fht-esslingen.de
D 70197 Stuttgart                phone:    +49-711-6599405
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Wer heute an der Bildung spart, Those who scrimp on education today, hat morgen noch bloedere Politiker. get even dumber politicians tomorrow.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu