Re: Linux hibernation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/15/2011 3:58 PM, Mulyadi Santosa wrote:
> On Tue, Mar 15, 2011 at 14:50, Michelle Konzack
> <linux4michelle@xxxxxxxxxxxxxxx>  wrote:
>> You have 2,75 GByte of Memory + 256 MByte of Graphic Ram right?
>>
>> If your system use the the SWAP partition to  hybernate,  then  it  will
>> fail, because it has to do a "swapoff" and write  the  contents  of  the
>> SWAP to memory.
>>
>> In clear, you are currently using
>>
>>     4096 MByte RAM + 374 MByte SWAP - 249 MByte Free
>>
>>     = 4221 MByte = 4,12 GByte
>>
>> which is to much o fit into memory.
> hm, CMIIW, but I think you also count page cache above...that's
> discardable...i.e kernel will push them back into backing disc... so,
> they're not really counted... only anonymous pages, locked pages and
> similar ones which is swaped out...
>
     Some pages that are not necessary to be saved are also counted. 
This can be proved by doing :

     echo 3 > /proc/sys/vm/drop_caches

     before you hibernate. You can get smaller image size after that.

Jacky

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux