Re: Is swap really needed when RAM's aplenty

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/18/2010 07:00 PM, Sam Varshavchik wrote:
> I'll probably have a new server with 16 gigs of RAM on the way, soon.
> 
> With this amount of RAM being sufficient, do I really need a swap partition set
> up? I do understand that a swap partition is needed for hibernation, but this
> server does not need to hibernate.

If the memory gets fragged and the kernel wants to defrag, e.g. for a memory
request from an application, in order to defrag any "dirty" data portions (those
pages that have been written to), the kernel *requires* there to be swap.
Otherwise there is no place to write the dirty pages out, in order to read them
in elsewhere.

code pages, of course, can just be conveniently "forgotten", and re-read back in
on demand. Data must be written to swap. Removing swap, removes this possibility
from the kernel. This might not be a problem for you. It depends upon your work
load and their memory footprint requirements.

- -Greg

- -- 
+---------------------------------------------------------------------+

Please also check the log file at "/dev/null" for additional information.
                (from /var/log/Xorg.setup.log)

| Greg Hosler                                   ghosler@xxxxxxxxxx    |
+---------------------------------------------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkxscnUACgkQ404fl/0CV/QMkACcDMezKiJL8AUMJSJBUSqxobAP
sQIAn0P2znaJ/6k95fwh9QtU3vwuoFNz
=cmmG
-----END PGP SIGNATURE-----
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux