Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

I used http://criu.org/ a while ago to do this for Clojure REPLs


view as:

Looks really nice except having to compile custom Kernels I guess.

but it is in user space, why the need for compile kernel?

Some distros (e.g Arch) don't have CONFIG_CHECKPOINT_RESTORE enabled by default.

Did it change the startup time significantly?

Yeah, it was much faster than starting up the normal way, at least for a small heap (213 ms to restore 128MB on an E5645). I didn't pursue it further because it required root (not sure if it still does) and would've required writing some kind of snapshot manager.

They're adding integration in with Docker too for Criu: http://criu.org/Docker

Here's a fun example of it in action: http://blog.kubernetes.io/2015/07/how-did-quake-demo-from-do...


Legal | privacy