[CRIU] pages-img is too large

Andrei Vagin avagin at gmail.com
Mon Sep 23 23:04:58 MSK 2019


On Sun, Sep 22, 2019 at 2:34 PM Tong Xing <txing1 at stevens.edu> wrote:
>
> Hi
>         Recently I am working on a project, we have use criu to dump the program. We find out the program will allocate a huge page but a lot of it are useless, but criu will dump all the page info which create a huge pages-img base on the program mem allocate. Is there anyway we can tell criu to dump only the used part of pages.

You can call madvise(MADV_DONTNEED) for all useless memory and criu
will not dump it. Will it work for you? If it doesn't, maybe you can
write more details about your workload.

I would recommend you to read this:
https://rodrigo-bruno.github.io/publications/rbruno-middleware16.pdf .

Thanks,
Andrei

>
> Thanks
> Tong
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu



More information about the CRIU mailing list