5309c0 Include the memory overhead cost of cryptsetup when estimating the memory requirement for LUKS-encrypted target

1 file Authored by Coiby Xu 2 years ago, Committed by liutgnu 2 years ago,
1 file changed. 12 lines added. 2 lines removed.
    Include the memory overhead cost of cryptsetup when estimating the memory requirement for LUKS-encrypted target
    
    Resolves: bz2076206
    Upstream: Fedora
    Conflict: None
    
    commit 6ce4b85bb3ed6c97beda9ee4774e0924afbbf58a
    Author: Coiby Xu <coxu@redhat.com>
    Date:   Mon Sep 5 18:08:44 2022 +0800
    
        Include the memory overhead cost of cryptsetup when estimating the memory requirement for LUKS-encrypted target
    
        Currently, "kdumpctl estimate" neglects the memory overhead cost of
        cryptsetup itself. Unfortunately, there is no golden formula to
        calculate the overhead cost [1]. So estimate the overhead cost as 50M
        for aarch64 and 20M for other architectures based on the following
        empirical data,
    
        | Overhead (M) | OS                                        | arch    |
        | ------------ | ----------------------------------------- | ------- |
        | 14.1         | RHEL-9.2.0-20220829.d.1                   | ppc64le |
        | 14           | Fedora-37-20220830.n.0 Everything ppc64le | ppc64le |
        | 17           | Fedora 36                                 | ppc64le |
        | 8.8          | Fedora 35                                 | s390x   |
        | 10.1         | Fedora-Rawhide-20220829.n.0, fc38         | s390x   |
        | 42           | Fedora-Rawhide-20220829.n.0, fc38         | arch64  |
        | 40           | F35                                       | arch64  |
        | 42           | F36                                       | arch64  |
        | 42           | Fedora-Rawhide-20220901.n.0               | arch64  |
        | 10           | F35                                       | x86_64  |
        | 10           | Fedora-Rawhide-20220901.n.0               | x86_64  |
        | 11           | Fedora-Rawhide-20220901.n.0               | x86_64  |
    
        [1] https://lore.kernel.org/cryptsetup/20220616044339.376qlipk5h2omhx2@Rk/T/#u
    
        Fixes: e9e6a2c ("kdumpctl: Add kdumpctl estimate")
        Signed-off-by: Coiby Xu <coxu@redhat.com>
        Reviewed-by: Philipp Rudo <prudo@redhat.com>
    
    Signed-off-by: Coiby Xu <coxu@redhat.com>
    
        
file modified
+12 -2