• [^] # Re: Batterie

    Posté par (Mastodon) . En réponse au journal Laptop Frame.Work 13 pouces. Évalué à 5.

    La question n'est pas combien de RAM tu es mais combien tu en utilises.

    Les 2/5 c'est ce que le kernel va chercher à obtenir, mais si tu utilises 22GB de RAM il ne va pas y arriver:

    image_size

    This file controls the size of hibernation images.

    It can be written a string representing a non-negative integer that will be used as a ͟b͟e͟s͟t͟-͟e͟f͟f͟o͟r͟t͟ ͟u͟p͟p͟e͟r͟ ͟l͟i͟m͟i͟t͟ of the image size, in bytes. The hibernation core will do its best to ensure that the image size will not exceed that number, but if that turns out to be impossible to achieve, a hibernation image will still be created and its size will be as small as possible. In particular, writing '0' to this file causes the size of hibernation images to be minimum.

    Reading from it returns the current image size limit, which is set to around 2/5 of the available RAM size by default.