Re: Swap

Bennett Piater <[email protected]>
Newsgroups gmane.linux.debian.user.laptop
Message-ID <[email protected]>
> I am curious: why and how?  IIUC, neither suspend nor hibernate use
> swap.  Or have I misunderstood?
> 
> Hibernate, in particular, saves everything to disk so RAM should not be
> an issue.  I could see, maybe, how suspend may need some swap, mind you,
> as it does use RAM but very little over and above what is currently
> being used by the running programs?

You misunderstood something.

Hibernate does need swap, because hibernate means that *the entire
content of your RAM is saved in the swap* and reloaded from there when
power resumes.

Suspend OTOH does not need swap, because the state is kept in RAM.
That's why suspend needs a little bit of power: RAM needs powe, or it
will loose it's memory.

Cheers,
Bennett

-- 
GPG fingerprint: 871F 1047 7DB3 DDED 5FC4 47B2 26C7 E577 EF96 7808
signature.asc (application/pgp-signature, 538 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJWs51GAAoJECbH5XfvlngIozcH/AsoqGvCbyJ6Etfv5GNG9Vzw
99YaYDamv7l0w1zd8JRFG9y7RqEq3R2pimd3R5tW0uVMajOpc4atk/morwCYvBzC
2Qiy0oMaHeWVXZwnrRSxhl5XqtiwdrZU1GdBzrBILHRTA8hG1sZnkGRLV2pLqsRF
obl+Pj5KfWaZL6A0ar98KQV3IqGDPK3hMDxdEPJXhWAxK9oSUzUuPuqglf5Wje9g
q3RrNq3w04mw8LN6QpNZOad6Ipgv3cVLJ9LOqULwYTwDN5+pu3+SgsWzUPFekOgK
aGj4jJfO9z9jH6qEhl920bSvCLGlkNIV7zHGBpwhCp3SGEF0Q47smhFQhoj8nfU=
=HMg0
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.