[lkml]   [2001]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Switching Kernels without Rebooting?
On Wed, 11 Jul 2001, C. Slater wrote:
>Would anyone else like to point out some other task somewhat related
>and have me do it? :-)
>> > Before you even try switching kernels, first implement a process
>> > checkpoint/restart. The process must be resumed after a boot
>> > using the same
>> > kernel, with all I/O resumed. Now get it accepted into the kernel.
>> Hear, hear! That would be a useful feature, maybe not network servers,
>> but for pure number crunching apps it would save people having to write
>> all the state saving and recovery that is needed now for long term
>> computations.
>Get a computer with hibernation support. That's just about what it is.

Bzzzt wrong anser. Hibernation stops the entire kernel. checkpoint restart
stops processes, saves the entire state of the process. hibernation
is just halt the processor.

>> For bonus points, make it work for clusters to synchronously save and
>> restore state for the apps running on all the nodes at once...
>Bash script.

doesn't work - remember once the kernel is suspended it can't tell
another system that is has done so.

A full checkpoint/restart can potentially allow a process to migrate
from one node to another. It also allows other processing to be done
while the process is checkpointed:

a. how do you reconstruct a software raid 5 while the system
is "suspended"
b. how do you migrate to a different platform if the system is

Answer - you can't.

Jesse I Pollard, II

Any opinions expressed are solely my own.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:57    [W:0.073 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site