Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mem: optimize debug logging of enqueued pages #2389

Merged
merged 1 commit into from
Apr 16, 2024

Commits on Apr 16, 2024

  1. mem: optimize debug logging of enqueued pages

    During restore, CRIU prints "Enqueue page-read" messages for
    each page-read request [1]. However, this message does not
    provide useful information, increases performance overhead
    during restore and the size of log file.
    
    $ ./zdtm.py run -t zdtm/static/maps06 -f h -k always
    $ grep 'Enqueue page-read' dump/zdtm/static/maps06/56/1/restore.log | wc -l
    20493
    
    This commit replaces these log messages with a single message
    that shows the number of enqueued page-read requests.
    
    $ grep 'enqueued' dump/zdtm/static/maps06/56/1/restore.log
    (00.061449)     56: nr_enqueued:   20493
    
    [1] checkpoint-restore@91388fc
    
    Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
    rst0git committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    21ce826 View commit details
    Browse the repository at this point in the history