Re: new disk layout

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

 



Tim wrote:
On Fri, 2009-07-03 at 23:14 +0700, muhammad panji wrote:
2 G of swap is enough

If you want to do suspend to disc, you need swap space at least as large
as your RAM, as that's where it dumps a copy of memory to while
suspending.

Let me clarify a tad, this is a bit more complex than that...

In suspend to disk, see the output of the 'free' command. The data in the 'buffers' and 'cached' need not be saved, the buffers are written to the filesystem and the cached data are discarded. So the room you really need is the swap in use plus the memory in use. And it gets more complex than that, because the memory is compressed as it's written out (more for speed than size, in practice), so it's really hard to guess how much swap will actually be used.

In practice I agree with you, because it's so hard to get it just right, that it's easier to just match memory size. That's a bit of a waste on a large system, where most of the memory is almost always in use for i/o rather than program, but it's safe.

If you don't want to suspend to disc, then you can size your swap space
according to other rules.



--
Bill Davidsen <davidsen@xxxxxxx>
  "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[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