Results 1 to 6 of 6

Thread: Hibernate ~ Lenovo E325

  1. #1
    Join Date
    Aug 2010
    Location
    UK
    Posts
    432

    Question Hibernate ~ Lenovo E325

    The standard install of 12.3 created a swap partition of 2GB (if I remember correctly?) However, I have 8GB of RAM. Does the swap partition have to equal 8GB (like Ubuntu) to hibernate? The laptop rapidly flashes but never enters hibernation.
    Vintage IBM ThinkPad T21 (my first) laptop 1GHz PIII [T22 heatsink] ~ Silicon Heaven [RIP]
    X250 Lenovo Thinkpad ULV i7 ~ Manjaro GNOME
    C2D Extreme QX9650 Micro ATX Tower (2nd Main Board) ~ openSUSE Tumbleweed KDE/Mint Cinnamon 20.2

  2. #2

    Default Re: Hibernate ~ Lenovo E325

    Quote Originally Posted by fleamour View Post
    The standard install of 12.3 created a swap partition of 2GB (if I remember correctly?) However, I have 8GB of RAM. Does the swap partition have to equal 8GB (like Ubuntu) to hibernate? The laptop rapidly flashes but never enters hibernation.
    Yes, it should be at least as large as your RAM if you want to hibernate, because for hibernation the whole content of your RAM is copied to the swap partition.

  3. #3
    Join Date
    Jun 2008
    Location
    UK
    Posts
    5,500

    Default Re: Hibernate ~ Lenovo E325

    Quote Originally Posted by wolfi323 View Post
    Yes, it should be at least as large as your RAM if you want to hibernate, because for hibernation the whole content of your RAM is copied to the swap partition.
    Hmm, then how is it possible to hibernate on 2GB swap file when I have 3GB RAM, and has worked that way on 12.2, 12.3 at least?

  4. #4
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Hibernate ~ Lenovo E325

    On 2013-12-02 15:06, consused wrote:
    >
    > wolfi323;2604498 Wrote:
    >> Yes, it should be at least as large as your RAM if you want to
    >> hibernate, because for hibernation the whole content of your RAM is
    >> copied to the swap partition.

    > Hmm, then how is it possible to hibernate on 2GB swap file when I have
    > 3GB RAM, and has worked that way on 12.2, 12.3 at least?


    Chance :-)

    It is possible because it is stored compressed, and because you are
    using little or no swap at the start.

    That's why you can try with a small swap. The system tries to hibernate,
    and when it can not fit the used RAM inside, it bails out.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

  5. #5
    Join Date
    Jun 2008
    Location
    UK
    Posts
    5,500

    Default Re: Hibernate ~ Lenovo E325

    Quote Originally Posted by robin_listas View Post
    On 2013-12-02 15:06, consused wrote:
    >
    > wolfi323;2604498 Wrote:
    >> Yes, it should be at least as large as your RAM if you want to
    >> hibernate, because for hibernation the whole content of your RAM is
    >> copied to the swap partition.

    > Hmm, then how is it possible to hibernate on 2GB swap file when I have
    > 3GB RAM, and has worked that way on 12.2, 12.3 at least?


    Chance :-)

    It is possible because it is stored compressed, and because you are
    using little or no swap at the start.
    Yes, it resumes from a compressed image, and informs the console about that. Who wants to be running a home system with loads of swap file usage anyway, especially with 8GB RAM available? (rhetorical question )

  6. #6
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Hibernate ~ Lenovo E325

    On 2013-12-02 15:56, consused wrote:
    >
    > robin_listas;2604519 Wrote:


    > Yes, it resumes from a compressed image, and informs the console about
    > that. Who wants to be running a home system with loads of swap file
    > usage anyway, especially with 8GB RAM available? (rhetorical question
    > )


    Oh, I have 8 GiB RAM (the maximum for my board), and swap is used.

    Code:
    
    > cer@Telcontar:~> free -h
    >              total       used       free     shared    buffers     cached
    > Mem:          7,8G       4,6G       3,2G         0B       225M       2,0G
    > -/+ buffers/cache:       2,5G       5,4G
    > Swap:          20G       2,4G        18G
    > cer@Telcontar:~>

    And consider: if that swap was not allocated, I could not have 2 on
    cache and 3 free. The system would be slower with no swap, contrary to
    what is the common belief.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •