Thread (35 messages) 35 messages, 8 authors, 2008-10-20

Re: [RFC v6][PATCH 0/9] Kernel based checkpoint/restart

From: Cedric Le Goater <hidden>
Date: 2008-10-17 06:44:56
Also in: lkml

Oren> For now, yes. But we definitely want this capability in the long
Oren> run; otherwise we won't be able to checkpoint a kernel compile
Oren> ('make' uses vfork), or anything with 'gdb' running inside, or
Oren> 'strace', and other goodies.

The strace/gdb example is *really* hard; but for vfork, you just wait
until it's over. The interval between vfork and exec/exit should be
short enough not to affect the overall time for a checkpoint (and
checkpoint can be fairly slow anyway --- on the HPC machines we used
to do it on, writing half a terabyte of checkpoint image to disc could take
many minutes.  In hindsight, we should have multithreaded it).
we've tried that and it doesn't change a thing if you have only one disk :)
it might even give worse results as you are increasing context switches.
Waiting for a vforked process to exec is less than a millisecond.
yes that shouldn't be too hard to handle.

Cheers,

C.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help