Re: Suspend-To-Disk / Hibernate hypothetical question

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

 



On Wed, Oct 11, 2006 at 09:53:23AM -0400, Kevin Flynn wrote:
 > My understanding is that hibernation is achieved by copying the contents of 
 > (used?) RAM to the system swap disk partition.
 > 
 > Hypothetical question:  What if the total memory (physical + swap) in use 
 > exceeds the size of the swap space?  How can hibernation then occur?
 
Before it starts writing out data to the swap partition, the kernel
discards a bunch of cached data, so it's never writing out the total
amount of physical memory.   This said, it's still possible for you
to completely fill memory with pages that the kernel can't purge.
If you then attempt to suspend, the kernel will try, fail, and then abort
if there is insufficient swap space.

	Dave

-- 
http://www.codemonkey.org.uk

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux